by sleavey · 6y ago · 0 comments
Funny this article was posted today, because yesterday I was looking into rendering a custom map for a ~100x100 km area from OpenStreetMap data for a particular application. I've got basically no experience making maps but I've dabbled with GDAL and Rasterio. I was thinking of using Mapnik with a dump of (part of) the OpenStreetMap database into a local PostGIS instance. Ideally the rendered tiles should be vector format. Do you think this approach seems reasonable or am I missing a potentially simpler way?
If this is static, Mapnik is a good call. It has some extra anti-aliasing under the hood and it’s exceptionally fast.
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.
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?