/polytiles

Generate tiles with mapnik

Primary LanguagePython

polytiles.py

A script to get tiles from mapnik. Area can be defined by bbox, polygon or an OSM polygon; tiles can be served in image files or mbtiles. Run the script without parameters to see command line help.

Requirements

Mapnik and python-shapely package. Optional dependencies are python-psycopg2 and sqlite3.

Author and license

Written by Ilya Zverev, based on generate_tiles_multiprocess.py, licensed WTFPL.