Changeset 15648 in josm for trunk/data/validator/combinations.mapcss
- Timestamp:
- 2020-01-06T22:13:13+01:00 (6 years ago)
- File:
-
- 1 edited
-
trunk/data/validator/combinations.mapcss (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r15635 r15648 270 270 } 271 271 272 /* {0.tag} together with {1.tag}, see #17950, #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */ 272 /* {0.tag} together with {1.tag}, see #18411, #17950, #17330, #17623, #17592, #17594, #17542, #16861, #16147, #10186 */ 273 *[barrier=kerb][kerb=no], 274 way[highway=construction][construction=yes], 275 way[railway=construction][construction=yes], 273 276 *[man_made=bridge][bridge=yes], 274 277 *[man_made=tunnel][tunnel=yes], … … 649 652 group: tr("suspicious tag combination"); 650 653 } 654 655 /* #18374 */ 656 *[amenity=recycling][collection_times="24/7"][!opening_hours], 657 *[amenity=recycling][collection_times ][!opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] { 658 throwWarning: tr("{0} together with {1}. Probably {2} is meant.", "{1.key}", "{0.tag}", "{2.key}"); 659 group: tr("suspicious tag combination"); 660 fixChangeKey: "collection_times => opening_hours"; 661 /* spaces in asserts are not yet supported 662 assertMatch: "node amenity=recycling collection_times=Mo-Fr 06:00-20:00"; 663 assertNoMatch: "node amenity=recycling collection_times=Mo-Fr 15:00"; 664 assertNoMatch: "node amenity=recycling collection_times=Mo 08:00-11:00"; 665 assertNoMatch: "node amenity=recycling collection_times=Sa[2,4] 8:00-11:00"; 666 */ 667 } 668 *[amenity=recycling][collection_times="24/7"][opening_hours], 669 *[amenity=recycling][collection_times ][opening_hours][collection_times=~/[a-z]-[A-Z].*[0-9]-[0-9]/] { 670 throwWarning: tr("{0} together with {1}. Probably {2} is meant.", "{1.key}", "{0.tag}", "{2.key}"); 671 group: tr("suspicious tag combination"); 672 }
Note:
See TracChangeset
for help on using the changeset viewer.
