- Timestamp:
- 2024-07-15T13:11:17+02:00 (5 months ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/combinations.mapcss
r19129 r19140 757 757 758 758 /* #17391 */ 759 way[highway=pedestrian][width][ width<3] {759 way[highway=pedestrian][width][siunit_length(tag(width))<3] { 760 760 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}"); 761 761 suggestAlternative: "highway=footway"; … … 1061 1061 1062 1062 /* #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)],1063 area[/^(building|building:part)$/][height][min_height][siunit_length(tag(height)) <= siunit_length(tag(min_height))], 1064 1064 area[/^(building|building:part)$/][building:levels][building:min_level][tag("building:levels") <= tag("building:min_level")] { 1065 1065 throwWarning: tr("{0} is lower or equal to {1} on {2}", "{1.key}", "{2.key}", "{0.key}"); -
trunk/resources/data/validator/numeric.mapcss
r19129 r19140 68 68 } 69 69 70 *[roof:height][ roof:height =~ /^0*(\.0*)?( (m|ft))?$/][roof:shape=flat] {70 *[roof:height][siunit_length(tag("roof:height")) == 0][roof:shape=flat] { 71 71 throwWarning: tr("{0} is unnecessary for {1}", "{0.tag}", "{2.tag}"); 72 72 group: tr("unnecessary tag");
Note:
See TracChangeset
for help on using the changeset viewer.