mapnik render cache
Project description
MapRenderCache
features
- rendering
- caching
- python bindings
install
pip3 install MapRenderCache
usage
from MapRenderCache import MapRenderCache
stylesheet = "mapnik.xml"
caching_directory = "/tmp/cache"
tile_width = 512
tile_height = 512
cache = MapRenderCache(stylesheet, caching_directory, tile_width, tile_height)
# This will create a directory 'cache' in the current working directory
# cache = MapRenderCache(stylesheet, tile_width, tile_height)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
MapRenderCache-0.2.tar.gz
(6.4 kB
view hashes)