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.

Files for berlin-opendata-downloader, version 1.5.1
Filename, size File type Python version Upload date Hashes
Filename, size berlin_opendata_downloader-1.5.1-py2.py3-none-any.whl (13.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size berlin-opendata-downloader-1.5.1.tar.gz (19.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page