mod_tile
mod_tile copied to clipboard
UTFGrid support
It would be great to support UTFGrid generation using renderd and mod_tile.
https://github.com/mapbox/utfgrid-spec
An example UTFGrid-enabled mapnik xml file is at https://gist.github.com/gravitystorm/5824793
I'd suggest that it's a per-layer option to also generate the UTFGrid at the same time as the png (or other raster) output, and expire them as a pair. However, I can see there being some (rare) usecases where you may wish to generate UTFGrids without a corresponding png output.
note while the grid_renderer in Mapnik is available in C++ the actual encoding to json with utf8 characters is currently done in python/node.js and still needs a pure C++ api: https://github.com/mapnik/mapnik/issues/1197
Issue #58 is a duplicate of this.