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