Metadata-Version: 2.1
Name: MapRenderCache
Version: 0.2
Summary: mapnik render cache
Home-page: https://github.com/nbdy/MapRenderCache
Author: Pascal Eberlein
Author-email: pascal@eberlein.io
License: UNKNOWN
Keywords: mapnik render cache
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE

# MapRenderCache

## features

- [X] rendering
- [X] caching
- [X] python bindings

## install

`pip3 install MapRenderCache`

## usage

```python
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) 
```

