Greater Casablanca (Morocco) Map Cropping Samples

Greater Casablanca (Morocco) Map Cropping Samples-1
Greater Casablanca (Morocco) Map Cropping Samples-1

Greater Casablanca (Morocco) Map Cropping Samples-2
Greater Casablanca (Morocco) Map Cropping Samples-2

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

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

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

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

Notes:
- You can download geometry data for Greater Casablanca 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 Greater Casablanca counties and neighborhoods map.


Share this page