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/
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).
Follow these instructions to get the berlin-downloader
up and running.
- python 3.6 or greater
- pip3
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
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.
Many thanks to chrisschroer for the offline discussions and contributions.
This project has been set up using PyScaffold 3.2.3. For details and usage information on PyScaffold see https://pyscaffold.org/.