/fixOurRail

Find errors in OpenStreetMap data for railways

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Fix Our Rail

Check OpenStreetMap data for strange data about railway tracks and publish to osmose.

How to use

You need npm and osmium tool (there might be a packet existing in your distribution).

Install dependencies

sudo apt install osmium-tool # on debian/ubuntu

npm install

Get the data to test

Find the country you want to analyse on https://download.geofabrik.de/

Launch the analysis

sh process-pbf.sh some_country.osm.pbf > result.xml

The result.xml file can be uploaded to an osmose instance

Context of the project

The osrd projects can use OpenStreetMap data to simulate train routes.

This project was a response to a challenge suggested by SNCF Réseau during the Dreiländerhack.

Contributors

License

The content of this repository is licensed under the Apache 2.0 license.