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)
Metadata
Release files for MapRenderCache 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| MapRenderCache-0.2.tar.gz | 6.4 kB | Details |
Release files / MapRenderCache-0.2.tar.gz
| Download URL | MapRenderCache-0.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdf1edfd9e0bb6171369224c380b50e2a1275def2db7898e1d33ebae63edf45d
|
|
BLAKE2b-256 checksum How to use checksums |
3a501d8a07a746133b6728c17316d796a81ec955c67b8b4832835d795bde7554
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|