Changeset 19129 in josm for trunk/resources
- Timestamp:
- 2024-07-06T13:24:10+02:00 (2 months ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r19035 r19129 897 897 898 898 /* #16898, tower vs. communications_tower, wiki suggests 100m as rough guideline, so we warn for < 75m */ 899 *[man_made=communications_tower][height][ height =~ /^((7[0-4]|[1-6]?[0-9])(\.[0-9]*)?( m)?|(2(4[0-5]|[0-3][0-9])|1?[0-9]?[0-9])((\.[0-9]*)?( ft|\')|\'(11|10|[0-9])(\.[0-9]*)?\"))$/] { /* 75m ~ 246ft ~ 246' */899 *[man_made=communications_tower][height][siunit_length(tag(height)) < 75] { 900 900 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 901 901 suggestAlternative: "man_made=tower + tower:type=communication + height"; … … 1066 1066 group: tr("suspicious tag combination"); 1067 1067 } 1068 -
trunk/resources/data/validator/numeric.mapcss
r18757 r19129 663 663 assertNoMatch: "node name=\"1. Chemnitzer Billardclub 1952 e.V.\""; 664 664 } 665 666 /* #23621 */ 667 node[natural=tree][circumference][siunit_length(tag(circumference)) > 45] { 668 throwWarning: tr("Unusually large value of {0} in meters, possibly centimeter units are meant?", "{0.key}"); 669 assertMatch: "node natural=tree circumference=200"; 670 assertMatch: "node natural=tree circumference=82.4"; 671 assertNoMatch: "node natural=tree circumference=18.4"; 672 assertNoMatch: "node natural=tree circumference=\"100 cm\""; 673 assertNoMatch: "node natural=tree circumference=43"; /* Current world record */ 674 }
Note:
See TracChangeset
for help on using the changeset viewer.