Morocco Map Cropping Samples

Morocco  Map Cropping Samples-1
Morocco Map Cropping Samples-1

Morocco  Map Cropping Samples-2
Morocco Map Cropping Samples-2

Download outline map of Morocco (geojson format) : Morocco.geojson (**)
Download polygon array of Morocco map for "Google Maps" : Morocco.txt
Bounding Box for Morocco Map : ( 21.417183 , -17.021574 , 35.922717 , -0.996976 )
Wikipedia ID for Morocco : Q1028
Wikipedia SPARQL Query for Morocco (population,elevation,area,lat,long, postal code,licence plate) :
SELECT ?population ?elevation ?area ?latitude ?longitude ?postal_code ?license_plate
WHERE {
OPTIONAL { wd:Q1028 wdt:P1082 ?population. }
OPTIONAL { wd:Q1028 wdt:P2044 ?elevation. }
OPTIONAL { wd:Q1028 wdt:P2046 ?area. }
OPTIONAL { wd:Q1028 wdt:P281 ?postal_code. }
OPTIONAL { wd:Q1028 wdt:P395 ?license_plate. }
OPTIONAL {
wd:Q1028 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 Morocco : MA

Get Boundaries from overpass-turbo (OSM) with boundary box of Morocco map
[out:json];
(
relation["boundary"="administrative"]["admin_level"~"2|3|4"](21.417183, -17.021574, 35.922717, -0.996976);
);
out geom;

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

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

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

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

Share this page