Morocco

Extracts data of Morocco from the OpenstreetMaps project for free

Main files

  • [morocco.pbf] - for osm2pgsql, Osmium, Osmosis, imposm, mkgmap, and others. This file was last modified -08 hours ago and contains all OSM data up to June 15 2024 11:59:25. File size: 198.58MB; MD5 sum: 1bd93b4b5225e42b4e6d9899ed145c62.

Additional Files

Prepared geodata of Morocco in the SHP format

You are getting:

  • Fresh geo data from the Openstreetmap project in ESRI Shape format
  • If necessary, we can provide data in the following formats: GeoPackage, GeoJSON, CSV, TAB
  • Ready-made project for the QGIS 3 mapping program
  • Styles for all layers
  • 150+ icons

Sample of map

 

 

Morocco map layers

Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • religion — religion field value
  • amenity — amenity field value
  • landuse — landuse field value
  • leisure — leisure field value
  • sport — sport field value
  • type — type field value
  • way — Geometry
Amenity (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • religion — religion field value
  • amenity — amenity field value
  • landuse — landuse field value
  • leisure — leisure field value
  • sport — sport field value
  • type — type field value
  • way — Geometry
Amenity (points)
Fields of layer:
  • osm_id — ID in OSM base
  • barrier — barrier field value
  • way — Geometry
Barriers (lines)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • admin_level - Grade of administrative level
  • way — Geometry
Boundary (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • admin_level - Grade of administrative level
  • way — Geometry
Boundary (lines)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • building — building field value
  • b_level — building:levels field value
  • a_numb — addr:housenumber field value
  • way — Geometry
Building
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • building — building field value
  • b_level — building:levels field value
  • a_numb — addr:housenumber field value
  • way — Geometry
Buildings (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • natural — Natural field value
  • landuse — Landuse field value
  • wood — Wood field is not null
  • leisure — Leisure field value
  • way — Geometry
Surfaces and land use
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • leisure — leisure field value
  • way — Geometry
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • leisure — leisure field value
  • way — Geometry
Leisure (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • man_made — man_made field valu
  • tower_type — tower:type field value
  • way — Geometry
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • natural — natural field value
  • way — Geometry
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • AMENITY — AMENITY field value
  • way — Geometry
Parking (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • AMENITY — AMENITY field value
  • way — Geometry
Parking (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • place — place field value
  • official_s — official_status field value
  • POPULATION — POPULATION field value
  • way — Geometry
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • place — place field value
  • official_s — official_status field value
  • POPULATION — POPULATION field value
  • is_capital — is_capital field value
  • admin_level — Administrative grade value
  • capital — capital field value
  • way — Geometry
Places (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • POWER — POWER field value
  • VOLTAGE — VOLTAGE field value
  • way — Geometry
Power lines
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • POWER — POWER field value
  • VOLTAGE — VOLTAGE field value
  • way — Geometry
Power line towers
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • RAILWAY — RAILWAY field value
  • way — Geometry
Railway platforms
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • RAILWAY — RAILWAY field value
  • traction — traction field value
  • service — service field value
  • BRIDGE — BRIDGE field value
  • TUNNEL — TUNNEL field value
  • way — Geometry
Railways
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • RAILWAY — RAILWAY field value
  • public_transport — public_transport field value
  • tram — tram field value
  • station — station field value
  • way — Geometry
Railways (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • religion — religion field value
  • way — Geometry
Religion (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • religion — religion field value
  • way — Geometry
Religion (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • ref — ref field value
  • HIGHWAY — HIGHWAY field value
  • way — Geometry
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • ref — ref field value
  • HIGHWAY — HIGHWAY field value
  • cycle — cycle field value
  • horse — horse field value
  • foot — foot field value
  • lanes — lanes field value
  • toll — toll field value
  • width — width field value
  • way — Geometry
Roads
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • HIGHWAY — HIGHWAY field value
  • railway — railway field value
  • way — Geometry
Road infrastructure
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • shop — shop field value
  • way — Geometry
Shop (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • shop — shop field value
  • way — Geometry
Shops (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • sport — sport field value
  • way — Geometry
Sport (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • sport — sport field value
  • way — Geometry
Sport (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • TOURISM — TOURISM field value
  • information — information field value
  • historic — historic field value
  • way — Geometry
Tourism (areas)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • TOURISM — TOURISM field value
  • information — information field value
  • historic — historic field value
  • way — Geometry
Tourism (points)
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • ROUTE — ROUTE field value
  • REF — REF field value
  • OPERATOR — OPERATOR field value
  • way — Geometry
Routes
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • WATERWAY — WATERWAY field value
  • way — Geometry
Streams and ditches
Fields of layer:
  • osm_id — ID in OSM base
  • name — Local name
  • name_en — Name in English
  • natural — Natural field value
  • landuse — Landuse field value
  • water — Water field is not null
  • waterway — Waterway field value
  • way — Geometry
Lakes, swamps and large rivers
Fields of layer:
  • id — Local ID
Coastline
Fields of layer:
  • id — Local ID
Land border
Fields of layer:
  • id — Local ID
Ocean border

Legend of map of Morocco and sample project

Statistics on objects in the Morocco

NameTypeOSM TagCount
Countrieslinesadmin_level = '2'380
Administrative level 4linesadmin_level = '4'699
Administrative level 5linesadmin_level = '5'1180
Administrative level 6linesadmin_level = '6'2476
Administrative level 8linesadmin_level = '8'3351
Administrative level 9linesadmin_level = '9'19
Administrative level 10linesadmin_level = '10'173
.$row2[6].
NameTypeOSM TagCount
Countriespolygonsadmin_level = '2'12
Administrative level 4polygonsadmin_level = '4'94
Administrative level 5polygonsadmin_level = '5'144
Administrative level 6polygonsadmin_level = '6'525
Administrative level 8polygonsadmin_level = '8'1619
Administrative level 9polygonsadmin_level = '9'3
Administrative level 10polygonsadmin_level = '10'61
Placespolygonsplace = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling'296
.$row2[6].
NameTypeOSM TagCount
Citypolygonsplace = 'city'15
Townpolygonsplace = 'town'17
Villagepolygonsplace = 'village'110
Hamletpolygonsplace = 'hamlet'52
Localitypolygonsplace = 'locality'10
Suburbpolygonsplace = 'suburb'32
Islandpolygonsplace = 'island'1
Farmpolygonsplace = 'farm'32
Isolated dwellingpolygonsplace = 'isolated_dwelling'27
NameTypeOSM TagCount
Buildingpointsbuilding is not ''504
.$row2[6].
NameTypeOSM TagCount
Buildingpolygonsbuilding is not ''359336
Dominantspolygonsbuilding = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university'818
Schools and kindergartenspolygonsbuilding = 'school' / building = 'kindergarten'787
Under constructionpolygonsbuilding = 'construction'49
.$row2[6].
NameTypeOSM TagCount
bicycle parkingpointsamenity = 'bicycle_parking'32
policepointsamenity = 'police'236
fire stationpointsamenity = 'fire_station'24
post boxpointsamenity = 'post_box'44
post officepointsamenity = 'post_office'869
telephonepointsamenity = 'telephone'86
librarypointsamenity = 'library'70
townhallpointsamenity = 'townhall'51
courthousepointsamenity = 'courthouse'23
prisonpointsamenity = 'prison'6
embassypointsamenity = 'embassy' / office = 'diplomatic'59
community centrepointsamenity = 'community_centre'75
nursing homepointsamenity = 'nursing_home'23
arts centrepointsamenity = 'arts_centre'6
cemeterypointsamenity = 'grave_yard' / landuse = 'cemetery'18
marketplacepointsamenity = 'marketplace'153
recyclingpointsamenity = 'recycling'6
universitypointsamenity = 'university'19
schoolpointsamenity = 'school'1004
kindergartenpointsamenity = 'kindergarten'35
collegepointsamenity = 'college'74
pharmacypointsamenity = 'pharmacy'6563
hospitalpointsamenity = 'hospital'67
clinicpointsamenity = 'clinic'146
doctorspointsamenity = 'doctors'474
dentistpointsamenity = 'dentist'190
veterinarypointsamenity = 'veterinary'32
theatrepointsamenity = 'theatre'21
nightclubpointsamenity = 'nightclub'30
cinemapointsamenity = 'cinema'48
swimming poolpointsamenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park'104
restaurantpointsamenity = 'restaurant'2935
fast foodpointsamenity = 'fast_food'776
cafepointsamenity = 'cafe'4902
pubpointsamenity = 'pub'30
bar, biergartenpointsamenity = 'bar' / amenity = 'biergarten'554
food courtpointsamenity = 'food_court'8
shelterpointsamenity = 'shelter'28
car rentalpointsamenity = 'car_rental'278
car washpointsamenity = 'car_wash'200
car sharingpointsamenity = 'car_sharing'4
bicycle rentalpointsamenity = 'bicycle_rental'19
bankpointsamenity = 'bank'2368
atmpointsamenity = 'atm'1115
toiletspointsamenity = 'toilets'206
benchpointsamenity = 'bench'169
drinking waterpointsamenity = 'drinking_water'378
fuelpointsamenity = 'fuel'1463
bus stationpoints/polygonsamenity = 'bus_station'734
taxipoints/polygonsamenity = 'taxi'240
airportpoints/polygonsamenity = 'airport' / aeroway = 'aerodrome' + type is not 'airstrip'1
ferry terminalpoints/polygonsamenity = 'ferry_terminal'18
.$row2[6].
NameTypeOSM TagCount
Christian churchespointsamenity = 'place_of_worship' + religion = 'christian'25
Synagoguepointsamenity = 'place_of_worship' + religion = 'jewish'10
Mosquepointsamenity = 'place_of_worship' + religion = 'muslim'947
Hindu templepointsamenity = 'place_of_worship' + religion = 'hindu'1
Taoist templepointsamenity = 'place_of_worship' + religion = 'taoist'1
.$row2[6].
NameTypeOSM TagCount
playgroundpoints/polygonsleisure = 'playground'141
sports centrepoints/polygonsleisure = 'sports_centre'73
stadiumpoints/polygonsleisure = 'stadium'5
trackpointsleisure = 'track'1
marinapointsleisure = 'marina'20
slipwaypointsleisure = 'slipway'4
golf coursepointsleisure = 'golf_course'2
.$row2[6].
NameTypeOSM TagCount
supermarket, generalpointsshop = 'supermarket' / shop = 'general'511
bakerypointsshop = 'bakery'416
kioskpointsshop = 'kiosk'70
mallpointsshop = 'mall'20
department storepointsshop = 'department_store'1065
conveniencepointsshop = 'convenience'1289
clothespointsshop = 'clothes'801
floristpointsshop = 'florist'28
chemistpointsshop = 'chemist'37
bookspointsshop = 'books'208
butcherpointsshop = 'butcher'473
shoespointsshop = 'shoes'115
alcohol, beveragespointsshop = 'alcohol' / shop = 'beverages'185
opticianpointsshop = 'optician'193
jewelrypointsshop = 'jewelry'91
giftpointsshop = 'gift'151
sportspointsshop = 'sports'385
stationerypointsshop = 'stationery'41
outdoorpointsshop = 'outdoor'16
mobile phonepointsshop = 'mobile_phone'282
toyspointsshop = 'toys'18
newsagentpointsshop = 'newsagent'39
greengrocerpointsshop = 'greengrocer'158
beautypointsshop = 'beauty'93
videopointsshop = 'video'3
carpointsshop = 'car'185
bicyclepointsshop = 'bicycle'39
doityourself, hardwarpointsshop = 'doityourself' / shop = 'hardware'141
furniturepointsshop = 'furniture'197
computerpointsshop = 'computer'124
garden centrepointsshop = 'garden_centre'10
hairdresserpointsshop = 'hairdresser'458
car repairpointsshop = 'car_repair'346
.$row2[6].
NameTypeOSM TagCount
athleticspointssport = 'athletics'4
basketballpointssport = 'basketball'6
fitnesspointssport = 'fitness'9
skiingpointssport = 'skiing'1
soccerpointssport = 'soccer'37
swimmingpointssport = 'swimming'16
tennispointssport = 'tennis'4
.$row2[6].
NameTypeOSM TagCount
artworkpoints/polygonstourism = 'artwork'108
attractionpoints/polygonstourism = 'attraction'548
camp sitepoints/polygonstourism = 'camp_site'445
caravan sitepoints/polygonstourism = 'caravan_site'108
guest housepoints/polygonstourism = 'guest_house'1049
hostelpoints/polygonstourism = 'hostel'233
hotelpointstourism = 'hotel'1600
informationpoints/polygonstourism = 'information'106
motelpoints/polygonstourism = 'motel'37
museumpoints/polygonstourism = 'museum'97
picnic sitepointstourism = 'picnic_site'30
theme parkpoints/polygonstourism = 'theme_park'17
viewpointpointstourism = 'viewpoint'613
zoopoints/polygonstourism = 'zoo'2
chaletpoints/polygonstourism = 'chalet'34
yespointstourism = 'yes'10
alpine hutpointstourism = 'alpine_hut'29
mappointsinformation = 'map'3
boardpointsinformation = 'board'11
guidepostpointsinformation = 'guidepost'12
monumentpointshistoric = 'monument'75
memorialpointshistoric = 'memorial'54
apartmentpointstourism = 'apartment'143
camp pitchpointstourism = 'camp_pitch'3
gallerypointstourism = 'gallery'16
wilderness hutpointstourism = 'wilderness_hut'4
.$row2[6].
NameTypeOSM TagCount
Coastlineslines1
Water surfacepolygons1
Land boundariespolygons1
.$row2[6].
NameTypeOSM TagCount
Lakes and large riverspolygonsnatural = 'water' / waterway = 'riverbank'3449
Wetlandpolygonsnatural = 'wetland'388
water' and water notpolygonsnatural = 'water' + water is not 'river' + water is not 'reservoir'616
.$row2[6].
NameTypeOSM TagCount
Canallineswaterway = 'canal'705
Drainlineswaterway = 'drain'578
Riverlineswaterway = 'river'5361
Streamlineswaterway = 'stream'46587
Otherslineswaterway is not ''54789
.$row2[6].
NameTypeOSM TagCount
Fencelinesbarrier = 'fence'996
Walllinesbarrier = 'wall'21309
.$row2[6].
NameTypeOSM TagCount
Towerpointsman_made = 'tower'2275
Cell towerpointsman_made = 'tower' + tower:type = 'communication'826
Water towerpointsman_made = 'water_tower'246
Lookout towerpointsman_made = 'tower' + tower:type = 'observation'54
Lighthousepointsman_made = 'lighthouse'24
Water wellpointsman_made = 'water_well'362
Watermillpointsman_made = 'watermill'1
NameTypeOSM TagCount
Power lineslinespower is not ''5422
.$row2[6].
NameTypeOSM TagCount
Towers Power linespointspower is not ''198326
.$row2[6].
NameTypeOSM TagCount
Springpointsnatural = 'spring'216
Peakpointsnatural = 'peak'8697
Treepointsnatural = 'tree'36923
Cave entrancepointsnatural = 'cave_entrance'19
NameTypeOSM TagCount
Citypointsplace = 'city'53
Townpointsplace = 'town'287
Villagepointsplace = 'village'6532
Hamletpointsplace = 'hamlet'4194
Hamletpointsplace = 'locality'241
The capitalpointsplace = 'city' + is_capital = 'country' / admin_level = '2' / capital = 'yes' + 'admin_level' is null1
.$row2[6].
NameTypeOSM TagCount
Allotmentspolygonslanduse = 'allotments'35
Basinpolygonslanduse = 'basin'359
Brownfieldpolygonslanduse = 'brownfield'678
Cemeterypolygonslanduse = 'cemetery'578
Commercialpolygonslanduse = 'commercial'192
Constructionpolygonslanduse = 'construction'533
Farm, farmlandpolygonslanduse = 'farm' / landuse = 'farmland'22976
Farmyardpolygonslanduse = 'farmyard'3737
Forestpolygonslanduse = 'forest' / landuse = 'natural'6254
Garagespolygonslanduse = 'garages'4
Grasspolygonslanduse = 'grass'1700
Greenfieldpolygonslanduse = 'greenfield'75
Industrialpolygonslanduse = 'industrial'2035
Landfillpolygonslanduse = 'landfill'76
Meadowpolygonslanduse = 'meadow'2613
Quarrypolygonslanduse = 'quarry'1044
Railwaypolygonslanduse = 'railway'17
Recreation groundpolygonslanduse = 'recreation_ground'409
Reservoirpolygonslanduse = 'reservoir'287
Residentialpolygonslanduse = 'residential'31887
Retailpolygonslanduse = 'retail'156
Salt pondpolygonslanduse = 'salt_pond'87
Village greenpolygonslanduse = 'village_green'174
Vineyardpolygonslanduse = 'vineyard'118
Plant nurserypolygonslanduse = 'plant_nursery'39
Educationpolygonslanduse = 'education'3
Parkpolygonsleisure = 'park'1739
Beachpolygonsnatural = 'beach'380
Fellpolygonsnatural = 'fell'13
Grasslandpolygonsnatural = 'grassland'328
Heathpolygonsnatural = 'heath'195
Sandpolygonsnatural = 'sand'192
Scrubpolygonsnatural = 'scrub'1817
.$row2[6].
NameTypeOSM TagCount
Amenitypolygonsamenity is not ''10082
.$row2[6].
NameTypeOSM TagCount
Leisurepolygonsleisure is not ''9034
.$row2[6].
NameTypeOSM TagCount
Place of worshippolygonsamenity = 'place_of_worship'2130
Place of worshippolygonsamenity = 'place_of_worship'2130
.$row2[6].
NameTypeOSM TagCount
Shoppolygonsshop is not ''553
.$row2[6].
NameTypeOSM TagCount
Sportpolygonssport is not ''2155
.$row2[6].
NameTypeOSM TagCount
Tourismpolygonstourism is not ''1067
.$row2[6].
NameTypeOSM TagCount
parkingpolygonsamenity = 'parking'2495
.$row2[6].
NameTypeOSM TagCount
bus, tram, trolleybuslinesroute = 'bus' / route = 'trolleybus' / route = 'tram' / route = 'share_taxi'4050
trainlinesroute = 'train'96
ferrylinesroute = 'ferry'21
.$row2[6].
NameTypeOSM TagCount
Platformpolygonsrailway = 'platform'80
.$row2[6].
NameTypeOSM TagCount
Abandonedlinesrailway = 'abandoned'260
Constructionlinesrailway = 'construction'47
Platformlinesrailway = 'platform'92
Railwaylinesrailway = 'rail' + service is null1074
Service railwaylinesrailway = 'rail' + service is not null1582
tramlinesrailway = 'tram'157
.$row2[6].
NameTypeOSM TagCount
Trunklineshighway = 'trunk' / highway = 'trunk_link'6386
Primarylineshighway = 'primary' / highway = 'primary_link'14308
Secondarylineshighway = 'secondary' / highway = 'secondary_link'11172
Tertiarylineshighway = 'tertiary' / highway = 'tertiary_link'26303
Unclassifiedlineshighway = 'unclassified'36459
Residentiallineshighway = 'residential'248842
Servicelineshighway = 'service'50121
Footwaylineshighway = 'footway' / highway = 'path' + foot = 'designated'20623
Constructionlineshighway = 'construction'699
Roadlineshighway = 'road'9
Crossinglineshighway = 'crossing'2
Cyclewaylineshighway = 'cycleway' / highway = 'path' + cycle = 'designated'116
Living streetlineshighway = 'living_street'14310
Pedestrianlineshighway = 'pedestrian'4204
Stepslineshighway = 'steps'1233
Tracklineshighway = 'track'278432
Bridlewaylineshighway = 'bridleway' / highway = 'path' + horse = 'designated'61
Racewaylineshighway = 'raceway'9
.$row2[6].
NameTypeOSM TagCount
Crossingpointshighway = 'crossing' / railway = 'level_crossing'12756
Traffic signalspointshighway = 'traffic_signals'2505
Mini roundaboutpointshighway = 'mini_roundabout'57
Stoppointshighway = 'stop'575
Speed camerapointshighway = 'speed_camera'74
Street lamppointshighway = 'street_lamp'260
Bus stoppointshighway = 'bus_stop'6362
.$row2[6].
NameTypeOSM TagCount
servicespolygonshighway = 'services'2
NameTypeOSM TagCount
squarepolygonsplace = 'square'171
.$row2[6].
NameTypeOSM TagCount
Stationpointsrailway = 'station'108
Haltpointsrailway = 'halt'7
Tram stoppointsrailway = 'tram_stop' / public_transport = 'stop_position' + tram = 'yes'262
.$row2[6].

 

 

© Copyright 2023 Data/Maps OSM Today and OpenStreetMap Contributors | Map tiles by CartoDB, under CC BY 3.0. Data by OpenStreetMap, under ODbL.