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

Provide facility to patch up ids (semi-)manually/automatically after upload with unknown status #2617

Open
simonpoole opened this issue Jul 10, 2024 · 0 comments

Comments

@simonpoole
Copy link
Collaborator

simonpoole commented Jul 10, 2024

Musing yet another time about openstreetmap/openstreetmap-website#2201

It would seem that it is should be possible to call changeset/nnn/download post an upload with unclear status (that is no HTTP error code received and connection was established) and match newly created OSM elements with those that you uploaded with template (aka negative) ids.

If they match (that is location and tags are the same), you know that the upload succeeded and you can then either

  • patch the ids (potentially with manual confirmation) and then re-download the data to update modified and deleted objects if you have further changes to upload,

or

  • if you have no further changes, discard the local edits and re-download the current data (if you were not creating any new objects in the first place, you should always choose this).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant