3 ms·
Static; thanks for the info. I would ideally like to dump a bunch of SVG tiles for various zoom levels so I can store them in a static directory on my server ra
by sleavey 7y ago
Static; thanks for the info. I would ideally like to dump a bunch of SVG tiles for various zoom levels so I can store them in a static directory on my server rather than serve them dynamically. I take it that Mapnik is capable of dumps like this? And, I would like to use the Python bindings but they look relatively badly documented. Would you suggest a newbie like me uses the C or XML interfaces instead, if they are better documented?
- bransonf 7y agoI’ve only used the Python library, and I think I survived. I only used it for some visualization however. And I’m still unclear. Are you trying to serve these tiles to another application? Or are you trying to make a digital/print map? And SVG is probably excessive for static tiles. It won’t have the size reduction of a raster tile nor the benefit of a true vector solution.
- sleavey 7y ago> And I’m still unclear. Are you trying to serve these tiles to another application? Or are you trying to make a digital/print map? Serve them from local storage to a viewer application. > And SVG is probably excessive for static tiles. It won’t have the size reduction of a raster tile nor the benefit of a true vector solution. Ah, is there another vector format for tiles other than SVG? Or are you saying that I should just generate a bunch of compressed rasters?
- bransonf 7y agoAh, I haven’t really got into that territory with mapnik. But to the second point, yes you should just generate a bunch of Raster tiles. And before doing this, ask yourself if you really need to. If this isn’t a huge project, Mapbox is an easy packed solution. Otherwise, there are dozens of really good tile providers already.