Changeset 14831 in josm


Ignore:
Timestamp:
2019-03-04T21:52:26+01:00 (5 years ago)
Author:
Klumbumbus
Message:
  • fix #17305 - warn about boundary=administrative together with landuse=residential
  • fix #17391 - warn about highway=pedestrian together with width<2
File:
1 edited

Legend:

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

    r14830 r14831  
    554554  fixRemove: "leisure";
    555555}
     556
     557/* #17305 */
     558area[boundary=administrative][landuse=residential] {
     559  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     560  group: tr("suspicious tag combination");
     561}
     562
     563/* #17391 */
     564way[highway=pedestrian][width][width<=2] {
     565  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
     566  suggestAlternative: "highway=footway";
     567  group: tr("suspicious tag combination");
     568  fixAdd: "highway=footway";
     569  assertMatch: "way highway=pedestrian width=0.8";
     570  assertMatch: "way highway=pedestrian width=1";
     571  assertNoMatch: "way highway=pedestrian width=2";
     572  assertNoMatch: "way highway=pedestrian width=5.5";
     573}
Note: See TracChangeset for help on using the changeset viewer.