se-jaeger / berlin-gelaendemodelle-downloader

Download client for Berlins' "Digitale Geländemodelle – ATKIS DGM" with on the fly lossy compression.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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! ❤️

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/.

About

Download client for Berlins' "Digitale Geländemodelle – ATKIS DGM" with on the fly lossy compression.

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

License:Apache License 2.0


Languages

Language:Python 100.0%