An open API service indexing awesome lists of open source software.

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

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`