German "Ortsnetzbereiche" as geojson
Data from Bundesnetzagentur "Ortsnetzbereiche, Ortsnetzkennzahlen und Ortsnetzbereichsgrenzen", but as geojson instead of ArcView shapefiles.
Contains shapes of all local network areas (german: Ortsnetzbereiche) with their
respective area codes (german: Vorwahl).
Note: Area codes don't include the leading 0
.
Install via npm
npm install german-onb-geojson
Usage
Access the file directly through the node_modules
directory:
./node_modules/german-onb-geojson/onb.geojson
Contribute (Update data)
- Requirements: ogr2ogr from GDAL
Update data with one command:
npm run check-update
Alternative: do it manually
- Unzip and put the contents of "ONB-Grenzen.zip" inside the "raw" directory
- Run
./convert.sh
- Add and commit with
Update data to yyyy-mm-dd
Publish to npm
npm run release
Author
Timo Mämecke
License
MIT
with 💚 by Railslove