The python scripts in this project are created to download the German ICAO 1:500.000 chart available from DFS AIS and convert it to a .mbtiles database that can be imported to navigation software e.g. Enroute.
How To:
-
Create virtual environment for Python
python3 -m venv .venv -
Activate virtual environment
source .venv/bin/activate -
Install requirements
pip install -r requirements.txt -
Configure the downloader (zoomlevel; output directory) The downloader has a few configuration settings at the top. Default gets 3-11 and stores to './tiles'.
-
Run downloader (May take some time depending on connection and zoom level) The downloader asks if a stiched .png of all tiles should be generated. This can be used to check if all tiles were downloaded. If a tile was not downloaded correctly, the complete .png will show a red square (borders can be ignored).
python3 tile_downloader.py -
Run converter
python3 convert_to_mbtiles.py