[Tile-serving] Recommended OSM update method?

Lynn W. Deffenbaugh (Mr) ldeffenb at homeside.to
Thu Apr 14 19:05:31 UTC 2022


Greetings fellow tile servers,

I've just about finished (re)setting up my planet-wide tile server for 
the umpteenth time and was wondering what is the current recommendation 
for keeping the OSM database current. There are two different approaches 
that I've found documented, and I've used both of them in the past.  But 
for this newest server, I'd like to follow the best practice recommended 
by the community.

Using mod_tile's openstreetmap-tiles-update-expire from

https://switch2osm.org/serving-tiles/updating-as-people-edit/

or use osm2pgsql's osm2pgsql-replication from

https://osm2pgsql.org/doc/manual.html#updating-an-existing-database

For a bit of background, I don't need minutely updates, but update in 
batches approximately monthly using the daily planetary diffs. After 
updating, I re-render all existing tiles that have been affected by the 
updates (expired) and then snapshot the end resulting individual PNGs 
(extracted from the metatiles directly) to another storage platform.

Any/all comments are welcome.

Lynn (D)





More information about the Tile-serving mailing list