Ignore:
Timestamp:
2024-07-15T13:11:17+02:00 (3 months ago)
Author:
stoecker
Message:

adapt height rules to use siunit_length - patch by gaben, fix #23781

File:
1 edited

Legend:

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

    r19129 r19140  
    757757
    758758/* #17391 */
    759 way[highway=pedestrian][width][width<3] {
     759way[highway=pedestrian][width][siunit_length(tag(width))<3] {
    760760  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
    761761  suggestAlternative: "highway=footway";
     
    10611061
    10621062/* #21286 */
    1063 area[/^(building|building:part)$/][height =~ /^[0-9]+(\.[0-9]+)?( m)?$/][min_height =~ /^[0-9]+(\.[0-9]+)?( m)?$/][get(split(" ", tag(height)), 0) <= get(split(" ", tag(min_height)), 0)],
     1063area[/^(building|building:part)$/][height][min_height][siunit_length(tag(height)) <= siunit_length(tag(min_height))],
    10641064area[/^(building|building:part)$/][building:levels][building:min_level][tag("building:levels") <= tag("building:min_level")] {
    10651065  throwWarning: tr("{0} is lower or equal to {1} on {2}", "{1.key}", "{2.key}", "{0.key}");
Note: See TracChangeset for help on using the changeset viewer.