wcedmisten / docker-openstreetmap-stack

A repo for docker services to serve OSM tiles, routing, and geocoding.
MIT License
136 stars 10 forks source link

faster tile generation #5

Open markuman opened 1 year ago

markuman commented 1 year ago

planetiler can produces the tiles for the entire world with Z0 to Z14 in 2-4 hours...

wcedmisten commented 1 year ago

planetiler uses vector tiles, rather than raster tiles, which this project currently uses.

The tradeoff is that vector tiles are more performant for the server, but raster tiles are better for the client.

I have a blog post that explores using headway, which does use vector tiles. If that fits your use-case I recommend checking out the project!

https://wcedmisten.fyi/post/upgrading-with-headway-maps/

markuman commented 1 year ago

Basically my usecase is just a self-hosted tileserver that can be used in my nextcloud (gpxpod, gpxedit)
this is solved for me with planetiler and tileserver-gl.
Routing is just sugar :D
But what I am currently missing is contour lines. Any idea about that?

wcedmisten commented 1 year ago

I'm not familiar with the tool unfortunately, but I think the general approach would be finding a data source for the elevation data / contour vectors and adding that as a layer to your vector tiles.

I would open an issue with planetiler to ask what approach they would take.

https://github.com/onthegomap/planetiler#generating-custom-vector-tiles