german-onb-geojson

1.10.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i german-onb-geojson

    Weekly Downloads

    1

    Version

    1.10.0

    License

    MIT

    Unpacked Size

    71.3 MB

    Total Files

    5

    Last publish

    Collaborators

    • timomeh
    • chrispop
    • danieldiekmeier