Opened 14 years ago
Closed 14 years ago
#5963 closed defect (fixed)
[patch] Relation editor fails to detect closed path
Reported by: | Zverikk | Owned by: | team |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | relation_analyzer, patch | Cc: | PetrDlouhy |
Description
Download one of those relations: 1429033, 72196, 1111196. They consist of one closed path (made of several ways), but in relation editor those are not shown as closed. It was ok in tested version, I guess — it cannot be started after josm-latest, so I cannot test it. JOSM 3901.
Attachments (2)
Change History (11)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
For relations with one node and multiple ways removing that node solves the problem indeed. But, for example, relation 1059483 not only has a node, but also an unconnected way — but all closed areas are detected and displayed as such.
comment:3 by , 14 years ago
Keywords: | relation_analyzer added |
---|
comment:4 by , 14 years ago
More specific: closed path is not detected when a point is located (in the relation members order) inside or right after the area. For example: WWNWWWW (W=way,N=node) first path will be show as unclosed, second path — as closed. NWWWWWW (moving node to the head of the list) — both paths will be detected as closed.
comment:5 by , 14 years ago
I made patch for this issue. I tested only the case, I made for relation_analysis.osm, so please retest your relations.
comment:6 by , 14 years ago
Keywords: | patch added |
---|---|
Summary: | Relation editor fails to detect closed path → [patch] Relation editor fails to detect closed path |
comment:7 by , 14 years ago
Petr_Dlouhy: are you still working on the perfection of this tool? We are going to have a tested version soon, so it would be nice to see some improvement till then.
comment:8 by , 14 years ago
I haven't had enough time recently, but I might safe some time this weekend. I will take look on the remaining issues, but I can't promise to give it a large portion of work, if it became too complicated.
This is caused by the fact that there is a node in the relation. Seems this case is overlooked now.