Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
imagico opened this issue Jun 5, 2023 · 3 comments
Labels

Comments

@imagico
Copy link
Collaborator

imagico commented Jun 5, 2023

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:

  • more frequent low zoom re-renderings has been a significant concern in the past (it has been monthly for a long time) but i think this has been improved already (Load test tile servers openstreetmap/operations#648 (comment) indicates as much).
  • deferred coastline updates would be a significant improvement - because the coastlines are not rendered from the minutely updated database an edit to the coastline with no subsequent edits in the same area at subsequent days will typically lead to long term mismatches and the only option for the map user (after the /dirty feature has been disabled) is to make another edit to trigger an update. My understanding is that no functionality for this exists so far so this would be a development project at this stage, not an operations issue. This would equally be of benefit for the Antarctic land ice rendering (which suffers from the same problem).
  • real time coastline updates would be an alternative to that. In principle this is possible, based on local, tiled processing of coastline data triggered by tile expiry just like rendering. Would likewise be a development project at this stage and would likewise be of general benefit for OSM based maps and not specific to OSM-Carto or the OSMF deployment.
@matkoniecz
Copy link
Contributor

real time coastline updates

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

@imagico
Copy link
Collaborator Author

imagico commented Jun 23, 2023

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
Copy link
Collaborator Author

imagico commented Oct 16, 2023

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 #4152 (comment).

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants