Hi guys, I am using Python Mapnik2 on Ubuntu. I'm also using TileStache (http://tilestache.org/) to serve the tiles. To add interactivity to my map I'm using the grid_renderer (http://trac.mapnik.org/wiki/MapnikRenderers#grid_renderer).
The json that grid_renderer generates seems to be working for the most part, however it is returning results for items that are not rendered on the map. My map is your general Google maps type map. I have a TextSymbolizer layer that I use to render road labels and place names. To render POI's I am using the ShieldSymbolizer. The ShieldSymbolizer layer has a greater layer index than the TextSymbolizer layers. What seems to be happening is that the tile renderer is hiding shields if the shield (or accompanying text) wants to render over a road or place name. However the grid_renderer does not seem to be applying the same rule when generating the grid.json. So on my front end software (Leaflet + Wax) when I use the grid.json I can mouse over a point on a tile that has no shield rendered but does have a hit in the grid.json. Is this a known limitation of grid_renderer? Any chance it will be improved in the future? Cheers, Jacob Jacob Toye Senior Software Engineer DDI +64 7 857 0803 | M +64 21 876 648| E [email protected]<mailto:[email protected]> | T +64 7 857 0800 | F +64 7 857 0801 Waikato Innovation Park, Ruakura Rd | PO Box 7239, Hamilton 3247, NZ | www.smartrak.co.nz<http://www.smartrak.co.nz/> [Description: cid:[email protected]] This email and any attachments are confidential and are for the intended addressee(s) only. Confidentiality is not waived due to accidental delivery to you. If you have received this communication erroneously, please delete.
<<inline: image001.jpg>>
_______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

