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

creation of way without tag #31

Closed
Mahabarata opened this issue Mar 24, 2022 · 4 comments
Closed

creation of way without tag #31

Mahabarata opened this issue Mar 24, 2022 · 4 comments

Comments

@Mahabarata
Copy link

Hi,

I have created a multipolygon relation with 2 members : https://www.openstreetmap.org/relation/13958872/history
One member with no tag is the outer, the other with some tags is a inner.

  • with Potlatch 3, I select the outer way
  • on the left, I select "members"
  • under, I select in the list "way 1043459092"
  • above, in the relation table, I click on the cross to remove the way from the relation
  • I save

No warning, no error : the save is sent.

Result :
the way outer had no tags. It is no more member of the relation so we have an empty way (no tag) in the osm database
https://www.openstreetmap.org/edit?way=1043459092#map=18/4.89659/-52.34338
(this link is a link to ID editor)

Best regards

This was referenced Mar 24, 2022
@systemed
Copy link
Owner

Thank you but this is not a bug. Potlatch 3 doesn't have a validator. If you would like it to have a validator you're welcome to build one, or - in case someone else wants to build it - to create a single ticket enumerating cases that it could trap.

@Mahabarata
Copy link
Author

Hi,

I don't understand : try this with the example above =

  • select one node of the inner way and delete it
  • do the same for all the nodes of the inner way
  • save

You will have a message = "Error :
An unexpected error occurred, probably due to a bug in Potlatch 2. Do you want to retry? (The server said: Precondition failed: Way 1043459093 is still used by relations 13958872.)"

If you have no validator, from where comes this message ?
Best regards

@systemed
Copy link
Owner

systemed commented Apr 2, 2022

From the server.

@Mahabarata
Copy link
Author

Yes, I had understood that : in fact I found that iD editor has the same problem. Rather than to fix it with your editor and some others, I was thinking to fix it "on the server" should be better. But I don't know what it means : where is the "server" ? Where can I create an issue to propose to solve this problme there ? Is it on github ? on a talk ?
Maybe you know ?
Best regards

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

No branches or pull requests

2 participants