Skip to content
Ultra simple working example of interactive vector/raster tiles using mapnik's grid_renderer,, openlayers, and wax
Python Shell
Find file
Latest commit b05aaf2 @springmeyer Update

grid_renderer example

An illustrative sample that shows simple usage of Wax and Mapnik's grid_renderer output.


The grid_renderer targets the mbtiles spec. Learn more here:

For more about the grid_renderer:


Mapnik trunk >= r 2957

python >= 2.6 (for built in json module)


Install Mapnik from >= r2957. More details about installing the latest mapnik at:


Get a few external dependencies for the demo by running

$ make


Then generate some tiles

$ make tiles

Then open the index.html in a web browser and you should be able to hover over polygons and get the country names and population.

Something went wrong with that request. Please try again.