Map of Morocco in GeoJSON format
A map built from OpenStreetMap data, ready to download
Customize the map
Open this place's area in the constructor and adjust everything to your needs
Open in constructor →Map passport
What this map contains by default
This is how the map is built as-is — every setting can be changed in the constructor.
About GeoJSON
Map of Morocco in GeoJSON: 256 056 km of roads, 2% green areas — in the WGS 84 coordinate system, units are meters.
Which layers are in the file
This file for the selected area contains:
- Roads
- Water
- Greenery
Geometry by layer
- Roads — lines (LineString) with OpenStreetMap tags
- Water — waterbody polygons and watercourse lines with tags
- Greenery — green-zone polygons with tags
What the file carries
The GeoJSON file for Morocco: the whole map comes as a single file, the file is plain text and opens in any editor, all features lie in one collection, and the source layer name stays in the _layer field, OpenStreetMap tags are kept as feature attributes.
File size
The expected size of the GeoJSON file for Morocco is about 18.1 MB; the exact size depends on the chosen layers and area.
Coordinate systems
WGS 84 (EPSG:4326), selectable in the wizard
Compatibility
Units
Meters (projected in the chosen coordinate system)
| Category | GIS |
| File extension | .geojson |
| Tier | Free |
What's in Morocco
559,693 buildings (39,580 residential, 1,210 commercial, 595 industrial, 624 religious), 256,055.8 km of roads, 59,545 points of interest, 200 landmarks.
The area covers 661,864 km², with about 1 buildings per km².
Mostly unclassified roads 81,835.3 km, tertiary roads 65,945.3 km, residential streets 53,676.2 km.
1.6% of the area is green space.
The map marks 527 parks and 1,050 water bodies.
Key amenities: schools — 3,446, pharmacies — 6,749, department stores — 1,049.
Public transport: 10,200 bus stops, 392 tram stops, 159 rail stations.
Main streets: La Rocade Méditerranéenne الطريق الساحلية المتوسطية, الطريق الجهوي 702, الطريق الجهوي 108, الطريق الجهوي رقم 606, الطريق الجهوي رقم 105
Landmarks: Centre Culturel Ibn Khaldoune, Museum of Ceramics, Maison Traditionnelle, Le Musée Régional de la Résistance et de l'Armée de Liberation, Museum of Amazigh Culture
How to use GeoJSON for Morocco
- Select the Morocco area on the map
- Export to GeoJSON
- Load into QGIS, Mapbox Studio, or kepler.gl
- Use for analysis, filtering, and visualization
Programs that open GeoJSON
FAQ: GeoJSON for Morocco
How to open GeoJSON?
GeoJSON opens in QGIS, geojson.io, Mapbox Studio, kepler.gl, or any text editor — it's just JSON.
Is GeoJSON suitable for large areas?
For large areas, GeoPackage or FlatGeobuf is better — they're more compact and load faster.
