This package has been deprecated

Author message:

WARNING: This package is deprecated. Please use the VG250-EW dataset instead: https://github.com/juliuste/open-data-scraper.

german-administrative-areas

1.0.0 • Public • Published

german-administrative-areas

German administrative areas as WGS84 GeoJSON. Data provided by the Federal Agency for Cartography and Geodesy (current dataset from 2021-01-01), subject to this license.

npm version License Contact me

Installation

npm install --save german-administrative-areas

Usage

The module contains seperate lists of GeoJSON objects for the following federal and administrative layers:

  • staat - Federal Republic of Germany
  • laender - states (e. g. Hessen, Thüringen, Bavaria, …)
  • regierungsbezirke - administrative districts (e. g. Regierungsbezirk Münster)
  • kreise - counties and and autonomous cities
  • verwaltungsgemeinschaften - association of administrations / municipalities
  • gemeinden - municipalities

You can either require the entire module (which will take a few seconds) to access all layers:

const areas = require('german-administrative-areas')

console.log(areas.verwaltungsgemeinschaften) // list of GeoJSON objects
console.log(areas['laender'])

Or you require specific layers in case you don't need all of them:

const states = require('german-administrative-areas/laender.geo.json')
const municipalities = require('german-administrative-areas/gemeinden.geo.json')

Contributing

If you found a bug or want to propose a feature, feel free to visit the issues page.

Package Sidebar

Install

npm i german-administrative-areas

Weekly Downloads

1

Version

1.0.0

License

SEE LICENSE IN license

Unpacked Size

169 MB

Total Files

10

Last publish

Collaborators

  • juliuste