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/combinations.mapcss

    r19035 r19129  
    897897
    898898/* #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] {
    900900  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    901901  suggestAlternative: "man_made=tower + tower:type=communication + height";
     
    10661066  group: tr("suspicious tag combination");
    10671067}
    1068 
Note: See TracChangeset for help on using the changeset viewer.