mexico city

Extracts data of mexico city from the OpenstreetMaps project for free

This OpenStreetMap data extract for Mexico City enables GIS professionals and developers to perform detailed spatial analysis, create navigation applications, and develop custom cartography using standard tools like QGIS, osm2pgsql, and mapping libraries. The site provides a free, daily updated .pbf file for bulk data processing, alongside a paid optional product featuring a pre-configured QGIS 3 project with styled Shapefile and GeoPackage layers plus an icon set. Mexico City, the capital of Mexico, is situated in the Valley of Mexico, a high-altitude plateau ringed by mountains that hosts the historic center and serves as the political, cultural, and economic hub of the country.

Main files

  • [mexico_city.pbf] - for osm2pgsql, Osmium, Osmosis, imposm, mkgmap, and others. This file was last modified 23 hours ago and contains all OSM data up to September 06 2026 23:00:00 UTC. File size: 23.11MB; MD5 sum: 9485130497c23936545a4a5729e1200b.

Additional Files

Prepared geodata of mexico city

You are getting:

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

Samples of maps

 

 

mexico city 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 mexico city and sample project

Statistics on objects in the mexico city

NameTypeOSM TagCount
Administrative level 4linesadmin_level = '4'195
Administrative level 6linesadmin_level = '6'452
Administrative level 9linesadmin_level = '9'1
Administrative level 10linesadmin_level = '10'3
.$row2[6].
NameTypeOSM TagCount
Administrative level 4polygonsadmin_level = '4'1
Administrative level 6polygonsadmin_level = '6'16
Administrative level 8polygonsadmin_level = '8'11
Administrative level 9polygonsadmin_level = '9'1
Administrative level 10polygonsadmin_level = '10'335
Placespolygonsplace = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling'11
.$row2[6].
NameTypeOSM TagCount
Citypolygonsplace = 'city'1
Hamletpolygonsplace = 'hamlet'1
Islandpolygonsplace = 'island'2
Isolated dwellingpolygonsplace = 'isolated_dwelling'7
NameTypeOSM TagCount
Buildingpointsbuilding is not ''191
.$row2[6].
NameTypeOSM TagCount
Buildingpolygonsbuilding is not ''149864
Dominantspolygonsbuilding = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university'1545
Schools and kindergartenspolygonsbuilding = 'school' / building = 'kindergarten'1718
Under constructionpolygonsbuilding = 'construction'208
.$row2[6].
NameTypeOSM TagCount
bicycle parkingpointsamenity = 'bicycle_parking'282
policepointsamenity = 'police'80
fire stationpointsamenity = 'fire_station'3
post boxpointsamenity = 'post_box'10
post officepointsamenity = 'post_office'97
telephonepointsamenity = 'telephone'245
librarypointsamenity = 'library'63
townhallpointsamenity = 'townhall'10
courthousepointsamenity = 'courthouse'10
prisonpointsamenity = 'prison'1
embassypointsamenity = 'embassy' / office = 'diplomatic'58
community centrepointsamenity = 'community_centre'207
arts centrepointsamenity = 'arts_centre'55
cemeterypointsamenity = 'grave_yard' / landuse = 'cemetery'5
marketplacepointsamenity = 'marketplace'72
recyclingpointsamenity = 'recycling'127
universitypointsamenity = 'university'85
schoolpointsamenity = 'school'700
kindergartenpointsamenity = 'kindergarten'292
collegepointsamenity = 'college'58
pharmacypointsamenity = 'pharmacy'744
hospitalpointsamenity = 'hospital'112
clinicpointsamenity = 'clinic'410
doctorspointsamenity = 'doctors'97
dentistpointsamenity = 'dentist'532
veterinarypointsamenity = 'veterinary'141
theatrepointsamenity = 'theatre'70
nightclubpointsamenity = 'nightclub'27
cinemapointsamenity = 'cinema'109
swimming poolpointsamenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park'20
restaurantpointsamenity = 'restaurant'2814
fast foodpointsamenity = 'fast_food'1139
cafepointsamenity = 'cafe'1030
pubpointsamenity = 'pub'57
bar, biergartenpointsamenity = 'bar' / amenity = 'biergarten'351
food courtpointsamenity = 'food_court'11
shelterpointsamenity = 'shelter'116
car rentalpointsamenity = 'car_rental'30
car washpointsamenity = 'car_wash'82
bicycle rentalpointsamenity = 'bicycle_rental'716
bankpointsamenity = 'bank'630
atmpointsamenity = 'atm'170
toiletspointsamenity = 'toilets'221
benchpointsamenity = 'bench'1633
drinking waterpointsamenity = 'drinking_water'62
fuelpointsamenity = 'fuel'62
bus stationpoints/polygonsamenity = 'bus_station'141
taxipoints/polygonsamenity = 'taxi'133
airportpoints/polygonsamenity = 'airport' / aeroway = 'aerodrome' + type is not 'airstrip'2
ferry terminalpoints/polygonsamenity = 'ferry_terminal'2
.$row2[6].
NameTypeOSM TagCount
Christian churchespointsamenity = 'place_of_worship' + religion = 'christian'171
Buddhist templepointsamenity = 'place_of_worship' + religion = 'buddhist'6
.$row2[6].
NameTypeOSM TagCount
fishingpointsleisure = 'fishing'1
playgroundpoints/polygonsleisure = 'playground'596
sports centrepoints/polygonsleisure = 'sports_centre'339
stadiumpoints/polygonsleisure = 'stadium'25
trackpointsleisure = 'track'5
ice rinkpoints/polygonsleisure = 'ice_rink'4
dog parkpointsleisure = 'dog_park'5
golf coursepointsleisure = 'golf_course'2
.$row2[6].
NameTypeOSM TagCount
supermarket, generalpointsshop = 'supermarket' / shop = 'general'377
bakerypointsshop = 'bakery'411
kioskpointsshop = 'kiosk'65
mallpointsshop = 'mall'30
department storepointsshop = 'department_store'123
conveniencepointsshop = 'convenience'2095
clothespointsshop = 'clothes'377
floristpointsshop = 'florist'53
chemistpointsshop = 'chemist'15
bookspointsshop = 'books'126
butcherpointsshop = 'butcher'163
shoespointsshop = 'shoes'117
alcohol, beveragespointsshop = 'alcohol' / shop = 'beverages'104
opticianpointsshop = 'optician'83
jewelrypointsshop = 'jewelry'69
giftpointsshop = 'gift'97
sportspointsshop = 'sports'38
stationerypointsshop = 'stationery'356
outdoorpointsshop = 'outdoor'5
mobile phonepointsshop = 'mobile_phone'105
toyspointsshop = 'toys'30
newsagentpointsshop = 'newsagent'39
greengrocerpointsshop = 'greengrocer'100
beautypointsshop = 'beauty'557
videopointsshop = 'video'5
carpointsshop = 'car'116
bicyclepointsshop = 'bicycle'106
doityourself, hardwarpointsshop = 'doityourself' / shop = 'hardware'243
furniturepointsshop = 'furniture'89
computerpointsshop = 'computer'23
garden centrepointsshop = 'garden_centre'5
hairdresserpointsshop = 'hairdresser'251
car repairpointsshop = 'car_repair'226
.$row2[6].
NameTypeOSM TagCount
athleticspointssport = 'athletics'5
basketballpointssport = 'basketball'7
chesspointssport = 'chess'3
fitnesspointssport = 'fitness'188
gymnasticspointssport = 'gymnastics'7
soccerpointssport = 'soccer'10
swimmingpointssport = 'swimming'15
table tennispointssport = 'table_tennis'9
tennispointssport = 'tennis'6
horse racingpointssport = 'horse_racing'1
.$row2[6].
NameTypeOSM TagCount
artworkpoints/polygonstourism = 'artwork'695
attractionpoints/polygonstourism = 'attraction'225
camp sitepoints/polygonstourism = 'camp_site'7
caravan sitepoints/polygonstourism = 'caravan_site'1
guest housepoints/polygonstourism = 'guest_house'25
hostelpoints/polygonstourism = 'hostel'46
hotelpointstourism = 'hotel'231
informationpoints/polygonstourism = 'information'303
motelpoints/polygonstourism = 'motel'41
museumpoints/polygonstourism = 'museum'172
picnic sitepointstourism = 'picnic_site'98
theme parkpoints/polygonstourism = 'theme_park'10
viewpointpointstourism = 'viewpoint'63
zoopoints/polygonstourism = 'zoo'7
chaletpoints/polygonstourism = 'chalet'11
yespointstourism = 'yes'6
mappointsinformation = 'map'69
boardpointsinformation = 'board'89
guidepostpointsinformation = 'guidepost'90
monumentpointshistoric = 'monument'85
memorialpointshistoric = 'memorial'182
apartmentpointstourism = 'apartment'34
gallerypointstourism = 'gallery'30
wilderness hutpointstourism = 'wilderness_hut'1
.$row2[6].
NameTypeOSM TagCount
Coastlineslines1
Water surfacepolygons1
Land boundariespolygons1
.$row2[6].
NameTypeOSM TagCount
Lakes and large riverspolygonsnatural = 'water' / waterway = 'riverbank'524
Wetlandpolygonsnatural = 'wetland'55
water' and water notpolygonsnatural = 'water' + water is not 'river' + water is not 'reservoir'491
.$row2[6].
NameTypeOSM TagCount
Canallineswaterway = 'canal'109
Drainlineswaterway = 'drain'20
Riverlineswaterway = 'river'137
Streamlineswaterway = 'stream'600
Otherslineswaterway is not ''1307
.$row2[6].
NameTypeOSM TagCount
Fencelinesbarrier = 'fence'1761
Walllinesbarrier = 'wall'3012
.$row2[6].
NameTypeOSM TagCount
Towerpointsman_made = 'tower'42
Cell towerpointsman_made = 'tower' + tower:type = 'communication'15
Water towerpointsman_made = 'water_tower'18
Lookout towerpointsman_made = 'tower' + tower:type = 'observation'5
Water wellpointsman_made = 'water_well'18
NameTypeOSM TagCount
Power lineslinespower is not ''266
.$row2[6].
NameTypeOSM TagCount
Towers Power linespointspower is not ''2220
.$row2[6].
NameTypeOSM TagCount
Springpointsnatural = 'spring'8
Peakpointsnatural = 'peak'90
Volcanopoints/polygonsnatural = 'volcano'34
Treepointsnatural = 'tree'22146
Cave entrancepointsnatural = 'cave_entrance'13
NameTypeOSM TagCount
Citypointsplace = 'city'1
Townpointsplace = 'town'9
Villagepointsplace = 'village'23
Hamletpointsplace = 'hamlet'524
Hamletpointsplace = 'locality'45
The capitalpointsplace = 'city' + is_capital = 'country' / admin_level = '2' / capital = 'yes' + 'admin_level' is null1
.$row2[6].
NameTypeOSM TagCount
Allotmentspolygonslanduse = 'allotments'3
Basinpolygonslanduse = 'basin'2
Brownfieldpolygonslanduse = 'brownfield'100
Cemeterypolygonslanduse = 'cemetery'90
Commercialpolygonslanduse = 'commercial'473
Constructionpolygonslanduse = 'construction'111
Farm, farmlandpolygonslanduse = 'farm' / landuse = 'farmland'289
Farmyardpolygonslanduse = 'farmyard'4
Forestpolygonslanduse = 'forest' / landuse = 'natural'198
Garagespolygonslanduse = 'garages'17
Grasspolygonslanduse = 'grass'3213
Greenfieldpolygonslanduse = 'greenfield'116
Industrialpolygonslanduse = 'industrial'374
Landfillpolygonslanduse = 'landfill'2
Meadowpolygonslanduse = 'meadow'36
Quarrypolygonslanduse = 'quarry'8
Railwaypolygonslanduse = 'railway'26
Recreation groundpolygonslanduse = 'recreation_ground'169
Reservoirpolygonslanduse = 'reservoir'8
Residentialpolygonslanduse = 'residential'2434
Retailpolygonslanduse = 'retail'479
Village greenpolygonslanduse = 'village_green'1
Plant nurserypolygonslanduse = 'plant_nursery'33
Educationpolygonslanduse = 'education'20
Parkpolygonsleisure = 'park'2140
Beachpolygonsnatural = 'beach'4
Fellpolygonsnatural = 'fell'1
Grasslandpolygonsnatural = 'grassland'237
Heathpolygonsnatural = 'heath'109
Sandpolygonsnatural = 'sand'62
Scrubpolygonsnatural = 'scrub'189
.$row2[6].
NameTypeOSM TagCount
Amenitypolygonsamenity is not ''10186
.$row2[6].
NameTypeOSM TagCount
Leisurepolygonsleisure is not ''9955
.$row2[6].
NameTypeOSM TagCount
Place of worshippolygonsamenity = 'place_of_worship'493
Place of worshippolygonsamenity = 'place_of_worship'493
.$row2[6].
NameTypeOSM TagCount
Shoppolygonsshop is not ''1297
.$row2[6].
NameTypeOSM TagCount
Sportpolygonssport is not ''3334
.$row2[6].
NameTypeOSM TagCount
Tourismpolygonstourism is not ''435
.$row2[6].
NameTypeOSM TagCount
parkingpolygonsamenity = 'parking'2818
.$row2[6].
NameTypeOSM TagCount
ferrylinesroute = 'ferry'1
.$row2[6].
NameTypeOSM TagCount
Platformpolygonsrailway = 'platform'78
.$row2[6].
NameTypeOSM TagCount
Abandonedlinesrailway = 'abandoned'249
Constructionlinesrailway = 'construction'2
Light raillinesrailway = 'light_rail'37
Platformlinesrailway = 'platform'59
Railwaylinesrailway = 'rail' + service is null82
Service railwaylinesrailway = 'rail' + service is not null226
Subwaylinesrailway = 'subway'839
monoraillinesrailway = 'monorail'6
.$row2[6].
NameTypeOSM TagCount
Trunklineshighway = 'trunk' / highway = 'trunk_link'651
Primarylineshighway = 'primary' / highway = 'primary_link'4052
Secondarylineshighway = 'secondary' / highway = 'secondary_link'6324
Tertiarylineshighway = 'tertiary' / highway = 'tertiary_link'6592
Unclassifiedlineshighway = 'unclassified'1156
Residentiallineshighway = 'residential'74640
Servicelineshighway = 'service'27440
Footwaylineshighway = 'footway' / highway = 'path' + foot = 'designated'21936
Pathlineshighway = 'path' + cycle is not 'designated' + foot is not 'designated' + horse is not 'designated'2434
Constructionlineshighway = 'construction'23
Roadlineshighway = 'road'2
Cyclewaylineshighway = 'cycleway' / highway = 'path' + cycle = 'designated'604
Living streetlineshighway = 'living_street'966
Pedestrianlineshighway = 'pedestrian'1550
Stepslineshighway = 'steps'3780
Tracklineshighway = 'track'834
Bridlewaylineshighway = 'bridleway' / highway = 'path' + horse = 'designated'2
Racewaylineshighway = 'raceway'38
.$row2[6].
NameTypeOSM TagCount
Crossingpointshighway = 'crossing' / railway = 'level_crossing'7233
Traffic signalspointshighway = 'traffic_signals'4489
Mini roundaboutpointshighway = 'mini_roundabout'17
Stoppointshighway = 'stop'150
Speed camerapointshighway = 'speed_camera'87
Street lamppointshighway = 'street_lamp'886
Bus stoppointshighway = 'bus_stop'1494
.$row2[6].
NameTypeOSM TagCount
servicespolygonshighway = 'services'2
NameTypeOSM TagCount
squarepolygonsplace = 'square'102
.$row2[6].
NameTypeOSM TagCount
Stationpointsrailway = 'station'176
Subway entrancepointsrailway = 'subway_entrance'446
.$row2[6].

 

This site is not affiliated with OpenStreetMap Foundaton and is an independent project providing data based on OSM. The data corresponds to the original OSM data, the cutting into geographical areas may differ from the boundaries contained in OSM. OpenStreetMap data is distributed under the ODbL license.

Offer

Contact:

© Copyright 2023-2025 Data prepared GEO2day, Original Maps and data OpenStreetMap Contributors | Map tiles by CartoDB, under CC BY 3.0. Data by OpenStreetMap, under ODbL.