Ticket #21286: josm_21286_v3.patch
File josm_21286_v3.patch, 1.6 KB (added by , 2 years ago) |
---|
-
resources/data/validator/combinations.mapcss
47 47 way[length_unit ][!waterway], 48 48 way[canal ][!waterway], 49 49 way[have_riverbank ][!waterway], 50 area[min_height ][!height][/^(building|building:part)$/], /* #21286 */ 51 area[building:min_level ][!building:levels][/^(building|building:part)$/], /* #21286 */ 50 52 *[border_type ][!boundary], 51 53 *[piste:difficulty ][!piste:type], 52 54 *[place ][!name][place!=islet][place!=plot][noname!=yes], … … 1076 1078 throwWarning: tr("{0} is lower than {1} on {2}.", "{1.key}", "{0.key}", "{2.tag}"); 1077 1079 group: tr("suspicious tag combination"); 1078 1080 } 1081 No newline at end of file 1082 1083 /* #21286 */ 1084 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)], 1085 area[/^(building|building:part)$/][height =~ /^[0-9]+(\.[0-9]+)?( ft)$/][min_height =~ /^[0-9]+(\.[0-9]+)?( ft)$/][get(split(" ", tag(height)), 0) <= get(split(" ", tag(min_height)), 0)], 1086 area[/^(building|building:part)$/][building:levels][building:min_level][tag("building:levels") <= tag("building:min_level")] { 1087 throwWarning: tr("{0} is lower or equal to {1} on {2}", "{1.key}", "{2.key}", "{0.key}"); 1088 group: tr("suspicious tag combination"); 1089 }