osmus / OpenTrailMap

Trail map based on OpenStreetMap
https://opentrailmap.us/
MIT License
17 stars 4 forks source link

Handle cases where current OSM entity version differs from the one in the tiles #21

Open quincylvania opened 11 months ago

quincylvania commented 11 months ago

Now that we're fetching tags ad hoc, there's a chance we're fetching a newer entity version than the one in the map tiles. At minimum we need to alert the viewer. Potentially we could replace the geometry on the map as well.

quincylvania commented 11 months ago

Looks like it might not be possible to include the entity version in Planetiler out of the box. Alternatively, we could just fetch the geometry and update the map for every single selected feature. Sort of overkill though.

quincylvania commented 2 months ago

We've had the version number for awhile now, so this is no longer blocked. We also have much faster tile updates so outdated versions are much less likely, though they could still occur.