This pythons scripts helps to export railway stations from osm to import them to the database of https://railway-stations.org
This project requires Python3
pip install -r requirements.txt
./import.py -h # will show all possible parameters
An example for Luxembourg
./import.py lu --region luxembourg
The script exports 4 formats (json, csv, sql and an html map) in the output
-directory
To ignore false positives, add the parameter --ignoreFile
with the path to a file with ignored osm type/id. (see the file ignore-exmaple.txt
for the format)