Afghanistan

Extracts data of Afghanistan from the OpenstreetMaps project for free

Download this OpenStreetMap vector data extract for Afghanistan to support advanced mapping, navigation applications, and spatial analysis projects. The dataset provides a comprehensive foundation for cartography and geographic research within the region. In addition to the free daily updated .pbf file, you may purchase a ready-to-use QGIS 3 project featuring pre-styled Shapefile or GeoPackage layers and icon packs to streamline your workflow. The country is a landlocked country located at the crossroads of Central and South Asia, bordered by Pakistan to the east and south, Iran to the west, Turkmenistan, Uzbekistan, and Tajikistan to the north, and China to the northeast.

Main files

  • [afghanistan.pbf] - for osm2pgsql, Osmium, Osmosis, imposm, mkgmap, and others. This file was last modified 19 hours ago and contains all OSM data up to October 13 2026 23:00:00 UTC. File size: 118.3MB; MD5 sum: 8de9481621e41d9b61b0888269a0600a.

Additional Files

Prepared geodata of Afghanistan

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

 

 

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

Statistics on objects in the Afghanistan

NameTypeOSM TagCount
Countrieslinesadmin_level = '2'361
Administrative level 3linesadmin_level = '3'2
Administrative level 4linesadmin_level = '4'389
Administrative level 5linesadmin_level = '5'25
Administrative level 6linesadmin_level = '6'774
Administrative level 8linesadmin_level = '8'14
Administrative level 10linesadmin_level = '10'1
.$row2[6].
NameTypeOSM TagCount
Countriespolygonsadmin_level = '2'1
Administrative level 4polygonsadmin_level = '4'34
Administrative level 5polygonsadmin_level = '5'398
Administrative level 6polygonsadmin_level = '6'2
Administrative level 10polygonsadmin_level = '10'1
Placespolygonsplace = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling'1002
.$row2[6].
NameTypeOSM TagCount
Citypolygonsplace = 'city'3
Townpolygonsplace = 'town'25
Villagepolygonsplace = 'village'310
Hamletpolygonsplace = 'hamlet'545
Localitypolygonsplace = 'locality'8
Suburbpolygonsplace = 'suburb'4
Islandpolygonsplace = 'island'67
Farmpolygonsplace = 'farm'1
Isolated dwellingpolygonsplace = 'isolated_dwelling'39
Region or countrypolygonsplace = 'region' / place = 'county'2
NameTypeOSM TagCount
Buildingpointsbuilding is not ''4623
.$row2[6].
NameTypeOSM TagCount
Buildingpolygonsbuilding is not ''2002808
Dominantspolygonsbuilding = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university'282
Schools and kindergartenspolygonsbuilding = 'school' / building = 'kindergarten'1494
Under constructionpolygonsbuilding = 'construction'424
.$row2[6].
NameTypeOSM TagCount
bicycle parkingpointsamenity = 'bicycle_parking'1
policepointsamenity = 'police'75
fire stationpointsamenity = 'fire_station'3
post boxpointsamenity = 'post_box'2
post officepointsamenity = 'post_office'24
telephonepointsamenity = 'telephone'4
librarypointsamenity = 'library'12
townhallpointsamenity = 'townhall'11
courthousepointsamenity = 'courthouse'4
prisonpointsamenity = 'prison'1
embassypointsamenity = 'embassy' / office = 'diplomatic'10
community centrepointsamenity = 'community_centre'29
nursing homepointsamenity = 'nursing_home'8
arts centrepointsamenity = 'arts_centre'7
cemeterypointsamenity = 'grave_yard' / landuse = 'cemetery'6
marketplacepointsamenity = 'marketplace'138
recyclingpointsamenity = 'recycling'1
universitypointsamenity = 'university'18
schoolpointsamenity = 'school'395
kindergartenpointsamenity = 'kindergarten'15
collegepointsamenity = 'college'18
pharmacypointsamenity = 'pharmacy'115
hospitalpointsamenity = 'hospital'121
clinicpointsamenity = 'clinic'125
doctorspointsamenity = 'doctors'27
dentistpointsamenity = 'dentist'42
theatrepointsamenity = 'theatre'2
nightclubpointsamenity = 'nightclub'1
cinemapointsamenity = 'cinema'5
swimming poolpointsamenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park'8
restaurantpointsamenity = 'restaurant'266
fast foodpointsamenity = 'fast_food'71
cafepointsamenity = 'cafe'91
pubpointsamenity = 'pub'2
bar, biergartenpointsamenity = 'bar' / amenity = 'biergarten'12
shelterpointsamenity = 'shelter'99
car washpointsamenity = 'car_wash'43
car sharingpointsamenity = 'car_sharing'2
bicycle rentalpointsamenity = 'bicycle_rental'1
bankpointsamenity = 'bank'120
atmpointsamenity = 'atm'68
toiletspointsamenity = 'toilets'91
benchpointsamenity = 'bench'20
drinking waterpointsamenity = 'drinking_water'138
fuelpointsamenity = 'fuel'563
bus stationpoints/polygonsamenity = 'bus_station'45
taxipoints/polygonsamenity = 'taxi'12
airportpoints/polygonsamenity = 'airport' / aeroway = 'aerodrome' + type is not 'airstrip'63
ferry terminalpoints/polygonsamenity = 'ferry_terminal'87
.$row2[6].
NameTypeOSM TagCount
Christian churchespointsamenity = 'place_of_worship' + religion = 'christian'1
Mosquepointsamenity = 'place_of_worship' + religion = 'muslim'2562
Buddhist templepointsamenity = 'place_of_worship' + religion = 'buddhist'1
Hindu templepointsamenity = 'place_of_worship' + religion = 'hindu'1
.$row2[6].
NameTypeOSM TagCount
playgroundpoints/polygonsleisure = 'playground'18
sports centrepoints/polygonsleisure = 'sports_centre'50
stadiumpoints/polygonsleisure = 'stadium'36
marinapointsleisure = 'marina'3
.$row2[6].
NameTypeOSM TagCount
supermarket, generalpointsshop = 'supermarket' / shop = 'general'136
bakerypointsshop = 'bakery'102
kioskpointsshop = 'kiosk'8
mallpointsshop = 'mall'5
department storepointsshop = 'department_store'2
conveniencepointsshop = 'convenience'346
clothespointsshop = 'clothes'39
floristpointsshop = 'florist'11
chemistpointsshop = 'chemist'32
bookspointsshop = 'books'18
butcherpointsshop = 'butcher'14
shoespointsshop = 'shoes'7
alcohol, beveragespointsshop = 'alcohol' / shop = 'beverages'12
opticianpointsshop = 'optician'2
jewelrypointsshop = 'jewelry'7
giftpointsshop = 'gift'6
sportspointsshop = 'sports'5
stationerypointsshop = 'stationery'19
outdoorpointsshop = 'outdoor'1
mobile phonepointsshop = 'mobile_phone'22
toyspointsshop = 'toys'1
greengrocerpointsshop = 'greengrocer'9
beautypointsshop = 'beauty'21
carpointsshop = 'car'11
bicyclepointsshop = 'bicycle'7
doityourself, hardwarpointsshop = 'doityourself' / shop = 'hardware'19
furniturepointsshop = 'furniture'19
computerpointsshop = 'computer'15
garden centrepointsshop = 'garden_centre'1
hairdresserpointsshop = 'hairdresser'50
car repairpointsshop = 'car_repair'42
.$row2[6].
NameTypeOSM TagCount
Bowlingpointssport = '10pin' / sport = 'bowling'2
athleticspointssport = 'athletics'4
basketballpointssport = 'basketball'2
gymnasticspointssport = 'gymnastics'3
soccerpointssport = 'soccer'6
swimmingpointssport = 'swimming'2
table tennispointssport = 'table_tennis'3
volleyballpointssport = 'volleyball'4
.$row2[6].
NameTypeOSM TagCount
artworkpoints/polygonstourism = 'artwork'27
attractionpoints/polygonstourism = 'attraction'136
camp sitepoints/polygonstourism = 'camp_site'17
caravan sitepoints/polygonstourism = 'caravan_site'18
guest housepoints/polygonstourism = 'guest_house'171
hostelpoints/polygonstourism = 'hostel'20
hotelpointstourism = 'hotel'143
informationpoints/polygonstourism = 'information'20
motelpoints/polygonstourism = 'motel'3
museumpoints/polygonstourism = 'museum'20
picnic sitepointstourism = 'picnic_site'3
theme parkpoints/polygonstourism = 'theme_park'7
viewpointpointstourism = 'viewpoint'130
zoopoints/polygonstourism = 'zoo'3
chaletpoints/polygonstourism = 'chalet'1
yespointstourism = 'yes'1
alpine hutpointstourism = 'alpine_hut'4
boardpointsinformation = 'board'5
guidepostpointsinformation = 'guidepost'1
monumentpointshistoric = 'monument'15
memorialpointshistoric = 'memorial'41
apartmentpointstourism = 'apartment'115
.$row2[6].
NameTypeOSM TagCount
Coastlineslines1
Water surfacepolygons1
Land boundariespolygons1
.$row2[6].
NameTypeOSM TagCount
Lakes and large riverspolygonsnatural = 'water' / waterway = 'riverbank'3652
Wetlandpolygonsnatural = 'wetland'260
water' and water notpolygonsnatural = 'water' + water is not 'river' + water is not 'reservoir'2118
.$row2[6].
NameTypeOSM TagCount
Canallineswaterway = 'canal'4896
Drainlineswaterway = 'drain'1206
Riverlineswaterway = 'river'3566
Streamlineswaterway = 'stream'12165
Otherslineswaterway is not ''24268
.$row2[6].
NameTypeOSM TagCount
Fencelinesbarrier = 'fence'701
Walllinesbarrier = 'wall'13707
.$row2[6].
NameTypeOSM TagCount
Towerpointsman_made = 'tower'1067
Cell towerpointsman_made = 'tower' + tower:type = 'communication'203
Water towerpointsman_made = 'water_tower'39
Lookout towerpointsman_made = 'tower' + tower:type = 'observation'127
Lighthousepointsman_made = 'lighthouse'1
Water wellpointsman_made = 'water_well'728
Watermillpointsman_made = 'watermill'15
NameTypeOSM TagCount
Power lineslinespower is not ''5930
.$row2[6].
NameTypeOSM TagCount
Towers Power linespointspower is not ''23340
.$row2[6].
NameTypeOSM TagCount
Springpointsnatural = 'spring'185
Peakpointsnatural = 'peak'1485
Volcanopoints/polygonsnatural = 'volcano'4
Treepointsnatural = 'tree'271851
Cave entrancepointsnatural = 'cave_entrance'18
NameTypeOSM TagCount
Citypointsplace = 'city'36
Townpointsplace = 'town'278
Villagepointsplace = 'village'3024
Hamletpointsplace = 'hamlet'4909
Hamletpointsplace = 'locality'148
The capitalpointsplace = 'city' + is_capital = 'country' / admin_level = '2' / capital = 'yes' + 'admin_level' is null1
.$row2[6].
NameTypeOSM TagCount
Allotmentspolygonslanduse = 'allotments'10
Basinpolygonslanduse = 'basin'22
Brownfieldpolygonslanduse = 'brownfield'171
Cemeterypolygonslanduse = 'cemetery'813
Commercialpolygonslanduse = 'commercial'173
Constructionpolygonslanduse = 'construction'16
Farm, farmlandpolygonslanduse = 'farm' / landuse = 'farmland'76154
Farmyardpolygonslanduse = 'farmyard'400
Forestpolygonslanduse = 'forest' / landuse = 'natural'233
Garagespolygonslanduse = 'garages'60
Grasspolygonslanduse = 'grass'479
Greenfieldpolygonslanduse = 'greenfield'175
Industrialpolygonslanduse = 'industrial'1125
Landfillpolygonslanduse = 'landfill'38
Meadowpolygonslanduse = 'meadow'64
Quarrypolygonslanduse = 'quarry'148
Railwaypolygonslanduse = 'railway'6
Recreation groundpolygonslanduse = 'recreation_ground'3
Reservoirpolygonslanduse = 'reservoir'1
Residentialpolygonslanduse = 'residential'43629
Retailpolygonslanduse = 'retail'642
Village greenpolygonslanduse = 'village_green'4
Vineyardpolygonslanduse = 'vineyard'15
Educationpolygonslanduse = 'education'8
Parkpolygonsleisure = 'park'330
Beachpolygonsnatural = 'beach'1
Grasslandpolygonsnatural = 'grassland'91
Heathpolygonsnatural = 'heath'14
Sandpolygonsnatural = 'sand'298
Scrubpolygonsnatural = 'scrub'279
.$row2[6].
NameTypeOSM TagCount
Amenitypolygonsamenity is not ''4361
.$row2[6].
NameTypeOSM TagCount
Leisurepolygonsleisure is not ''1149
.$row2[6].
NameTypeOSM TagCount
Place of worshippolygonsamenity = 'place_of_worship'946
Place of worshippolygonsamenity = 'place_of_worship'946
.$row2[6].
NameTypeOSM TagCount
Shoppolygonsshop is not ''802
.$row2[6].
NameTypeOSM TagCount
Sportpolygonssport is not ''190
.$row2[6].
NameTypeOSM TagCount
Tourismpolygonstourism is not ''173
.$row2[6].
NameTypeOSM TagCount
parkingpolygonsamenity = 'parking'260
.$row2[6].
NameTypeOSM TagCount
ferrylinesroute = 'ferry'48
.$row2[6].
NameTypeOSM TagCount
Platformpolygonsrailway = 'platform'12
.$row2[6].
NameTypeOSM TagCount
Abandonedlinesrailway = 'abandoned'28
Constructionlinesrailway = 'construction'4
Platformlinesrailway = 'platform'14
Railwaylinesrailway = 'rail' + service is null136
Service railwaylinesrailway = 'rail' + service is not null377
Subwaylinesrailway = 'subway'1
monoraillinesrailway = 'monorail'1
.$row2[6].
NameTypeOSM TagCount
Trunklineshighway = 'trunk' / highway = 'trunk_link'2399
Primarylineshighway = 'primary' / highway = 'primary_link'1717
Secondarylineshighway = 'secondary' / highway = 'secondary_link'3789
Tertiarylineshighway = 'tertiary' / highway = 'tertiary_link'25265
Unclassifiedlineshighway = 'unclassified'45902
Residentiallineshighway = 'residential'151086
Servicelineshighway = 'service'12871
Footwaylineshighway = 'footway' / highway = 'path' + foot = 'designated'4126
Pathlineshighway = 'path' + cycle is not 'designated' + foot is not 'designated' + horse is not 'designated'19619
Constructionlineshighway = 'construction'159
Roadlineshighway = 'road'49
Cyclewaylineshighway = 'cycleway' / highway = 'path' + cycle = 'designated'24
Living streetlineshighway = 'living_street'1948
Pedestrianlineshighway = 'pedestrian'129
Stepslineshighway = 'steps'70
Tracklineshighway = 'track'26501
Bridlewaylineshighway = 'bridleway' / highway = 'path' + horse = 'designated'12
Racewaylineshighway = 'raceway'2
.$row2[6].
NameTypeOSM TagCount
Crossingpointshighway = 'crossing' / railway = 'level_crossing'465
Traffic signalspointshighway = 'traffic_signals'21
Mini roundaboutpointshighway = 'mini_roundabout'2
Street lamppointshighway = 'street_lamp'57
Bus stoppointshighway = 'bus_stop'332
.$row2[6].
NameTypeOSM TagCount
servicespolygonshighway = 'services'6
NameTypeOSM TagCount
squarepolygonsplace = 'square'2
.$row2[6].
NameTypeOSM TagCount
Stationpointsrailway = 'station'27
Haltpointsrailway = 'halt'4
.$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.