Madrid

Extracts data of Madrid from the OpenstreetMaps project for free

Main files

Additional Files

Prepared geodata of Madrid 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

 

 

Madrid 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 Madrid and sample project

Statistics on objects in the Madrid

NameTypeOSM TagCount
Administrative level 4linesadmin_level = '4'224
Administrative level 6linesadmin_level = '6'49
Administrative level 8linesadmin_level = '8'856
Administrative level 9linesadmin_level = '9'333
Administrative level 10linesadmin_level = '10'509
.$row2[6].
NameTypeOSM TagCount
Countriespolygonsadmin_level = '2'1
Administrative level 4polygonsadmin_level = '4'3
Administrative level 6polygonsadmin_level = '6'6
Administrative level 8polygonsadmin_level = '8'197
Administrative level 9polygonsadmin_level = '9'74
Administrative level 10polygonsadmin_level = '10'207
Placespolygonsplace = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling'127
.$row2[6].
NameTypeOSM TagCount
Villagepolygonsplace = 'village'2
Hamletpolygonsplace = 'hamlet'6
Localitypolygonsplace = 'locality'3
Suburbpolygonsplace = 'suburb'65
Islandpolygonsplace = 'island'4
Farmpolygonsplace = 'farm'8
Isolated dwellingpolygonsplace = 'isolated_dwelling'39
NameTypeOSM TagCount
Buildingpointsbuilding is not ''628
.$row2[6].
NameTypeOSM TagCount
Buildingpolygonsbuilding is not ''365503
Dominantspolygonsbuilding = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university'3335
Schools and kindergartenspolygonsbuilding = 'school' / building = 'kindergarten'2541
Under constructionpolygonsbuilding = 'construction'112
.$row2[6].
NameTypeOSM TagCount
bicycle parkingpointsamenity = 'bicycle_parking'1615
policepointsamenity = 'police'74
fire stationpointsamenity = 'fire_station'8
post boxpointsamenity = 'post_box'609
post officepointsamenity = 'post_office'214
telephonepointsamenity = 'telephone'249
librarypointsamenity = 'library'119
townhallpointsamenity = 'townhall'14
courthousepointsamenity = 'courthouse'46
prisonpointsamenity = 'prison'4
embassypointsamenity = 'embassy' / office = 'diplomatic'97
community centrepointsamenity = 'community_centre'102
nursing homepointsamenity = 'nursing_home'41
arts centrepointsamenity = 'arts_centre'46
cemeterypointsamenity = 'grave_yard' / landuse = 'cemetery'2
marketplacepointsamenity = 'marketplace'54
recyclingpointsamenity = 'recycling'2491
universitypointsamenity = 'university'32
schoolpointsamenity = 'school'1259
kindergartenpointsamenity = 'kindergarten'669
collegepointsamenity = 'college'101
pharmacypointsamenity = 'pharmacy'2481
hospitalpointsamenity = 'hospital'28
clinicpointsamenity = 'clinic'323
doctorspointsamenity = 'doctors'157
dentistpointsamenity = 'dentist'527
veterinarypointsamenity = 'veterinary'248
theatrepointsamenity = 'theatre'98
nightclubpointsamenity = 'nightclub'157
cinemapointsamenity = 'cinema'61
swimming poolpointsamenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park'72
restaurantpointsamenity = 'restaurant'5875
fast foodpointsamenity = 'fast_food'1071
cafepointsamenity = 'cafe'1604
pubpointsamenity = 'pub'1224
bar, biergartenpointsamenity = 'bar' / amenity = 'biergarten'2098
food courtpointsamenity = 'food_court'24
shelterpointsamenity = 'shelter'61
car rentalpointsamenity = 'car_rental'56
car washpointsamenity = 'car_wash'90
car sharingpointsamenity = 'car_sharing'1
bicycle rentalpointsamenity = 'bicycle_rental'229
bankpointsamenity = 'bank'1894
atmpointsamenity = 'atm'456
toiletspointsamenity = 'toilets'293
benchpointsamenity = 'bench'5366
drinking waterpointsamenity = 'drinking_water'2944
fuelpointsamenity = 'fuel'491
bus stationpoints/polygonsamenity = 'bus_station'11
taxipoints/polygonsamenity = 'taxi'534
.$row2[6].
NameTypeOSM TagCount
Christian churchespointsamenity = 'place_of_worship' + religion = 'christian'279
Mosquepointsamenity = 'place_of_worship' + religion = 'muslim'12
Buddhist templepointsamenity = 'place_of_worship' + religion = 'buddhist'2
Taoist templepointsamenity = 'place_of_worship' + religion = 'taoist'1
Sikh templepointsamenity = 'place_of_worship' + religion = 'sikh'1
.$row2[6].
NameTypeOSM TagCount
fishingpointsleisure = 'fishing'10
playgroundpoints/polygonsleisure = 'playground'1222
sports centrepoints/polygonsleisure = 'sports_centre'168
stadiumpoints/polygonsleisure = 'stadium'3
trackpointsleisure = 'track'9
ice rinkpoints/polygonsleisure = 'ice_rink'1
marinapointsleisure = 'marina'5
slipwaypointsleisure = 'slipway'3
dog parkpointsleisure = 'dog_park'49
golf coursepointsleisure = 'golf_course'2
.$row2[6].
NameTypeOSM TagCount
supermarket, generalpointsshop = 'supermarket' / shop = 'general'1170
bakerypointsshop = 'bakery'631
kioskpointsshop = 'kiosk'258
mallpointsshop = 'mall'22
department storepointsshop = 'department_store'32
conveniencepointsshop = 'convenience'1225
clothespointsshop = 'clothes'1459
floristpointsshop = 'florist'180
chemistpointsshop = 'chemist'60
bookspointsshop = 'books'253
butcherpointsshop = 'butcher'292
shoespointsshop = 'shoes'414
alcohol, beveragespointsshop = 'alcohol' / shop = 'beverages'60
opticianpointsshop = 'optician'345
jewelrypointsshop = 'jewelry'205
giftpointsshop = 'gift'132
sportspointsshop = 'sports'107
stationerypointsshop = 'stationery'194
outdoorpointsshop = 'outdoor'26
mobile phonepointsshop = 'mobile_phone'217
toyspointsshop = 'toys'118
newsagentpointsshop = 'newsagent'63
greengrocerpointsshop = 'greengrocer'560
beautypointsshop = 'beauty'369
videopointsshop = 'video'9
carpointsshop = 'car'268
bicyclepointsshop = 'bicycle'147
doityourself, hardwarpointsshop = 'doityourself' / shop = 'hardware'361
furniturepointsshop = 'furniture'290
computerpointsshop = 'computer'132
garden centrepointsshop = 'garden_centre'30
hairdresserpointsshop = 'hairdresser'1391
car repairpointsshop = 'car_repair'617
.$row2[6].
NameTypeOSM TagCount
Bowlingpointssport = '10pin' / sport = 'bowling'4
athleticspointssport = 'athletics'3
basketballpointssport = 'basketball'3
chesspointssport = 'chess'9
cyclingpointssport = 'cycling'4
fitnesspointssport = 'fitness'188
gymnasticspointssport = 'gymnastics'25
motorpointssport = 'motor'1
shootingpointssport = 'shooting'5
skiingpointssport = 'skiing'1
soccerpointssport = 'soccer'8
swimmingpointssport = 'swimming'20
table tennispointssport = 'table_tennis'41
tennispointssport = 'tennis'1
volleyballpointssport = 'volleyball'2
.$row2[6].
NameTypeOSM TagCount
artworkpoints/polygonstourism = 'artwork'610
attractionpoints/polygonstourism = 'attraction'223
camp sitepoints/polygonstourism = 'camp_site'4
caravan sitepoints/polygonstourism = 'caravan_site'4
guest housepoints/polygonstourism = 'guest_house'289
hostelpoints/polygonstourism = 'hostel'94
hotelpointstourism = 'hotel'348
informationpoints/polygonstourism = 'information'598
motelpoints/polygonstourism = 'motel'11
museumpoints/polygonstourism = 'museum'77
picnic sitepointstourism = 'picnic_site'169
theme parkpoints/polygonstourism = 'theme_park'1
viewpointpointstourism = 'viewpoint'287
chaletpoints/polygonstourism = 'chalet'22
yespointstourism = 'yes'1
alpine hutpointstourism = 'alpine_hut'2
mappointsinformation = 'map'66
boardpointsinformation = 'board'277
guidepostpointsinformation = 'guidepost'112
monumentpointshistoric = 'monument'134
memorialpointshistoric = 'memorial'819
apartmentpointstourism = 'apartment'68
gallerypointstourism = 'gallery'15
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'3225
Wetlandpolygonsnatural = 'wetland'60
water' and water notpolygonsnatural = 'water' + water is not 'river' + water is not 'reservoir'1035
.$row2[6].
NameTypeOSM TagCount
Canallineswaterway = 'canal'422
Drainlineswaterway = 'drain'340
Riverlineswaterway = 'river'253
Streamlineswaterway = 'stream'7795
Otherslineswaterway is not ''9303
.$row2[6].
NameTypeOSM TagCount
Fencelinesbarrier = 'fence'24448
Walllinesbarrier = 'wall'35078
.$row2[6].
NameTypeOSM TagCount
Towerpointsman_made = 'tower'266
Cell towerpointsman_made = 'tower' + tower:type = 'communication'175
Water towerpointsman_made = 'water_tower'29
Lookout towerpointsman_made = 'tower' + tower:type = 'observation'12
Water wellpointsman_made = 'water_well'32
Watermillpointsman_made = 'watermill'27
NameTypeOSM TagCount
Power lineslinespower is not ''779
.$row2[6].
NameTypeOSM TagCount
Towers Power linespointspower is not ''9974
.$row2[6].
NameTypeOSM TagCount
Springpointsnatural = 'spring'350
Peakpointsnatural = 'peak'3148
Treepointsnatural = 'tree'81242
Cave entrancepointsnatural = 'cave_entrance'30
NameTypeOSM TagCount
Citypointsplace = 'city'10
Townpointsplace = 'town'51
Villagepointsplace = 'village'143
Hamletpointsplace = 'hamlet'333
Hamletpointsplace = 'locality'11117
The capitalpointsplace = 'city' + is_capital = 'country' / admin_level = '2' / capital = 'yes' + 'admin_level' is null1
.$row2[6].
NameTypeOSM TagCount
Allotmentspolygonslanduse = 'allotments'259
Basinpolygonslanduse = 'basin'25
Brownfieldpolygonslanduse = 'brownfield'633
Cemeterypolygonslanduse = 'cemetery'265
Commercialpolygonslanduse = 'commercial'227
Constructionpolygonslanduse = 'construction'241
Farm, farmlandpolygonslanduse = 'farm' / landuse = 'farmland'2713
Farmyardpolygonslanduse = 'farmyard'540
Forestpolygonslanduse = 'forest' / landuse = 'natural'1702
Garagespolygonslanduse = 'garages'95
Grasspolygonslanduse = 'grass'4016
Greenfieldpolygonslanduse = 'greenfield'2143
Industrialpolygonslanduse = 'industrial'1747
Landfillpolygonslanduse = 'landfill'25
Meadowpolygonslanduse = 'meadow'318
Quarrypolygonslanduse = 'quarry'153
Railwaypolygonslanduse = 'railway'47
Recreation groundpolygonslanduse = 'recreation_ground'370
Reservoirpolygonslanduse = 'reservoir'178
Residentialpolygonslanduse = 'residential'10058
Retailpolygonslanduse = 'retail'232
Salt pondpolygonslanduse = 'salt_pond'1
Village greenpolygonslanduse = 'village_green'84
Vineyardpolygonslanduse = 'vineyard'127
Plant nurserypolygonslanduse = 'plant_nursery'62
Educationpolygonslanduse = 'education'11
Parkpolygonsleisure = 'park'6036
Beachpolygonsnatural = 'beach'6
Fellpolygonsnatural = 'fell'2
Grasslandpolygonsnatural = 'grassland'753
Heathpolygonsnatural = 'heath'353
Sandpolygonsnatural = 'sand'205
Scrubpolygonsnatural = 'scrub'1065
.$row2[6].
NameTypeOSM TagCount
Amenitypolygonsamenity is not ''21733
.$row2[6].
NameTypeOSM TagCount
Leisurepolygonsleisure is not ''68499
.$row2[6].
NameTypeOSM TagCount
Place of worshippolygonsamenity = 'place_of_worship'912
Place of worshippolygonsamenity = 'place_of_worship'912
.$row2[6].
NameTypeOSM TagCount
Shoppolygonsshop is not ''1649
.$row2[6].
NameTypeOSM TagCount
Sportpolygonssport is not ''11192
.$row2[6].
NameTypeOSM TagCount
Tourismpolygonstourism is not ''837
.$row2[6].
NameTypeOSM TagCount
parkingpolygonsamenity = 'parking'8737
.$row2[6].
NameTypeOSM TagCount
bus, tram, trolleybuslinesroute = 'bus' / route = 'trolleybus' / route = 'tram' / route = 'share_taxi'1519
subwaylinesroute = 'subway'137
trainlinesroute = 'train'362
.$row2[6].
NameTypeOSM TagCount
Platformpolygonsrailway = 'platform'207
.$row2[6].
NameTypeOSM TagCount
Abandonedlinesrailway = 'abandoned'243
Constructionlinesrailway = 'construction'17
Light raillinesrailway = 'light_rail'189
Narrow gaugelinesrailway = 'narrow_gauge'34
Platformlinesrailway = 'platform'149
Railwaylinesrailway = 'rail' + service is null1762
Service railwaylinesrailway = 'rail' + service is not null1248
Subwaylinesrailway = 'subway'1147
tramlinesrailway = 'tram'49
monoraillinesrailway = 'monorail'3
miniaturelinesrailway = 'miniature'54
.$row2[6].
NameTypeOSM TagCount
Trunklineshighway = 'trunk' / highway = 'trunk_link'3684
Primarylineshighway = 'primary' / highway = 'primary_link'8376
Secondarylineshighway = 'secondary' / highway = 'secondary_link'8488
Tertiarylineshighway = 'tertiary' / highway = 'tertiary_link'15445
Unclassifiedlineshighway = 'unclassified'5133
Residentiallineshighway = 'residential'75832
Servicelineshighway = 'service'36680
Footwaylineshighway = 'footway' / highway = 'path' + foot = 'designated'74413
Constructionlineshighway = 'construction'662
Roadlineshighway = 'road'2
Crossinglineshighway = 'crossing'2
Cyclewaylineshighway = 'cycleway' / highway = 'path' + cycle = 'designated'2534
Living streetlineshighway = 'living_street'2677
Pedestrianlineshighway = 'pedestrian'4815
Stepslineshighway = 'steps'5844
Tracklineshighway = 'track'30992
Bridlewaylineshighway = 'bridleway' / highway = 'path' + horse = 'designated'140
Racewaylineshighway = 'raceway'59
.$row2[6].
NameTypeOSM TagCount
Crossingpointshighway = 'crossing' / railway = 'level_crossing'63292
Traffic signalspointshighway = 'traffic_signals'7358
Mini roundaboutpointshighway = 'mini_roundabout'177
Stoppointshighway = 'stop'2552
Speed camerapointshighway = 'speed_camera'163
Street lamppointshighway = 'street_lamp'15409
Bus stoppointshighway = 'bus_stop'10135
.$row2[6].
NameTypeOSM TagCount
servicespolygonshighway = 'services'19
NameTypeOSM TagCount
squarepolygonsplace = 'square'552
.$row2[6].
NameTypeOSM TagCount
Stationpointsrailway = 'station'352
Haltpointsrailway = 'halt'3
Tram stoppointsrailway = 'tram_stop' / public_transport = 'stop_position' + tram = 'yes'45
Subway entrancepointsrailway = 'subway_entrance'643
.$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.