gravitystorm / openstreetmap-carto

A general-purpose OpenStreetMap mapnik style, in CartoCSS
Other
1.53k stars 821 forks source link

Possible improvements of OSMF style deployment to better serve our goal of providing mapper feedback #4827

Open imagico opened 1 year ago

imagico commented 1 year ago

This issue is meant to collect ideas how the deployment of OSM-Carto by the OSMF might be improved to better serve our goal to provide mappers with constructive feedback on their work.

We receive frequent comments on the map lagging in updates after edits (like recently in #4826) - causing confusion among mappers if their edits have been correctly uploaded. So timeliness of updates in general is an obvious concern. But this is not what this issue is about because general optimization of timeliness in updates is known to be an ongoing concern in OSMF operations already.

Possible improvements beyond that which come to mind for me:

matkoniecz commented 1 year ago

real time coastline updates

how that would avoid problem of "someone broke coastline, Americas are now displayed as flooded" ?

imagico commented 1 year ago

how that would avoid problem of "someone broke coastline, Americas are now displayed as flooded" ?

The idea here would be - as mentioned - local, tiled processing of coastline data triggered by tile expiry just like rendering. This would not fully avoid the issue of broken coastlines affecting the processing but it would limit the radius of influence of such breaks. So a faulty coastline edit in New York would not put all of South America in peril as it would right now.

You could still think about different ways to handle such errors in mapping - either having the tile in question 'flooded' or not updating it as long as broken data is detected in the tile area. It would, however, definitely avoid the need for manual inspection of larger changes in the coastline by some central authority (which is not a good and sustainable approach on several levels).

imagico commented 1 year ago

Another thing the OSMF could provide is a mirror for the external dependencies this style uses. This are in particular:

These need to be obtained by all style users and historically there have occasionally been problems with the reliability of some of these (see #4249, #4864). Being able to supply a reliable alternative source for these files to style users would be good.

Secondarily: If the OSMF distributed the versions of those files that are also in use by the OSMF's deployment of OSM-Carto at that time, it could help with tracing down problems in rendering - like https://github.com/gravitystorm/openstreetmap-carto/issues/4152#issuecomment-1762082843.

This is not part of the core functions of the OSMF obviously (like distributing the planet files) but considering that installing OSM-Carto is part of high profile initiatives of popularizing OpenStreetMap (https://switch2osm.org/) this would quite definitely also be of value for the OSM-Community to have a more reliable deployment procedure for the style.

There is also precedent for the OSMF distributing external data for map rendering in the form of https://planet.openstreetmap.org/historical-shapefiles/