GeoDataViewer
Menu
Launch Studio
Theme

Geofabrik Railway Extracts

Quick answer: Geofabrik railway extracts provide detailed regional rail data from OpenStreetMap, ideal when you need more detail than global datasets offer.

Format PBF / Shapefile
Coverage Global by region
Resolution OSM community detail
License ODbL
Update Daily updates

Next step

Already have the export?

Open a GeoJSON result in the browser to inspect its map and attributes before sharing or converting it again.

Open GeoJSON online

Format

PBF / Shapefile

Geometry

LineString

Coverage

Global by region

Resolution

OSM community detail

About this dataset

Regional OpenStreetMap railway extracts from Geofabrik in PBF and shapefile formats.

Download railway-specific OpenStreetMap extracts from Geofabrik for detailed regional rail network analysis.

Geofabrik Railway Extracts: dataset download instructions

Download steps from this dataset’s GeoDataViewer guide. Follow the original provider for current files and access requirements.

Regional rail analysis OSM transport extraction Detailed network mapping

How to download

  1. 1 Open the Geofabrik download homepage.
  2. 2 Navigate to the continent and country of interest.
  3. 3 Download the regional PBF or shapefile package.
  4. 4 Filter the railway layer and inspect it locally.

FAQ

How do I extract only railways from a Geofabrik PBF?

Use GDAL ogr2ogr or osmium with a tag filter to extract railway features from the full regional PBF.

Are Geofabrik railway extracts updated daily?

Yes. Regional extracts are typically updated daily from OpenStreetMap.