No project description provided
Project description
Deutschland
A python package that combines access to the most valuable dataset of Germany.
Installation
pip install deutschland
Geographic data
Fetch information about streets, house numbers, building outlines, …
from deutschland import Geo
geo = Geo()
# top_right and bottom_left coordinates
data = geo.fetch([52.50876180448243, 13.359631043007212],
[52.530116236589244, 13.426532801586827])
print(data.keys())
# dict_keys(['Adresse', 'Barrierenlinie', 'Bauwerksflaeche', 'Bauwerkslinie', 'Bauwerkspunkt', 'Besondere_Flaeche', 'Besondere_Linie', 'Besonderer_Punkt', 'Gebaeudeflaeche', 'Gebaeudepunkt', 'Gewaesserflaeche', 'Gewaesserlinie', 'Grenze_Linie', 'Historischer_Punkt', 'Siedlungsflaeche', 'Vegetationslinie', 'Verkehrsflaeche', 'Verkehrslinie', 'Verkehrspunkt', 'Hintergrund'])
print(data["Adresse"][0])
# {'geometry': {'type': 'Point', 'coordinates': (13.422642946243286, 52.51500157651358)}, 'properties': {'postleitzahl': '10179', 'ort': 'Berlin', 'ortsteil': 'Mitte', 'strasse': 'Holzmarktstraße', 'hausnummer': '55'}, 'id': 0, 'type': 'Feature'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
deutschland-0.1.3.tar.gz
(3.5 kB
view hashes)
Built Distribution
Close
Hashes for deutschland-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3666137d5e65a3195f3d70b006723245c4f30ce1b50144e5a039e377dca51c27 |
|
MD5 | 2d7944dfbc93988463b27715fd0c03b4 |
|
BLAKE2b-256 | 2b54e4a943c624a4a4e30ff4df653f4263b9a37f700a8285d28e9bc9b779e99e |