Extracts data of Shanghai from the OpenstreetMaps project for free
Download the OpenStreetMap vector data extract for Shanghai to support high-precision mapping, navigation systems, spatial analysis, and cartographic projects in this major global port city. This daily-updated .pbf file offers an efficient dataset for loading into osm2pgsql, QGIS, or other mapping applications. For a streamlined workflow, add a paid QGIS 3 project that includes pre-styled Shapefile and GeoPackage layers with custom icons, saving significant time on styling and data preparation. Shanghai, located at the confluence of the Yangtze River and the East China Sea, is China's most populous city and a financial hub, featuring a dense urban fabric and extensive river transport infrastructure.
You are getting:

































| Name | Type | OSM Tag | Count |
| Countries | lines | admin_level = '2' | 6 |
| Administrative level 4 | lines | admin_level = '4' | 74 |
| Administrative level 5 | lines | admin_level = '5' | 4 |
| Administrative level 6 | lines | admin_level = '6' | 258 |
| Administrative level 8 | lines | admin_level = '8' | 546 |
| Administrative level 9 | lines | admin_level = '9' | 6 |
| Administrative level 10 | lines | admin_level = '10' | 331 |
![.$row2[6].](/img/Boundary.webp)
| Name | Type | OSM Tag | Count |
| Administrative level 4 | polygons | admin_level = '4' | 1 |
| Administrative level 5 | polygons | admin_level = '5' | 2 |
| Administrative level 6 | polygons | admin_level = '6' | 15 |
| Administrative level 8 | polygons | admin_level = '8' | 226 |
| Administrative level 9 | polygons | admin_level = '9' | 4 |
| Administrative level 10 | polygons | admin_level = '10' | 171 |
| Places | polygons | place = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling' | 48 |
![.$row2[6].](/img/Boundary2.webp)
| Name | Type | OSM Tag | Count |
| Town | polygons | place = 'town' | 1 |
| Village | polygons | place = 'village' | 14 |
| Locality | polygons | place = 'locality' | 1 |
| Island | polygons | place = 'island' | 32 |
| Region or country | polygons | place = 'region' / place = 'county' | 1 |
| Name | Type | OSM Tag | Count |
| Building | points | building is not '' | 153 |
![.$row2[6].](/img/Building-points.webp)
| Name | Type | OSM Tag | Count |
| Building | polygons | building is not '' | 156604 |
| Dominants | polygons | building = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university' | 1783 |
| Schools and kindergartens | polygons | building = 'school' / building = 'kindergarten' | 2477 |
| Under construction | polygons | building = 'construction' | 75 |
![.$row2[6].](/img/Building-aria.webp)
| Name | Type | OSM Tag | Count |
| bicycle parking | points | amenity = 'bicycle_parking' | 61 |
| police | points | amenity = 'police' | 94 |
| fire station | points | amenity = 'fire_station' | 15 |
| post box | points | amenity = 'post_box' | 111 |
| post office | points | amenity = 'post_office' | 168 |
| telephone | points | amenity = 'telephone' | 94 |
| library | points | amenity = 'library' | 37 |
| townhall | points | amenity = 'townhall' | 13 |
| courthouse | points | amenity = 'courthouse' | 7 |
| embassy | points | amenity = 'embassy' / office = 'diplomatic' | 24 |
| community centre | points | amenity = 'community_centre' | 93 |
| nursing home | points | amenity = 'nursing_home' | 6 |
| arts centre | points | amenity = 'arts_centre' | 17 |
| cemetery | points | amenity = 'grave_yard' / landuse = 'cemetery' | 3 |
| marketplace | points | amenity = 'marketplace' | 103 |
| recycling | points | amenity = 'recycling' | 23 |
| university | points | amenity = 'university' | 5 |
| school | points | amenity = 'school' | 87 |
| kindergarten | points | amenity = 'kindergarten' | 38 |
| college | points | amenity = 'college' | 31 |
| pharmacy | points | amenity = 'pharmacy' | 227 |
| hospital | points | amenity = 'hospital' | 81 |
| clinic | points | amenity = 'clinic' | 42 |
| doctors | points | amenity = 'doctors' | 9 |
| dentist | points | amenity = 'dentist' | 32 |
| veterinary | points | amenity = 'veterinary' | 9 |
| theatre | points | amenity = 'theatre' | 55 |
| nightclub | points | amenity = 'nightclub' | 34 |
| cinema | points | amenity = 'cinema' | 92 |
| swimming pool | points | amenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park' | 24 |
| restaurant | points | amenity = 'restaurant' | 4175 |
| fast food | points | amenity = 'fast_food' | 936 |
| cafe | points | amenity = 'cafe' | 1614 |
| pub | points | amenity = 'pub' | 58 |
| bar, biergarten | points | amenity = 'bar' / amenity = 'biergarten' | 316 |
| food court | points | amenity = 'food_court' | 29 |
| shelter | points | amenity = 'shelter' | 119 |
| car rental | points | amenity = 'car_rental' | 3 |
| car wash | points | amenity = 'car_wash' | 20 |
| bicycle rental | points | amenity = 'bicycle_rental' | 87 |
| bank | points | amenity = 'bank' | 826 |
| atm | points | amenity = 'atm' | 161 |
| toilets | points | amenity = 'toilets' | 785 |
| bench | points | amenity = 'bench' | 289 |
| drinking water | points | amenity = 'drinking_water' | 23 |
| fuel | points | amenity = 'fuel' | 87 |
| bus station | points/polygons | amenity = 'bus_station' | 99 |
| taxi | points/polygons | amenity = 'taxi' | 39 |
| airport | points/polygons | amenity = 'airport' / aeroway = 'aerodrome' + type is not 'airstrip' | 9 |
| ferry terminal | points/polygons | amenity = 'ferry_terminal' | 77 |
![.$row2[6].](/img/Amenity.webp)
| Name | Type | OSM Tag | Count |
| Christian churches | points | amenity = 'place_of_worship' + religion = 'christian' | 195 |
| Synagogue | points | amenity = 'place_of_worship' + religion = 'jewish' | 1 |
| Mosque | points | amenity = 'place_of_worship' + religion = 'muslim' | 5 |
| Buddhist temple | points | amenity = 'place_of_worship' + religion = 'buddhist' | 95 |
| Taoist temple | points | amenity = 'place_of_worship' + religion = 'taoist' | 15 |
![.$row2[6].](/img/Religion.webp)
| Name | Type | OSM Tag | Count |
| fishing | points | leisure = 'fishing' | 2 |
| playground | points/polygons | leisure = 'playground' | 184 |
| sports centre | points/polygons | leisure = 'sports_centre' | 136 |
| stadium | points/polygons | leisure = 'stadium' | 63 |
| track | points | leisure = 'track' | 2 |
| ice rink | points/polygons | leisure = 'ice_rink' | 2 |
| marina | points | leisure = 'marina' | 9 |
| slipway | points | leisure = 'slipway' | 1 |
| golf course | points | leisure = 'golf_course' | 7 |
![.$row2[6].](/img/Leisure.webp)
| Name | Type | OSM Tag | Count |
| supermarket, general | points | shop = 'supermarket' / shop = 'general' | 655 |
| bakery | points | shop = 'bakery' | 294 |
| kiosk | points | shop = 'kiosk' | 24 |
| mall | points | shop = 'mall' | 29 |
| department store | points | shop = 'department_store' | 68 |
| convenience | points | shop = 'convenience' | 1043 |
| clothes | points | shop = 'clothes' | 839 |
| florist | points | shop = 'florist' | 46 |
| chemist | points | shop = 'chemist' | 26 |
| books | points | shop = 'books' | 56 |
| butcher | points | shop = 'butcher' | 30 |
| shoes | points | shop = 'shoes' | 143 |
| alcohol, beverages | points | shop = 'alcohol' / shop = 'beverages' | 82 |
| optician | points | shop = 'optician' | 56 |
| jewelry | points | shop = 'jewelry' | 101 |
| gift | points | shop = 'gift' | 48 |
| sports | points | shop = 'sports' | 56 |
| stationery | points | shop = 'stationery' | 39 |
| outdoor | points | shop = 'outdoor' | 4 |
| mobile phone | points | shop = 'mobile_phone' | 111 |
| toys | points | shop = 'toys' | 32 |
| newsagent | points | shop = 'newsagent' | 2 |
| greengrocer | points | shop = 'greengrocer' | 171 |
| beauty | points | shop = 'beauty' | 104 |
| video | points | shop = 'video' | 2 |
| car | points | shop = 'car' | 103 |
| bicycle | points | shop = 'bicycle' | 68 |
| doityourself, hardwar | points | shop = 'doityourself' / shop = 'hardware' | 66 |
| furniture | points | shop = 'furniture' | 69 |
| computer | points | shop = 'computer' | 21 |
| garden centre | points | shop = 'garden_centre' | 3 |
| hairdresser | points | shop = 'hairdresser' | 212 |
| car repair | points | shop = 'car_repair' | 51 |
![.$row2[6].](/img/Shop.webp)
| Name | Type | OSM Tag | Count |
| Bowling | points | sport = '10pin' / sport = 'bowling' | 2 |
| basketball | points | sport = 'basketball' | 26 |
| chess | points | sport = 'chess' | 1 |
| fitness | points | sport = 'fitness' | 50 |
| gymnastics | points | sport = 'gymnastics' | 3 |
| soccer | points | sport = 'soccer' | 5 |
| swimming | points | sport = 'swimming' | 11 |
| table tennis | points | sport = 'table_tennis' | 2 |
| tennis | points | sport = 'tennis' | 5 |
![.$row2[6].](/img/Sport.webp)
| Name | Type | OSM Tag | Count |
| artwork | points/polygons | tourism = 'artwork' | 243 |
| attraction | points/polygons | tourism = 'attraction' | 382 |
| camp site | points/polygons | tourism = 'camp_site' | 12 |
| caravan site | points/polygons | tourism = 'caravan_site' | 1 |
| guest house | points/polygons | tourism = 'guest_house' | 49 |
| hostel | points/polygons | tourism = 'hostel' | 66 |
| hotel | points | tourism = 'hotel' | 670 |
| information | points/polygons | tourism = 'information' | 64 |
| motel | points/polygons | tourism = 'motel' | 10 |
| museum | points/polygons | tourism = 'museum' | 205 |
| picnic site | points | tourism = 'picnic_site' | 2 |
| theme park | points/polygons | tourism = 'theme_park' | 39 |
| viewpoint | points | tourism = 'viewpoint' | 33 |
| zoo | points/polygons | tourism = 'zoo' | 5 |
| chalet | points/polygons | tourism = 'chalet' | 5 |
| yes | points | tourism = 'yes' | 2 |
| map | points | information = 'map' | 5 |
| board | points | information = 'board' | 7 |
| guidepost | points | information = 'guidepost' | 3 |
| monument | points | historic = 'monument' | 23 |
| memorial | points | historic = 'memorial' | 43 |
| apartment | points | tourism = 'apartment' | 62 |
| gallery | points | tourism = 'gallery' | 22 |
| wilderness hut | points | tourism = 'wilderness_hut' | 1 |
![.$row2[6].](/img/Tourism.webp)
| Name | Type | OSM Tag | Count |
| Coastlines | lines | 1 | |
| Water surface | polygons | 1 | |
| Land boundaries | polygons | 1 |
![.$row2[6].](/img/Land.webp)
| Name | Type | OSM Tag | Count |
| Lakes and large rivers | polygons | natural = 'water' / waterway = 'riverbank' | 5528 |
| Wetland | polygons | natural = 'wetland' | 97 |
| water' and water not | polygons | natural = 'water' + water is not 'river' + water is not 'reservoir' | 4802 |
![.$row2[6].](/img/Hydro.webp)
| Name | Type | OSM Tag | Count |
| Canal | lines | waterway = 'canal' | 6489 |
| Drain | lines | waterway = 'drain' | 689 |
| River | lines | waterway = 'river' | 2481 |
| Stream | lines | waterway = 'stream' | 1696 |
| Others | lines | waterway is not '' | 13722 |
![.$row2[6].](/img/Streems.webp)
| Name | Type | OSM Tag | Count |
| Fence | lines | barrier = 'fence' | 462 |
| Wall | lines | barrier = 'wall' | 1346 |
![.$row2[6].](/img/Fence.webp)
| Name | Type | OSM Tag | Count |
| Tower | points | man_made = 'tower' | 207 |
| Cell tower | points | man_made = 'tower' + tower:type = 'communication' | 114 |
| Water tower | points | man_made = 'water_tower' | 5 |
| Lookout tower | points | man_made = 'tower' + tower:type = 'observation' | 9 |
| Lighthouse | points | man_made = 'lighthouse' | 5 |
| Water well | points | man_made = 'water_well' | 4 |
| Name | Type | OSM Tag | Count |
| Power lines | lines | power is not '' | 2066 |
![.$row2[6].](/img/Power.webp)
| Name | Type | OSM Tag | Count |
| Towers Power lines | points | power is not '' | 17535 |
![.$row2[6].](/img/Power.webp)
| Name | Type | OSM Tag | Count |
| Peak | points | natural = 'peak' | 23 |
| Tree | points | natural = 'tree' | 4297 |
| Cave entrance | points | natural = 'cave_entrance' | 16 |
| Name | Type | OSM Tag | Count |
| City | points | place = 'city' | 17 |
| Town | points | place = 'town' | 115 |
| Village | points | place = 'village' | 331 |
| Hamlet | points | place = 'hamlet' | 173 |
| Hamlet | points | place = 'locality' | 24 |
![.$row2[6].](/img/Settlements.webp)
| Name | Type | OSM Tag | Count |
| Allotments | polygons | landuse = 'allotments' | 4 |
| Basin | polygons | landuse = 'basin' | 11 |
| Brownfield | polygons | landuse = 'brownfield' | 173 |
| Cemetery | polygons | landuse = 'cemetery' | 549 |
| Commercial | polygons | landuse = 'commercial' | 1689 |
| Construction | polygons | landuse = 'construction' | 688 |
| Farm, farmland | polygons | landuse = 'farm' / landuse = 'farmland' | 2431 |
| Farmyard | polygons | landuse = 'farmyard' | 63 |
| Forest | polygons | landuse = 'forest' / landuse = 'natural' | 1598 |
| Garages | polygons | landuse = 'garages' | 27 |
| Grass | polygons | landuse = 'grass' | 2277 |
| Greenfield | polygons | landuse = 'greenfield' | 56 |
| Industrial | polygons | landuse = 'industrial' | 2677 |
| Landfill | polygons | landuse = 'landfill' | 15 |
| Meadow | polygons | landuse = 'meadow' | 212 |
| Quarry | polygons | landuse = 'quarry' | 5 |
| Railway | polygons | landuse = 'railway' | 136 |
| Recreation ground | polygons | landuse = 'recreation_ground' | 228 |
| Reservoir | polygons | landuse = 'reservoir' | 4 |
| Residential | polygons | landuse = 'residential' | 12998 |
| Retail | polygons | landuse = 'retail' | 421 |
| Salt pond | polygons | landuse = 'salt_pond' | 43 |
| Village green | polygons | landuse = 'village_green' | 49 |
| Vineyard | polygons | landuse = 'vineyard' | 4 |
| Plant nursery | polygons | landuse = 'plant_nursery' | 10 |
| Education | polygons | landuse = 'education' | 12 |
| Park | polygons | leisure = 'park' | 2092 |
| Beach | polygons | natural = 'beach' | 7 |
| Grassland | polygons | natural = 'grassland' | 53 |
| Heath | polygons | natural = 'heath' | 20 |
| Sand | polygons | natural = 'sand' | 223 |
| Scrub | polygons | natural = 'scrub' | 110 |
![.$row2[6].](/img/Landuse.webp)
| Name | Type | OSM Tag | Count |
| Amenity | polygons | amenity is not '' | 8196 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| Leisure | polygons | leisure is not '' | 6419 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| Place of worship | polygons | amenity = 'place_of_worship' | 187 |
| Place of worship | polygons | amenity = 'place_of_worship' | 187 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| Shop | polygons | shop is not '' | 870 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| Sport | polygons | sport is not '' | 2398 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| Tourism | polygons | tourism is not '' | 661 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| parking | polygons | amenity = 'parking' | 1960 |
![.$row2[6].](/img/Terr.webp)
| Name | Type | OSM Tag | Count |
| ferry | lines | route = 'ferry' | 37 |
![.$row2[6].](/img/Routes.webp)
| Name | Type | OSM Tag | Count |
| Platform | polygons | railway = 'platform' | 219 |
![.$row2[6].](/img/Platforms.webp)
| Name | Type | OSM Tag | Count |
| Abandoned | lines | railway = 'abandoned' | 223 |
| Construction | lines | railway = 'construction' | 347 |
| Light rail | lines | railway = 'light_rail' | 54 |
| Narrow gauge | lines | railway = 'narrow_gauge' | 12 |
| Platform | lines | railway = 'platform' | 298 |
| Railway | lines | railway = 'rail' + service is null | 1210 |
| Service railway | lines | railway = 'rail' + service is not null | 2301 |
| Subway | lines | railway = 'subway' | 2372 |
| tram | lines | railway = 'tram' | 201 |
| monorail | lines | railway = 'monorail' | 30 |
| funicular | lines | railway = 'funicular' / railway = 'rail' + traction = 'funicular' | 28 |
![.$row2[6].](/img/Railways.webp)
| Name | Type | OSM Tag | Count |
| Trunk | lines | highway = 'trunk' / highway = 'trunk_link' | 5513 |
| Primary | lines | highway = 'primary' / highway = 'primary_link' | 16412 |
| Secondary | lines | highway = 'secondary' / highway = 'secondary_link' | 18084 |
| Tertiary | lines | highway = 'tertiary' / highway = 'tertiary_link' | 22974 |
| Unclassified | lines | highway = 'unclassified' | 19329 |
| Residential | lines | highway = 'residential' | 44436 |
| Service | lines | highway = 'service' | 42751 |
| Footway | lines | highway = 'footway' / highway = 'path' + foot = 'designated' | 21497 |
| Path | lines | highway = 'path' + cycle is not 'designated' + foot is not 'designated' + horse is not 'designated' | 2743 |
| Construction | lines | highway = 'construction' | 478 |
| Road | lines | highway = 'road' | 40 |
| Cycleway | lines | highway = 'cycleway' / highway = 'path' + cycle = 'designated' | 3060 |
| Living street | lines | highway = 'living_street' | 1473 |
| Pedestrian | lines | highway = 'pedestrian' | 1264 |
| Steps | lines | highway = 'steps' | 1081 |
| Track | lines | highway = 'track' | 6086 |
| Bridleway | lines | highway = 'bridleway' / highway = 'path' + horse = 'designated' | 15 |
| Raceway | lines | highway = 'raceway' | 53 |
![.$row2[6].](/img/Roads.webp)
| Name | Type | OSM Tag | Count |
| Crossing | points | highway = 'crossing' / railway = 'level_crossing' | 7975 |
| Traffic signals | points | highway = 'traffic_signals' | 6978 |
| Mini roundabout | points | highway = 'mini_roundabout' | 17 |
| Stop | points | highway = 'stop' | 2 |
| Street lamp | points | highway = 'street_lamp' | 18 |
| Bus stop | points | highway = 'bus_stop' | 30122 |
![.$row2[6].](/img/Roadinf.webp)
| Name | Type | OSM Tag | Count |
| services | polygons | highway = 'services' | 11 |
| Name | Type | OSM Tag | Count |
| square | polygons | place = 'square' | 118 |
![.$row2[6].](/img/Squere.webp)
| Name | Type | OSM Tag | Count |
| Station | points | railway = 'station' | 381 |
| Tram stop | points | railway = 'tram_stop' / public_transport = 'stop_position' + tram = 'yes' | 184 |
| Subway entrance | points | railway = 'subway_entrance' | 1491 |
![.$row2[6].](/img/Station.webp)
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.
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.