Skip to main content

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) 

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)

Uploaded Source

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

Hashes for MapRenderCache-0.2.tar.gz
Algorithm Hash digest
SHA256 fdf1edfd9e0bb6171369224c380b50e2a1275def2db7898e1d33ebae63edf45d
MD5 57d59c2353572225f5b7b0caa5500e99
BLAKE2b-256 3a501d8a07a746133b6728c17316d796a81ec955c67b8b4832835d795bde7554

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2 This release

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page