- Timestamp:
- 2019-04-21T01:49:30+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/unnecessary.mapcss
r14987 r15005 91 91 } 92 92 93 /* #17100, #17471 */ 93 /* #17100, #17471, #17629 */ 94 *[name][name=~/^(?i)(pond)$/][water=pond], 95 *[name][name=~/^(?i)(chapel|chapelle|kapelle)$/][building=chapel], 96 *[name][name=~/^(?i)(church|église|biserica)$/][amenity=place_of_worship][religion=christian], 97 *[name][name=~/^(?i)(mosque|cami|masjid|مسجد)$/][amenity=place_of_worship][religion=muslim], 94 98 *[name][name=~/^(?i)(parking|parkplatz)$/][amenity=parking], 99 *[name][name=~/^(?i)(post office)$/][amenity=post_office], 100 *[name][name=~/^(?i)(restaurant)$/][amenity=restaurant], 101 *[name][name=~/^(?i)(toilets?)$/][amenity=toilets], 95 102 *[name][name=~/^(?i)(playground|spielplatz)$/][leisure=playground], 96 *[name][name=~/^(?i)(shop )$/][shop][shop!=no],97 *[name][name=~/^(?i)(building )$/][building][building!=no],98 *[name][name=~/^(?i)(house| rumah)$/][building=house],103 *[name][name=~/^(?i)(shop|boutique)$/][shop][shop!=no], 104 *[name][name=~/^(?i)(building|bangunan)$/][building][building!=no], 105 *[name][name=~/^(?i)(house|casa|maison|rumah|vivienda)$/][building=house], 99 106 *[name][name=~/^(?i)(kiosk)$/][shop=kiosk], 107 *[name][name=~/^(?i)(path)$/][highway=path], 100 108 *[name][name=~/^(?i)(jalan)$/][highway], 101 109 *[name][name=~/^(?i)(silo)$/][man_made=silo], 102 110 *[name][name=~/^(?i)(silo)$/][building=silo], 103 *[name][name=~/^(?i)(cemetery|cmentarz)$/][amenity=graveyard], 104 *[name][name=~/^(?i)(cemetery|cmentarz)$/][amenity=cemetery], 105 *[name="АГЗС"][amenity=fuel], 106 *[name="АЗС"][amenity=fuel] { 111 *[name][name=~/^(?i)(cemetery|cementerio|cimetière|cmentarz|friedhof)$/][amenity=grave_yard], 112 *[name][name=~/^(?i)(cemetery|cementerio|cimetière|cmentarz|friedhof)$/][landuse=cemetery], 113 *[name][name=~/^(?i)(mairie|rathaus)$/][amenity=townhall], 114 *[name][name=~/^(?i)(monument aux morts|war memorial)$/][historic=memorial][memorial=war_memorial], 115 *[name][name=~/^(?i)(school|école|Школа)$/][amenity=school], 116 *[name][name=~/^(?i)(école élémentaire)$/][amenity=school]["school:FR"="élémentaire"], 117 *[name][name=~/^(?i)(école maternelle)$/][amenity=school]["school:FR"="maternelle"], 118 *[name][name=~/^(?i)(école primaire)$/][amenity=school]["school:FR"="primaire"], 119 *[name][name=~/^(?i)(collège)$/][amenity=school]["school:FR"="collège"], 120 *[name][name=~/^(?i)(lycée)$/][amenity=school]["school:FR"="lycée"], 121 *[name][name=~/^(?i)(Аптека|farmacia|pharmacy|pharmacie)$/][amenity=pharmacy], 122 *[name][name=~/^(?i)(АГЗС|АЗС)$/][amenity=fuel] { 107 123 throwWarning: tr("{0}", "{0.tag}"); 108 124 group: tr("descriptive name"); … … 131 147 assertMatch: "way name=Silo man_made=silo building=silo"; 132 148 assertMatch: "way name=Silo building=silo"; 133 assertMatch: "way name=cemetery amenity=grave yard";134 assertMatch: "way name=Cmentarz amenity=grave yard";135 assertNoMatch: "way name=kiosk amenity=grave yard";149 assertMatch: "way name=cemetery amenity=grave_yard"; 150 assertMatch: "way name=Cmentarz amenity=grave_yard"; 151 assertNoMatch: "way name=kiosk amenity=grave_yard"; 136 152 } 137 *[name][name=~/^(?i)(house| rumah)$/][building][building!=house][building!=no] {153 *[name][name=~/^(?i)(house|casa|rumah|vivienda)$/][building][building!=house][building!=no] { 138 154 throwWarning: tr("{0}", "{0.tag}"); 139 155 group: tr("descriptive name");
Note:
See TracChangeset
for help on using the changeset viewer.