Skip to main content

Client to download height information of Berlin from OpenData sources. Can compress on the fly.

Project description

Download Client for Berlin Geländemodelle

PyPI version PyPI downloads month PyPI downloads week PyPI downloads day

Downloads Berlins' height information (Digitale Geländemodelle – ATKIS DGM - Höheninformationen), can compress them on the fly, and creates GeoJSON, CSV or txt files if desired.

Documentation: https://berlin-gelaendemodelle-downloader.readthedocs.io/en/latest/

What means 'Compress'

Compression means tiles, shaped as windows, are averaged. Because one subset of the data is of shape 2000x2000, the tile size, argument compress, have to divide 2000 without remainder.

The following image (Original) shows the structure of the data subsets (tiles).

Data Tiles

Getting Started

Follow these instructions to get the berlin-downloader up and running.

Prerequisites

  • python 3.6 or greater
  • pip3

Installation

pip3 install berlin-opendata-downloader

or directly from the repository:

git clone https://github.com/se-jaeger/berlin-gelaendemodelle-downloader
cd berlin-gelaendemodelle-downloader
python setup.py install

Example Usage

berlin_downloader download ~/berlin_height --compress 5 --keep_original --file-format csv --file-format geojson

Downloads and saves the data at ~/berlin_height as vsc and geojson file, as well as compressed csv and geojson files.

Thank You! :heart:

Many thanks to chrisschroer for the offline discussions and contributions.

Note

This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

berlin-opendata-downloader-1.5.1.tar.gz (19.7 kB view hashes)

Uploaded Source

Built Distribution

berlin_opendata_downloader-1.5.1-py2.py3-none-any.whl (13.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page