Opened 14 years ago
Last modified 4 years ago
#6102 new defect
Non-Connected way checks in validator needs to be projection independent
Reported by: | Nakor | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core validator | Version: | latest |
Keywords: | unconnected_way | Cc: |
Description (last modified by )
If you run validator the attached file in 3782 it correctly detects "Way end node near other highway".
In 3976 it does not detect it.
Attachments (2)
Change History (21)
by , 14 years ago
Attachment: | validator_bug.osm added |
---|
comment:1 by , 14 years ago
Component: | Core → Core validator |
---|
comment:2 by , 14 years ago
comment:3 by , 14 years ago
strange just some minutes ago it worked for some ways but now it does not.
comment:5 by , 14 years ago
Summary: | Validator won't detect non connected highways → Validator won't detect non connected highways anymore |
---|
3921 is OK
3925 has the bug
comment:7 by , 14 years ago
I tried to narrow it down to a precise revision:
- 3921 works fine
- 3922 is broken
comment:8 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | Validator won't detect non connected highways anymore → [patch] Validator won't detect non connected highways anymore |
@stoecker this is the reason. Attached is a patch that fixes the issue
comment:9 by , 14 years ago
Summary: | [patch] Validator won't detect non connected highways anymore → [incomplete patch] Validator won't detect non connected highways anymore |
---|
There is something more. The patch works on small examples but get stuck on big files.
comment:11 by , 14 years ago
The code depends on display projection. This is not really usable. It either should rely on direct LatLon calculations (e.g. greatCircleDistance() or force e.g. mercator projection for calculations.
comment:12 by , 14 years ago
Summary: | [incomplete patch] Validator won't detect non connected highways anymore → Non-Connected way checks in validator needs to be projection independent |
---|
comment:13 by , 14 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:14 by , 13 years ago
Description: | modified (diff) |
---|---|
Keywords: | UnconnectedWays added |
comment:15 by , 13 years ago
Keywords: | unconnected_way added; UnconnectedWays removed |
---|
comment:18 by , 5 years ago
Not sure. Some calculation are still done with projecte values. What would be a good test case?
In r3992 it does not find any "way end node near other way" anymore.