Skip to content

railslove/german-onb-geojson

Repository files navigation

German "Ortsnetzbereiche" as geojson

Data from Bundesnetzagentur "Orts­netz­be­rei­che, Orts­netz­kenn­zah­len und Orts­netz­be­reichs­gren­zen", 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