Reverse geocoding for air quality stations
batutta checks the metadata file provided by the European Environmental Agency nightly and updates ./eea-staiton.json
when new stations are found in that metadata file.
batutta uses Mapzen's pelias for the reverse geocoding.
./eea-stations.json
spec
[
{
"location": "Tiranë",
"city": "Durrës",
"bounds":[20.4004071938,40.4295094918,20.8659434619,40.7186423442],
"stationId":"AL0203A"
},
...
]
$ npm install
$ npm install -g jsonlint
$ npm run battuta
$ npm run lint-stations