https://github.com/openaq/battuta
Reverse geocoding for air quality stations
https://github.com/openaq/battuta
Last synced: 4 months ago
JSON representation
Reverse geocoding for air quality stations
- Host: GitHub
- URL: https://github.com/openaq/battuta
- Owner: openaq
- License: mit
- Created: 2017-08-10T20:46:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-01T18:07:27.000Z (over 7 years ago)
- Last Synced: 2024-11-12T21:35:12.592Z (6 months ago)
- Language: JavaScript
- Size: 379 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# battuta
Reverse geocoding for air quality stations### Overview
batutta checks the [metadata file](http://discomap.eea.europa.eu/map/fme/metadata/PanEuropean_metadata.csv) 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](https://github.com/pelias/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"
},
...
]
```### Install
##### Dependencies
`$ npm install`
##### Dependency for linting
`$ npm install -g jsonlint`
### Run
`$ npm run battuta`
### Ensure Valid output
`$ npm run lint-stations`