Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Potlatch makes duplicated nodes at intersections #592

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments
Closed

Potlatch makes duplicated nodes at intersections #592

openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments

Comments

@openstreetmap-trac
Copy link

Reporter: rjtehpwn[at]gmail.com
[Submitted to the original trac issue database at 10.56pm, Friday, 23rd November 2007]

Drawing intersections with potlatch seems not to be working at all times. It happens on intersections, instead of making one node with two ways or more connected it just makes a new node on exactly the same place. I don't know if this is a error in the coding or just user stupidity. If it is user stupidity it might be better to make it more clear if a intersction is drawn or not. I gave this priority major because i have found many duplicated nodes all caused by potlatch. Attached is an OSM file which is a good example of this bug. Run the Validator plugin over it in JOSM and you will see that allmost all of the duplicated nodes are connected to a way created by Potlatch.

@openstreetmap-trac
Copy link
Author

Author: rjtehpwn[at]gmail.com
[Added to the original trac issue at 6.22pm, Sunday, 25th November 2007]

Sorry for the duplicates, got error said that the attachment was too big. Didn't thought that it was already submitted by then. Because the attachment was too big here is an link to use in JOSM http://www.informationfreeway.org/?lat=51.39074070713436&lon=-0.07507854806209917&zoom=13&layers=B000T000

@openstreetmap-trac
Copy link
Author

Author: richard[at]systemeD.net
[Added to the original trac issue at 7.27pm, Sunday, 25th November 2007]

I can see the evidence but can't find any way of reproducing it, which puzzles me. Will continue to investigate but would appreciate further reports from anyone who can provide steps to reproduce.

@openstreetmap-trac
Copy link
Author

Author: rjtehpwn[at]gmail.com
[Added to the original trac issue at 7.59pm, Sunday, 25th November 2007]

I can reproduce it, just made many intersections in my "potlatch test area" in an unused part of France where i mapped. But the thing i can't find is any pattern in this behavior. Sometimes it goes wrong sometimes it goes okay. Things i tried: 1 making an existing way and having the new way end in the middle 2 Making a new way make an old node part of it. But there is no pattern because both sometimes have no failure. What is striking is the high percentage of errors in my little test. I guess 80 percent had duplicated nodes of the 20-30 times i tried.

You can use this little area here:
http://www.openstreetmap.org/index.html?mlat=42.51801881482951&mlon=2.319989741464074&zoom=11 I will delete it before Tuesday to avoid getting it in the planet dump.

@openstreetmap-trac
Copy link
Author

Author: richard[at]systemeD.net
[Added to the original trac issue at 8.20pm, Sunday, 25th November 2007]

I still can't reproduce it, I'm afraid! Could you provide a click-by-click runthrough of exactly what you're doing? (e.g. how you're making the junction, how you're ending the way, whether you're pressing Shift at any point, etc.) Sorry for the hassle!

@openstreetmap-trac
Copy link
Author

Author: rjtehpwn[at]gmail.com
[Added to the original trac issue at 8.28pm, Sunday, 25th November 2007]

Question, do have you a recent version of Validator? Looking at the data you created i can find 4 duplicated nodes. Node 132967023 on top of 132967026. Node 132968554/132968542. Node 132968546/132968552 Node 132967619/132967626. It is not a Validator issue either because there are actually two nodes on each other when you shift the upper one.

@openstreetmap-trac
Copy link
Author

Author: richard[at]systemeD.net
[Added to the original trac issue at 8.39pm, Sunday, 25th November 2007]

I don't have any version of Validator, I don't use JOSM. :)

Looking at the data there's something weird happening but I can, at last, reproduce it. If you draw an intersection with Potlatch, then click on the nodes, they both have the same id (as they should do). This is why I couldn't see the problem occurring.

However, I now see that if you then reload the edit page, and look at the ids, they're different.

This helps enormously, narrowing it down to a particular piece of code, and I reckon I can solve it from there - will have a concerted effort to fix and report back. Thanks again.

@openstreetmap-trac
Copy link
Author

Author: richard[at]systemeD.net
[Added to the original trac issue at 2.31pm, Monday, 26th November 2007]

Should be fixed as of r5759 (awaiting deployment at time of writing).

@openstreetmap-trac
Copy link
Author

Author: richard[at]systemeD.net
[Added to the original trac issue at 3.47pm, Monday, 26th November 2007]

Deployed.

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

No branches or pull requests

1 participant