Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 1.14 KB

README.md

File metadata and controls

14 lines (9 loc) · 1.14 KB

osm-transit-extractor GitHub Workflow Status

This crate is a library to extract public transport data from an OpenStreetMap file. A CSV output with several files is also provided as a quick mean to manipulate public transport data from OSM with an external tool.

The crate osmpbfreader is used to read the provided OpenStreetMap PBF files

Description of the extraction process is (details here)[./documentation/README.md].

How to use

Run the program with --help to display available parameters. The simplest way to use it is : osm-transit-extractor -i name_of_the_osm_file.osm.pbf

This command will extract the public transport data and write them to CSV files in the current directory. The output directory can be changed with the use of the parameter -o /path/to/the/dest/directory/