Modify ↓
#23252 closed defect (fixed)
[patch] Ignore line_management=transition|termination in UnconnectedPower test
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | 23.11 |
| Component: | Core | Version: | |
| Keywords: | template_report power line_management | Cc: | francois.lacombe |
Description (last modified by )
What steps will reproduce the problem?
- Load the test file
- Validate the data
What is the expected result?
No warning, as the end nodes are not meant to be directly connected
What happens instead?
Three warnings.
Please provide any additional information below. Attach a screenshot if possible.
-
src/org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java
201 201 202 202 @Override 203 203 protected boolean ignoreUnconnectedEndNode(Node n) { 204 return n.hasTag("power", "terminal") || n.hasTag("location:transition", "yes") ;204 return n.hasTag("power", "terminal") || n.hasTag("location:transition", "yes") || n.hasTag("line_management", "transition", "termination"); 205 205 } 206 206 }
Revision:18882 Is-Local-Build:true Build-Date:2023-10-29 20:41:39
Attachments (1)
Change History (6)
by , 2 years ago
| Attachment: | power_endnode.osm added |
|---|
comment:1 by , 2 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 2 years ago
Hi
I couldn't agree more, it's a good point.
I don't see any possible addition by the way, it's ok.
Note:
See TracTickets
for help on using tickets.



add wiki link