Example script to download map tiles.
This standalone script requires tributary
which is a data processing and analysis library for Python.
tributary
can be found at: https://github.com/eliquious/tributary
- Create new
virtualenv
(runvirtualenv env
) - Activate virtual env (
source env/bin/activate
) - Clone
tributary
library from GitHub - Install
tributary
dependencies from inside checkout directory (pip install -e . -r test-requirements.txt
) - Install requests (
pip install requests
) - Run downloader from
tributary-maps
directory. (python scripts/lldl.py
)
Currently, there are no command line options (although it would be trivial to add them). The map URL, central lat/lon and zoom levels are hardcoded.