Changeset 5359 in josm for trunk/src/org
- Timestamp:
- 2012-07-24T23:42:24+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
r5312 r5359 26 26 import org.openstreetmap.josm.tools.Geometry; 27 27 28 /** 29 * Checks for nodes in power lines/minor_lines that do not have a power=tower/pole tag.<br/> 30 * See #7812 for discussions about this test. 31 */ 28 32 public class PowerLines extends Test { 29 33 … … 54 58 for (Node n : w.getNodes()) { 55 59 if (!isPowerTower(n)) { 56 if (! w.isFirstLastNode(n) && !isPowerAllowed(n)) {60 if (!isPowerAllowed(n)) { 57 61 potentialErrors.add(new PowerLineError(n, w)); 58 62 erroneous = true;
Note:
See TracChangeset
for help on using the changeset viewer.