Madrid (Madrid Community) Map Cropping Samples

Madrid (Madrid Community) Map Cropping Samples-1
Madrid (Madrid Community) Map Cropping Samples-1

Madrid (Madrid Community) Map Cropping Samples-2
Madrid (Madrid Community) Map Cropping Samples-2

Madrid and counties map with 3D shadow effect
Madrid and counties map with 3D shadow effect

flag map of Madrid with 3D shadow effect
flag map of Madrid with 3D shadow effect

Download outline map of Madrid (geojson format) : Madrid.geojson (**)
Download polygon array of Madrid map for "Google Maps" : Madrid.txt
Bounding Box for Madrid Map : ( 39.884719334 , -4.579076175 , 41.165844755 , -3.052983314 )
Wikipedia ID for Madrid : Q5756
Wikipedia SPARQL Query for Madrid (population,elevation,area,lat,long, postal code,licence plate) :
SELECT ?population ?elevation ?area ?latitude ?longitude ?postal_code ?license_plate
WHERE {
OPTIONAL { wd:Q5756 wdt:P1082 ?population. }
OPTIONAL { wd:Q5756 wdt:P2044 ?elevation. }
OPTIONAL { wd:Q5756 wdt:P2046 ?area. }
OPTIONAL { wd:Q5756 wdt:P281 ?postal_code. }
OPTIONAL { wd:Q5756 wdt:P395 ?license_plate. }
OPTIONAL {
wd:Q5756 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 Madrid map
[out:json];
(
relation["boundary"="administrative"]["admin_level"~"4|5|6"](39.884719334, -4.579076175, 41.165844755, -3.052983314);
);
out geom;

Run this query on overpass-turbo (Click RUN button on the opened page!)

Get Boundaries from overpass-turbo (OSM) with place name (Madrid)
[out:json];
(
rel["name"="Madrid"][type=boundary];
rel["name:en"="Madrid"][type=boundary];
);
out geom;

Run this query on overpass-turbo (Click RUN button on the opened page!)

Notes:
- You can download geometry data for Madrid 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.

Create Madrid counties and neighborhoods map.


Share this page