Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 695 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 695 Bytes

geonames

Fetch translations from http://www.geonames.org/ for Trainline stations https://github.com/trainline-eu/stations

Install

You'll need Ruby on your computer to run this script.

Install dependencies:

make install

Run

Launch batch translations search:

make run

It will populate a local cache to avoid querying the API twice with the same search. When the process is finished, you'll get the modified stations file in stations2.csv.

And for the final touch:

make polish

It will check and fix a few things about parent / child relationships and generate stations3.csv, ready to be contributed back to the official stations project.