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 details)
File details
Details for the file MapRenderCache-0.2.tar.gz
.
File metadata
- Download URL: MapRenderCache-0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdf1edfd9e0bb6171369224c380b50e2a1275def2db7898e1d33ebae63edf45d |
|
MD5 | 57d59c2353572225f5b7b0caa5500e99 |
|
BLAKE2b-256 | 3a501d8a07a746133b6728c17316d796a81ec955c67b8b4832835d795bde7554 |