Changeset 13378 in josm
- Timestamp:
- 2018-02-03T14:37:46+01:00 (7 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/deprecated.mapcss
r13339 r13378 538 538 } 539 539 540 /* see #10346 */541 way[oneway=1] {540 /* see #10346, #15667 (waterway has its own rules in unnecessary.mapcss) */ 541 way[oneway=1][!waterway] { 542 542 throwWarning: tr("{0} is deprecated", "{0.tag}"); 543 543 suggestAlternative: "oneway=yes"; … … 546 546 } 547 547 548 /* see #11329 */549 way[oneway=-1] {548 /* see #11329, #15667 */ 549 way[oneway=-1][!waterway] { 550 550 throwWarning: tr("{0} is not recommended. Use the Reverse Ways function from the Tools menu.", "{0.tag}"); 551 551 } -
trunk/data/validator/unnecessary.mapcss
r13377 r13378 54 54 fixRemove: "payment:cash"; 55 55 } 56 57 /* see #10346, #15667 */ 58 way[waterway][oneway?] { 59 throwWarning: tr("{0} is unnecessary for {1}", "{1.key}", "{0.key}"); 60 group: tr("unnecessary tag"); 61 fixRemove: "{1.key}"; 62 } 63 way[waterway][oneway=-1] { 64 throwWarning: tr("{0} is unnecessary for {1}. The flow direction is defined by the way direction.", "{1.key}", "{0.key}"); 65 group: tr("unnecessary tag"); 66 }
Note:
See TracChangeset
for help on using the changeset viewer.