https://github.com/knudmoeller/berlin-charging-stations
Download and convert a list of charging stations in Berlin.
https://github.com/knudmoeller/berlin-charging-stations
berlin chargingstation csv emobility gml opendata wfs
Last synced: 6 months ago
JSON representation
Download and convert a list of charging stations in Berlin.
- Host: GitHub
- URL: https://github.com/knudmoeller/berlin-charging-stations
- Owner: knudmoeller
- License: mit
- Created: 2020-06-15T14:59:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-15T18:36:40.000Z (about 6 years ago)
- Last Synced: 2024-01-27T05:10:43.252Z (over 2 years ago)
- Topics: berlin, chargingstation, csv, emobility, gml, opendata, wfs
- Language: Makefile
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A simple makefile and Ruby script to download a GML-file with charging stations in Berlin from a WFS-Service (see https://energieatlas.berlin.de) and transform it into CSV.
## Output
The output CSV-file lives in:
* raw: [data/target/elektro-ladesäulen-berlin.csv](data/target/elektro-ladesäulen-berlin.csv)
* github's CSV-viewer: [elektro-ladesäulen-berlin.csv](https://github.com/knudmoeller/berlin-charging-stations/blob/master/data/target/elektro-ladesäulen-berlin.csv)
## Requirements
* Ruby
* the Nokogiri gem
## Running
```
$ make data
downloading data/temp/elektro-ladesäulen.xml from WFS service
writing to data/temp/elektro-ladesäulen.xml ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 548k 0 548k 0 0 778k 0 --:--:-- --:--:-- --:--:-- 778k
formatting data/temp/elektro-ladesäulen.xml
writing to data/temp/elektro-ladesäulen_formatted.xml ...
converting data/temp/elektro-ladesäulen_formatted.xml to CSV
writing to data/target/elektro-ladesäulen-berlin.csv ...
$
```
## License
All software in this repository is published under the [MIT License](LICENSE).
---
2020, Knud Möller
[https://github.com/knudmoeller/berlin-charging-stations](https://github.com/knudmoeller/berlin-charging-stations)
Last changed: 2020-06-15