[Tile-serving] [openstreetmap/mod_tile] UTFGrid support for mod_tile (#58)

Sridhar notifications at github.com
Sat Apr 1 08:39:50 UTC 2017


I am trying to write one. You can see the code at https://github.com/sri-soham/mapnik-utf8grid-tester . I am able to generate tiles for the given x, y, z but the utf grid is coming up empty.

As I see it, the problem is with writing features to grid with grid-renderer. Relevant code being

```
mapnik::grid_renderer<mapnik::grid> ren(m_map, my_grid, 1.0, 0, 0);
std::vector<mapnik::layer> const& layers = m_map.layers();
ren.apply(layers[0], attributes);
```

in this file https://github.com/sri-soham/mapnik-utf8grid-tester/blob/master/map_tile.cpp .

I am new to mapnik and c++. Any pointers in getting this right?

Thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/58#issuecomment-290906077
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170401/fc40ef52/attachment.html>


More information about the Tile-serving mailing list