Opened 2 years ago
Last modified 2 years ago
#23252 closed defect
[patch] Ignore line_management=transition|termination in UnconnectedPower test — at Initial Version
| Reported by: | gaben | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Milestone: | 23.11 |
| Component: | Core | Version: | |
| Keywords: | template_report power line_management | Cc: | francois.lacombe |
Description
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
Note:
See TracTickets
for help on using tickets.


