Costa Rica

Extracts data of Costa Rica from the OpenstreetMaps project for free

OpenStreetMap vector data for Costa Rica supports high-quality GIS workflows, enabling developers and researchers to build navigation apps, perform spatial analysis, and create professional cartography. This region is defined by its dramatic topography, characterized by a central volcanic mountain range running northwest to southeast that divides the Pacific and Caribbean slopes. The available free daily .pbf extract allows for flexible loading into tools like osm2pgsql or QGIS. For users seeking an immediate start, a paid QGIS 3 project is offered as an optional upgrade, providing a pre-styled GeoPackage and Shapefile set along with vector icons to streamline project setup.

Main files

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

Additional Files

Prepared geodata of Costa Rica

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

 

 

Costa Rica 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 Costa Rica and sample project

Statistics on objects in the Costa Rica

NameTypeOSM TagCount
Countrieslinesadmin_level = '2'123
Administrative level 4linesadmin_level = '4'493
Administrative level 6linesadmin_level = '6'1521
Administrative level 8linesadmin_level = '8'2907
Administrative level 10linesadmin_level = '10'950
.$row2[6].
NameTypeOSM TagCount
Administrative level 4polygonsadmin_level = '4'4
Administrative level 5polygonsadmin_level = '5'1
Administrative level 6polygonsadmin_level = '6'87
Administrative level 8polygonsadmin_level = '8'495
Administrative level 10polygonsadmin_level = '10'533
Placespolygonsplace = 'city' / place = 'town' / place = 'village' / place = 'hamlet' / place = 'locality' / place = 'suburb' / place = 'island' / place = 'farm' / place = 'isolated_dwelling'78
.$row2[6].
NameTypeOSM TagCount
Townpolygonsplace = 'town'3
Villagepolygonsplace = 'village'13
Hamletpolygonsplace = 'hamlet'20
Localitypolygonsplace = 'locality'3
Islandpolygonsplace = 'island'36
Farmpolygonsplace = 'farm'3
NameTypeOSM TagCount
Buildingpointsbuilding is not ''1093
.$row2[6].
NameTypeOSM TagCount
Buildingpolygonsbuilding is not ''206759
Dominantspolygonsbuilding = 'church' / building = 'government' / building = 'cathedral' / building = 'public' / building = 'hospital' / building = 'train_station' / building = 'chapel' / building = 'college' / building = 'university'1665
Schools and kindergartenspolygonsbuilding = 'school' / building = 'kindergarten'473
Under constructionpolygonsbuilding = 'construction'301
.$row2[6].
NameTypeOSM TagCount
bicycle parkingpointsamenity = 'bicycle_parking'86
policepointsamenity = 'police'292
fire stationpointsamenity = 'fire_station'1
post boxpointsamenity = 'post_box'8
post officepointsamenity = 'post_office'74
telephonepointsamenity = 'telephone'69
librarypointsamenity = 'library'24
townhallpointsamenity = 'townhall'26
courthousepointsamenity = 'courthouse'21
embassypointsamenity = 'embassy' / office = 'diplomatic'80
community centrepointsamenity = 'community_centre'101
nursing homepointsamenity = 'nursing_home'1
arts centrepointsamenity = 'arts_centre'9
cemeterypointsamenity = 'grave_yard' / landuse = 'cemetery'8
marketplacepointsamenity = 'marketplace'28
recyclingpointsamenity = 'recycling'71
universitypointsamenity = 'university'29
schoolpointsamenity = 'school'403
kindergartenpointsamenity = 'kindergarten'23
collegepointsamenity = 'college'15
pharmacypointsamenity = 'pharmacy'387
hospitalpointsamenity = 'hospital'11
clinicpointsamenity = 'clinic'497
doctorspointsamenity = 'doctors'322
dentistpointsamenity = 'dentist'182
veterinarypointsamenity = 'veterinary'89
theatrepointsamenity = 'theatre'20
nightclubpointsamenity = 'nightclub'20
cinemapointsamenity = 'cinema'28
swimming poolpointsamenity = 'swimming_pool' / leisure = 'swimming_pool' / sport = 'swimming' / leisure = 'water_park'23
restaurantpointsamenity = 'restaurant'2586
fast foodpointsamenity = 'fast_food'900
cafepointsamenity = 'cafe'484
pubpointsamenity = 'pub'67
bar, biergartenpointsamenity = 'bar' / amenity = 'biergarten'739
food courtpointsamenity = 'food_court'20
shelterpointsamenity = 'shelter'65
car rentalpointsamenity = 'car_rental'84
car washpointsamenity = 'car_wash'56
bicycle rentalpointsamenity = 'bicycle_rental'25
bankpointsamenity = 'bank'301
atmpointsamenity = 'atm'329
toiletspointsamenity = 'toilets'257
benchpointsamenity = 'bench'537
drinking waterpointsamenity = 'drinking_water'51
fuelpointsamenity = 'fuel'78
bus stationpoints/polygonsamenity = 'bus_station'505
taxipoints/polygonsamenity = 'taxi'128
airportpoints/polygonsamenity = 'airport' / aeroway = 'aerodrome' + type is not 'airstrip'85
ferry terminalpoints/polygonsamenity = 'ferry_terminal'66
.$row2[6].
NameTypeOSM TagCount
Christian churchespointsamenity = 'place_of_worship' + religion = 'christian'1977
.$row2[6].
NameTypeOSM TagCount
fishingpointsleisure = 'fishing'1
playgroundpoints/polygonsleisure = 'playground'264
sports centrepoints/polygonsleisure = 'sports_centre'240
stadiumpoints/polygonsleisure = 'stadium'77
trackpointsleisure = 'track'5
marinapointsleisure = 'marina'19
slipwaypointsleisure = 'slipway'16
dog parkpointsleisure = 'dog_park'9
.$row2[6].
NameTypeOSM TagCount
supermarket, generalpointsshop = 'supermarket' / shop = 'general'411
bakerypointsshop = 'bakery'440
kioskpointsshop = 'kiosk'21
mallpointsshop = 'mall'13
department storepointsshop = 'department_store'79
conveniencepointsshop = 'convenience'1121
clothespointsshop = 'clothes'629
floristpointsshop = 'florist'39
chemistpointsshop = 'chemist'17
bookspointsshop = 'books'73
butcherpointsshop = 'butcher'200
shoespointsshop = 'shoes'154
alcohol, beveragespointsshop = 'alcohol' / shop = 'beverages'111
opticianpointsshop = 'optician'127
jewelrypointsshop = 'jewelry'66
giftpointsshop = 'gift'111
sportspointsshop = 'sports'60
stationerypointsshop = 'stationery'19
outdoorpointsshop = 'outdoor'20
mobile phonepointsshop = 'mobile_phone'139
toyspointsshop = 'toys'17
greengrocerpointsshop = 'greengrocer'130
beautypointsshop = 'beauty'161
videopointsshop = 'video'26
carpointsshop = 'car'58
bicyclepointsshop = 'bicycle'75
doityourself, hardwarpointsshop = 'doityourself' / shop = 'hardware'184
furniturepointsshop = 'furniture'54
computerpointsshop = 'computer'44
garden centrepointsshop = 'garden_centre'33
hairdresserpointsshop = 'hairdresser'231
car repairpointsshop = 'car_repair'318
.$row2[6].
NameTypeOSM TagCount
athleticspointssport = 'athletics'3
basketballpointssport = 'basketball'8
chesspointssport = 'chess'5
cyclingpointssport = 'cycling'8
fitnesspointssport = 'fitness'24
gymnasticspointssport = 'gymnastics'12
soccerpointssport = 'soccer'8
swimmingpointssport = 'swimming'8
tennispointssport = 'tennis'3
.$row2[6].
NameTypeOSM TagCount
artworkpoints/polygonstourism = 'artwork'74
attractionpoints/polygonstourism = 'attraction'478
camp sitepoints/polygonstourism = 'camp_site'104
guest housepoints/polygonstourism = 'guest_house'365
hostelpoints/polygonstourism = 'hostel'340
hotelpointstourism = 'hotel'1772
informationpoints/polygonstourism = 'information'228
motelpoints/polygonstourism = 'motel'70
museumpoints/polygonstourism = 'museum'68
picnic sitepointstourism = 'picnic_site'37
theme parkpoints/polygonstourism = 'theme_park'9
viewpointpointstourism = 'viewpoint'340
zoopoints/polygonstourism = 'zoo'22
chaletpoints/polygonstourism = 'chalet'102
yespointstourism = 'yes'8
alpine hutpointstourism = 'alpine_hut'43
mappointsinformation = 'map'9
boardpointsinformation = 'board'38
guidepostpointsinformation = 'guidepost'21
monumentpointshistoric = 'monument'119
memorialpointshistoric = 'memorial'89
apartmentpointstourism = 'apartment'94
camp pitchpointstourism = 'camp_pitch'1
gallerypointstourism = 'gallery'21
wilderness hutpointstourism = 'wilderness_hut'8
.$row2[6].
NameTypeOSM TagCount
Coastlineslines1
Water surfacepolygons1
Land boundariespolygons1
.$row2[6].
NameTypeOSM TagCount
Lakes and large riverspolygonsnatural = 'water' / waterway = 'riverbank'1474
Wetlandpolygonsnatural = 'wetland'523
water' and water notpolygonsnatural = 'water' + water is not 'river' + water is not 'reservoir'1053
.$row2[6].
NameTypeOSM TagCount
Canallineswaterway = 'canal'266
Drainlineswaterway = 'drain'214
Riverlineswaterway = 'river'6122
Streamlineswaterway = 'stream'8671
Otherslineswaterway is not ''15594
.$row2[6].
NameTypeOSM TagCount
Fencelinesbarrier = 'fence'320
Walllinesbarrier = 'wall'260
.$row2[6].
NameTypeOSM TagCount
Towerpointsman_made = 'tower'651
Cell towerpointsman_made = 'tower' + tower:type = 'communication'576
Water towerpointsman_made = 'water_tower'58
Lookout towerpointsman_made = 'tower' + tower:type = 'observation'12
Lighthousepointsman_made = 'lighthouse'7
Water wellpointsman_made = 'water_well'17
NameTypeOSM TagCount
Power lineslinespower is not ''918
.$row2[6].
NameTypeOSM TagCount
Towers Power linespointspower is not ''13266
.$row2[6].
NameTypeOSM TagCount
Springpointsnatural = 'spring'29
Peakpointsnatural = 'peak'745
Volcanopoints/polygonsnatural = 'volcano'35
Treepointsnatural = 'tree'4742
Cave entrancepointsnatural = 'cave_entrance'10
NameTypeOSM TagCount
Citypointsplace = 'city'16
Townpointsplace = 'town'73
Villagepointsplace = 'village'444
Hamletpointsplace = 'hamlet'3013
Hamletpointsplace = 'locality'105
The capitalpointsplace = 'city' + is_capital = 'country' / admin_level = '2' / capital = 'yes' + 'admin_level' is null1
.$row2[6].
NameTypeOSM TagCount
Allotmentspolygonslanduse = 'allotments'5
Basinpolygonslanduse = 'basin'20
Brownfieldpolygonslanduse = 'brownfield'28
Cemeterypolygonslanduse = 'cemetery'784
Commercialpolygonslanduse = 'commercial'210
Constructionpolygonslanduse = 'construction'141
Farm, farmlandpolygonslanduse = 'farm' / landuse = 'farmland'2167
Farmyardpolygonslanduse = 'farmyard'246
Forestpolygonslanduse = 'forest' / landuse = 'natural'233
Grasspolygonslanduse = 'grass'1212
Greenfieldpolygonslanduse = 'greenfield'204
Industrialpolygonslanduse = 'industrial'1061
Landfillpolygonslanduse = 'landfill'30
Meadowpolygonslanduse = 'meadow'3643
Quarrypolygonslanduse = 'quarry'102
Railwaypolygonslanduse = 'railway'3
Recreation groundpolygonslanduse = 'recreation_ground'304
Reservoirpolygonslanduse = 'reservoir'46
Residentialpolygonslanduse = 'residential'5356
Retailpolygonslanduse = 'retail'40
Salt pondpolygonslanduse = 'salt_pond'291
Village greenpolygonslanduse = 'village_green'1
Vineyardpolygonslanduse = 'vineyard'3
Plant nurserypolygonslanduse = 'plant_nursery'97
Educationpolygonslanduse = 'education'8
Parkpolygonsleisure = 'park'3234
Beachpolygonsnatural = 'beach'363
Grasslandpolygonsnatural = 'grassland'341
Heathpolygonsnatural = 'heath'28
Sandpolygonsnatural = 'sand'24
Scrubpolygonsnatural = 'scrub'765
.$row2[6].
NameTypeOSM TagCount
Amenitypolygonsamenity is not ''21054
.$row2[6].
NameTypeOSM TagCount
Leisurepolygonsleisure is not ''12208
.$row2[6].
NameTypeOSM TagCount
Place of worshippolygonsamenity = 'place_of_worship'1763
Place of worshippolygonsamenity = 'place_of_worship'1763
.$row2[6].
NameTypeOSM TagCount
Shoppolygonsshop is not ''12446
.$row2[6].
NameTypeOSM TagCount
Sportpolygonssport is not ''5226
.$row2[6].
NameTypeOSM TagCount
Tourismpolygonstourism is not ''1627
.$row2[6].
NameTypeOSM TagCount
parkingpolygonsamenity = 'parking'3821
.$row2[6].
NameTypeOSM TagCount
bus, tram, trolleybuslinesroute = 'bus' / route = 'trolleybus' / route = 'tram' / route = 'share_taxi'5
ferrylinesroute = 'ferry'39
.$row2[6].
NameTypeOSM TagCount
Platformpolygonsrailway = 'platform'1
.$row2[6].
NameTypeOSM TagCount
Abandonedlinesrailway = 'abandoned'16
Narrow gaugelinesrailway = 'narrow_gauge'28
Platformlinesrailway = 'platform'14
Railwaylinesrailway = 'rail' + service is null261
Service railwaylinesrailway = 'rail' + service is not null94
funicularlinesrailway = 'funicular' / railway = 'rail' + traction = 'funicular'1
.$row2[6].
NameTypeOSM TagCount
Trunklineshighway = 'trunk' / highway = 'trunk_link'3158
Primarylineshighway = 'primary' / highway = 'primary_link'1158
Secondarylineshighway = 'secondary' / highway = 'secondary_link'4486
Tertiarylineshighway = 'tertiary' / highway = 'tertiary_link'3433
Unclassifiedlineshighway = 'unclassified'17478
Residentiallineshighway = 'residential'65262
Servicelineshighway = 'service'44922
Footwaylineshighway = 'footway' / highway = 'path' + foot = 'designated'8409
Pathlineshighway = 'path' + cycle is not 'designated' + foot is not 'designated' + horse is not 'designated'3645
Constructionlineshighway = 'construction'219
Roadlineshighway = 'road'2
Cyclewaylineshighway = 'cycleway' / highway = 'path' + cycle = 'designated'92
Living streetlineshighway = 'living_street'2375
Pedestrianlineshighway = 'pedestrian'172
Stepslineshighway = 'steps'491
Tracklineshighway = 'track'8508
Bridlewaylineshighway = 'bridleway' / highway = 'path' + horse = 'designated'64
Racewaylineshighway = 'raceway'24
.$row2[6].
NameTypeOSM TagCount
Crossingpointshighway = 'crossing' / railway = 'level_crossing'2075
Traffic signalspointshighway = 'traffic_signals'701
Mini roundaboutpointshighway = 'mini_roundabout'112
Stoppointshighway = 'stop'1094
Speed camerapointshighway = 'speed_camera'1
Street lamppointshighway = 'street_lamp'1141
Bus stoppointshighway = 'bus_stop'3083
.$row2[6].
NameTypeOSM TagCount
servicespolygonshighway = 'services'1
NameTypeOSM TagCount
squarepolygonsplace = 'square'73
.$row2[6].
NameTypeOSM TagCount
Stationpointsrailway = 'station'55
Haltpointsrailway = 'halt'2
Tram stoppointsrailway = 'tram_stop' / public_transport = 'stop_position' + tram = 'yes'1
.$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.