Changeset 15312 in josm


Ignore:
Timestamp:
2019-08-22T15:28:24+02:00 (4 weeks ago)
Author:
Klumbumbus
Message:

fix #18060 - warn about footway=crossing and cycleway=crossing on nodes

Location:
trunk/data/validator
Files:
2 edited

Legend:

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

    r15151 r15312  
    44node[bridge],
    55node[sidewalk],
    6 node[footway],
     6node[footway][footway!=crossing], /* footway=crossing has own warning in highway.mapcss */
    77node[man_made=embankment],
    88node[man_made=groyne],
  • trunk/data/validator/highway.mapcss

    r15285 r15312  
    4444  assertMatch: "way highway=crossing";
    4545  assertNoMatch: "node highway=crossing";
     46}
     47
     48/* #18060 */
     49node[footway=crossing] {
     50  throwWarning: tr("{0} on a node", "{0.tag}");
     51  suggestAlternative: "highway=crossing";
     52  suggestAlternative: "railway=crossing";
     53}
     54node[cycleway=crossing] {
     55  throwWarning: tr("{0} on a node", "{0.tag}");
     56  suggestAlternative: "highway=crossing + bicycle=yes";
     57  suggestAlternative: "railway=crossing + bicycle=yes";
    4658}
    4759
Note: See TracChangeset for help on using the changeset viewer.