Download outline map of Saint John (geojson format) :
Saint John.geojson (**)
Download polygon array of Saint John map for "Google Maps" :
Saint John.txt
Bounding Box for Saint John Map : ( 17.042856 , -61.894154 , 17.168769 , -61.774209 )
Wikipedia ID for Saint John : Q548816
Wikipedia SPARQL Query for Saint John (population,elevation,area,lat,long, postal code,licence plate) :
SELECT ?population ?elevation ?area ?latitude ?longitude ?postal_code ?license_plate
WHERE {
OPTIONAL { wd:Q548816 wdt:P1082 ?population. }
OPTIONAL { wd:Q548816 wdt:P2044 ?elevation. }
OPTIONAL { wd:Q548816 wdt:P2046 ?area. }
OPTIONAL { wd:Q548816 wdt:P281 ?postal_code. }
OPTIONAL { wd:Q548816 wdt:P395 ?license_plate. }
OPTIONAL {
wd:Q548816 p:P625 ?coordinate.
?coordinate psv:P625 ?coordinate_node.
?coordinate_node wikibase:geoLatitude ?latitude.
?coordinate_node wikibase:geoLongitude ?longitude.
}
}
Run this SPARQL Query on Wikidata Page (Click RUN button on the opened page!)
Run this Query with SPARQL API
ISO-3166 CODE for Saint John : AG-04
Get Boundaries from overpass-turbo (OSM) with boundary box of Saint John map
[out:json];
(
relation["boundary"="administrative"]["admin_level"~"4|5|6"](17.042856, -61.894154, 17.168769, -61.774209);
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Get Boundaries from overpass-turbo (OSM) with place name (Saint John)
[out:json];
(
rel["name"="Saint John"][type=boundary];
rel["name:en"="Saint John"][type=boundary];
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Notes:
- You can download geometry data for Saint John in various formats (Geojson,KML,GPX,raw OSM data) by clicking export button on the overpass-turbo
- You can freely use the jpeg type map images you created on the "map cropping" page or downloaded from the "samples" pages.
- (**)
Terms of Use for downloaded geojson files.