Changeset 16858 in josm for trunk/resources/data
- Timestamp:
- 2020-08-10T16:06:59+02:00 (4 years ago)
- Location:
- trunk/resources/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/resources/data/validator/ignoretags.cfg
r16854 r16858 230 230 K:water=pool 231 231 K:golf=path 232 K:man_made=utility_pole 232 233 ; 233 234 ; Highway Key/Value Pairs -
trunk/resources/data/validator/unnecessary.mapcss
r16856 r16858 96 96 *[name][name=~/^(?i)(parc|park)$/][leisure=park], 97 97 *[name][name=~/^(?i)(pond)$/][water=pond], 98 *[name][name=~/^(?i)(chapel|chapelle|kapelle)$/][building=chapel],99 98 *[name][name=~/^(?i)(church|église|biserica)$/][amenity=place_of_worship][religion=christian], 100 99 *[name][name=~/^(?i)(mosque|cami|masjid|مسجد)$/][amenity=place_of_worship][religion=muslim], … … 112 111 *[name][name=~/^(?i)(jalan)$/][highway], 113 112 *[name][name=~/^(?i)(silo)$/][man_made=silo], 114 *[name][name=~/^(?i)(silo)$/][building=silo],115 113 *[name][name=~/^(?i)(cemetery|cementerio|cimetière|cmentarz|friedhof)$/][amenity=grave_yard], 116 114 *[name][name=~/^(?i)(cemetery|cementerio|cimetière|cmentarz|friedhof)$/][landuse=cemetery], 117 115 *[name][name=~/^(?i)(monument aux morts|war memorial)$/][historic=memorial][memorial=war_memorial], 118 *[name][name=~/^(?i)(school|école|Школа)$/][building=school],119 116 *[name][name=~/^(?i)(school|école|Школа)$/][amenity=school], 120 117 *[name][name=~/^(?i)(école élémentaire)$/][amenity=school]["school:FR"="élémentaire"], … … 151 148 assertMatch: "way name=silo man_made=silo"; 152 149 assertMatch: "way name=Silo man_made=silo building=silo"; 153 assert Match: "way name=Silo building=silo";150 assertNoMatch: "way name=Silo building=silo"; 154 151 assertMatch: "way name=cemetery amenity=grave_yard"; 155 152 assertMatch: "way name=Cmentarz amenity=grave_yard"; 156 153 assertNoMatch: "way name=kiosk amenity=grave_yard"; 157 154 } 158 *[name][name=~/^(?i)(school|école|Школа)$/][building][building!=school][building!=no], 159 *[name][name=~/^(?i)(house|rumah|vivienda)$/][building][building!=house][building!=no], 160 *[name][name=~/^(?i)(casa)$/][building][building!=house][building!=no][outside("FR")] { 155 /* the following without fixRemove to avoid informatin loss, should be checked manually */ 156 *[name][name=~/^(?i)(chapel|chapelle|kapelle)$/], /* check if amenity=place_of_worship and/or building=chapel applies */ 157 *[name][name=~/^(?i)(silo)$/][man_made!=silo], /* check if man_made=silo and/or building=silo applies */ 158 *[name][name=~/^(?i)(school|école|Школа)$/][amenity!=school], /* check if amenity=school and/or building=school applies applies */ 159 *[name][name=~/^(?i)(house|rumah|vivienda)$/][building][building!=house][building!=no], /* check if building=house applies */ 160 *[name][name=~/^(?i)(casa)$/][building][building!=house][building!=no][outside("FR")] { /* check if building=house applies */ 161 161 throwWarning: tr("{0}", "{0.tag}"); 162 162 group: tr("descriptive name"); 163 /* without fixRemove to avoid possible information loss */163 assertMatch: "way name=Silo building=silo"; 164 164 assertNoMatch: "way name=building building=yes"; 165 165 assertNoMatch: "way name=building building=house";
Note:
See TracChangeset
for help on using the changeset viewer.