Changeset 17209 in josm
- Timestamp:
- 2020-10-15T17:11:25+02:00 (4 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r17175 r17209 222 222 } 223 223 224 /* {0.key} without {1.key}, {2.key} or {3.key}, #17253, #19821 */ 225 way[oneway ][!highway][!railway][!aerialway][attraction!=summer_toboggan][aeroway!~/^(runway|taxiway)$/][leisure!=track], 224 /* {0.key} without {1.key}, {2.key} or {3.key} */ 226 225 *[snowplowing][!highway][!amenity][!leisure] { 227 226 throwWarning: tr("{0} without {1}, {2} or {3}", "{0.key}", "{1.key}", "{2.key}", "{3.key}"); … … 406 405 } 407 406 408 /* {0} on suspicious object, #17255, #19650, #19572 */ 407 /* {0} on suspicious object, #17255, #19650, #19572, #17253, #19821, #15667, #19930 */ 408 way[oneway ][!highway][!railway][!aerialway][attraction!=summer_toboggan][aeroway!~/^(runway|taxiway)$/][leisure!=track][waterway !~ /^(canal|fairway|lock|river|tidal_channel)$/], 409 409 node[lanes ][!barrier][!ford][highway!=mini_roundabout][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, 410 410 way[lanes ][!barrier][!ford][!highway ][!junction][leisure!~/^(bowling_alley|slipway|swimming_pool|track)$/][!traffic_calming]!.only_one_tag, … … 416 416 way[incline][!highway][!railway][aeroway!~/^(runway|taxiway)$/][attraction!=summer_toboggan][leisure!=slipway] { 417 417 throwWarning: tr("{0} on suspicious object", "{0.key}"); 418 group: tr("suspicious tag combination"); 419 } 420 421 /* #15667, #19930 */ 422 way[waterway][oneway][waterway =~ /^(canal|fairway|lock|river|tidal_channel)$/] { 423 throwOther: tr("{0} together with {1}. The flow direction is defined by the way direction. Use {1} on {0} only in the rare case of a access restriction.", "{0.key}", "{1.key}"); 418 424 group: tr("suspicious tag combination"); 419 425 } -
trunk/resources/data/validator/deprecated.mapcss
r17153 r17209 545 545 } 546 546 547 /* #10346 , #15667 (waterway has its own rules in unnecessary.mapcss)*/548 way[oneway=1] [!waterway]{547 /* #10346 */ 548 way[oneway=1] { 549 549 throwWarning: tr("{0} is deprecated", "{0.tag}"); 550 550 suggestAlternative: "oneway=yes"; … … 553 553 } 554 554 555 /* #11329 , #15667*/556 way[oneway=-1] [!waterway]{555 /* #11329 */ 556 way[oneway=-1] { 557 557 throwWarning: tr("{0} is not recommended. Use the Reverse Ways function from the Tools menu.", "{0.tag}"); 558 558 } -
trunk/resources/data/validator/unnecessary.mapcss
r17147 r17209 67 67 group: tr("unnecessary tag"); 68 68 fixRemove: "payment:cash"; 69 }70 71 /* see #10346, #15667 */72 way[waterway][oneway?] {73 throwWarning: tr("{0} is unnecessary for {1}", "{1.key}", "{0.key}");74 group: tr("unnecessary tag");75 fixRemove: "{1.key}";76 }77 way[waterway][oneway=-1] {78 throwWarning: tr("{0} is unnecessary for {1}. The flow direction is defined by the way direction.", "{1.key}", "{0.key}");79 group: tr("unnecessary tag");80 69 } 81 70
Note:
See TracChangeset
for help on using the changeset viewer.