Changeset 15833 in josm


Ignore:
Timestamp:
2020-02-10T20:46:13+01:00 (4 years ago)
Author:
simon04
Message:

fix #17533 - Check waterway flow direction (patch by dmanzer95, modified)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/geometry.mapcss

    r15641 r15833  
    394394  suggestAlternative: "building=warehouse";
    395395}
     396
     397/* #17533 - Check waterway flow direction */
     398*[waterway][waterway!=drain] > node:connection {
     399  set notDrain;
     400}
     401way[waterway=drain] >[index!=1] node:connection {
     402  set notDrainFirstNode;
     403}
     404way[waterway=drain] >[index!=-1] node:connection {
     405  set notDrainLastNode;
     406}
     407way[waterway=drain] > node:connection!.notDrainFirstNode!.notDrain,
     408way[waterway=drain] > node:connection!.notDrainLastNode!.notDrain {
     409  throwWarning: tr("incorrect drain flow direction");
     410}
Note: See TracChangeset for help on using the changeset viewer.