Jack12816/postleitzahlen

Postleitzahlengebiete in Deutschland / German Postcode Areas

★ 0Forks 0GitHub ↗Compare

README

Postleitzahlen

This repository contains the shapes of german postcode areas (Postleitzahlengebiete) in compressed geojson and topojson format.

Data

See Releases

Source

Extracted from OpenStreetMap via Overpass

Overpass Query:

area[wikidata="Q183"]->.searchArea;
(
	// Postcodes within Germany
	// captures some non-German postcodes due to incongruent boundaries in OSM
	relation["type"="boundary"]["boundary"="postal_code"](area.searchArea);

	// Explicit German postcodes (Jungholz, Kleinwalsertal)
	relation["type"="boundary"]["boundary"="postal_code"]["postal_code:DE"];

	// Special Case: Büsingen (not captured in searchArea)
	relation["type"="boundary"]["boundary"="postal_code"]["postal_code"="78266"];
);
out body geom;

Importer

Included in this repository is the import script used to generate the data files: sh bin/import.sh

Alternatives

  • Postleitzahlen-Scraper - A program that downloads non-free postcode geometries from the german postal service.

Contributors

yetztspookyahell

Issues