berlin-postal-code-areas

1.6.0 • Public • Published

berlin-postal-code-areas

The shapes of all ZIP code areas in Berlin as GeoJSON.

npm version build status minimum Node.js version chat with me on Gitter support me via GitHub Sponsors

Installing

npm install berlin-postal-code-areas

Usage

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],
		// …
	] ]
}

Related

Contributing

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.

Package Sidebar

Install

npm i berlin-postal-code-areas

Weekly Downloads

1

Version

1.6.0

License

ISC

Unpacked Size

2.04 MB

Total Files

199

Last publish

Collaborators

  • derhuerst