Download outline map of Tarragona (geojson format) :
Tarragona.geojson (**)
Download polygon array of Tarragona map for "Google Maps" :
Tarragona.txt
Bounding Box for Tarragona Map : ( 40.523046521 , 0.159070266 , 41.582606314 , 1.653151317 )
Wikipedia ID for Tarragona : Q5705
Wikipedia SPARQL Query for Tarragona (population,elevation,area,lat,long, postal code,licence plate) :
SELECT ?population ?elevation ?area ?latitude ?longitude ?postal_code ?license_plate
WHERE {
OPTIONAL { wd:Q5705 wdt:P1082 ?population. }
OPTIONAL { wd:Q5705 wdt:P2044 ?elevation. }
OPTIONAL { wd:Q5705 wdt:P2046 ?area. }
OPTIONAL { wd:Q5705 wdt:P281 ?postal_code. }
OPTIONAL { wd:Q5705 wdt:P395 ?license_plate. }
OPTIONAL {
wd:Q5705 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
Get Boundaries from overpass-turbo (OSM) with boundary box of Tarragona map
[out:json];
(
relation["boundary"="administrative"]["admin_level"~"4|5|6"](40.523046521, 0.159070266, 41.582606314, 1.653151317);
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Get Boundaries from overpass-turbo (OSM) with place name (Tarragona)
[out:json];
(
rel["name"="Tarragona"][type=boundary];
rel["name:en"="Tarragona"][type=boundary];
);
out geom;
Run this query on overpass-turbo (Click RUN button on the opened page!)
Notes:
- You can download geometry data for Tarragona 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.