Ignore:
Timestamp:
2024-07-06T13:24:10+02:00 (21 months ago)
Author:
stoecker
Message:

add Check for trees that are too big, patch by gaben, fix #23621

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/validator/numeric.mapcss

    r18757 r19129  
    663663  assertNoMatch: "node name=\"1. Chemnitzer Billardclub 1952 e.V.\"";
    664664}
     665
     666/* #23621 */
     667node[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.