The shapes of all ZIP code areas in Berlin as GeoJSON.
npm install berlin-postal-code-areas
const shapes = require('berlin-postal-code-areas')
const {pathForShape} = shapes
const shapeFile = shapes('10555')
const path = pathForShape(shapeFile)
const shape = require(path)
console.log(shape)
{
type: 'Polygon',
coordinates: [ [
[13.32878,52.52244],
[13.328878,52.522348],
[13.328897,52.522331],
[13.328899,52.52232],
[13.32889,52.522312],
[13.328881,52.522308],
// …
] ]
}
- german-administrative-areas – German administrative areas as GeoJSON.
- gemeindeverzeichnis – German „Gemeindeverzeichnis“ (vaguely 'community register') containing all federal entities.
If you have a question or have difficulties using berlin-postal-code-areas
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.