Map of Marrakech-Safi in PostGIS SQL 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

Area39 010 km²
Buildings469 581
Roads39 602 km
Points of interest4 850

What this map contains by default

This is how the map is built as-is — every setting can be changed in the constructor.

FormatPostGIS SQL .sql
LayersRoads, Buildings, Water, Greenery, Points of interest change
Stylestandard change
Detailoverview (auto) change
House numbersnot visible at this scale change
Points of interestnot visible at this scale change
Coordinate systemWGS 84 (auto) change
Sheet sizeauto change
Relief & gridoff change

About PostGIS SQL

Map of Marrakech-Safi in PostGIS SQL — an export of real OpenStreetMap data for the selected area.

PostGIS SQL is a geodata dump as an SQL script for PostgreSQL/PostGIS. CREATE TABLE + INSERT with geometry for direct database import.

Which layers are in the file

This file for the selected area contains:

Coordinate systems

WGS 84 (EPSG:4326), selectable in the wizard

Compatibility

PostgreSQL/PostGISpsqlpgAdminDBeaverDataGrip

Units

Meters (projected in the chosen coordinate system)

CategoryGIS
File extension.sql
TierFree

What's in the PostGIS SQL map of Marrakech-Safi

469,581 buildings (38,718 residential, 258 commercial, 67 industrial, 94 religious), 39,602.3 km of roads, 4,850 points of interest, 15 landmarks.

The area covers 39,010 km², with about 12 buildings per km².

Mostly unclassified roads 18,152.4 km, tertiary roads 8,880.5 km, residential streets 6,618.1 km.

6.9% of the area is green space.

The map marks 5 parks and 10 water bodies.

Key amenities: schools — 91, pharmacies — 843, convenience stores — 170.

Public transport: 1,681 bus stops, 10 tram stops, 14 rail stations.

Main streets: الطريق الإقليمي رقم 3403, Avenue Essaouira طريق الصويرة, الطريق الإقليمي رقم 2101, Avenue Hassan II شارع الحسن الثاني, Tahannaout-Ourika

Landmarks: Musée Tiskiwin, Ecomuseé Berbere, Galerie Sinya 28, Musée de l'Art Culinaire Marocain, Woven History Museum

How to use PostGIS SQL for Marrakech-Safi

  1. Select the Marrakech-Safi map area on the main page
  2. Choose PostGIS SQL format and configure export settings
  3. Click Export and wait for processing
  4. Download the file and use in your application

Programs that open PostGIS SQL

PostgreSQL/PostGISpsqlpgAdminDBeaverDataGrip

Other formats for Marrakech-Safi

All 126 formats for Marrakech-Safi →

PostGIS SQL for nearby places

All formats for Marrakech-Safi