[6506] | 1 | *[barrier=wire_fence] {
|
---|
[9551] | 2 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[11138] | 3 | group: tr("deprecated tagging");
|
---|
[10538] | 4 | suggestAlternative: "barrier=fence + fence_type=chain_link";
|
---|
[6506] | 5 | fixAdd: "barrier=fence";
|
---|
| 6 | fixAdd: "fence_type=chain_link";
|
---|
[6512] | 7 | assertMatch: "way barrier=wire_fence";
|
---|
| 8 | assertNoMatch: "way barrier=fence";
|
---|
[6506] | 9 | }
|
---|
| 10 |
|
---|
| 11 | *[barrier=wood_fence] {
|
---|
[9551] | 12 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 13 | suggestAlternative: "barrier=fence + fence_type=wood";
|
---|
[11138] | 14 | group: tr("deprecated tagging");
|
---|
[6506] | 15 | fixAdd: "barrier=fence";
|
---|
| 16 | fixAdd: "fence_type=wood";
|
---|
| 17 | }
|
---|
| 18 |
|
---|
[10916] | 19 | node[highway=ford] {
|
---|
[9551] | 20 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 21 | suggestAlternative: "ford=yes";
|
---|
[11138] | 22 | group: tr("deprecated tagging");
|
---|
[6506] | 23 | fixRemove: "highway";
|
---|
| 24 | fixAdd: "ford=yes";
|
---|
| 25 | }
|
---|
[10916] | 26 | way[highway=ford] {
|
---|
| 27 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 28 | suggestAlternative: "highway=* + ford=yes";
|
---|
[11138] | 29 | group: tr("deprecated tagging");
|
---|
[10916] | 30 | }
|
---|
[6506] | 31 |
|
---|
[11985] | 32 | way[class] {
|
---|
[6506] | 33 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[6689] | 34 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
[6506] | 35 | suggestAlternative: "highway";
|
---|
[11138] | 36 | group: tr("deprecated tagging");
|
---|
[6506] | 37 | }
|
---|
| 38 |
|
---|
| 39 | *[highway=stile] {
|
---|
| 40 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 41 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 42 | suggestAlternative: "barrier=stile";
|
---|
[11138] | 43 | group: tr("deprecated tagging");
|
---|
[6506] | 44 | fixRemove: "highway";
|
---|
| 45 | fixAdd: "barrier=stile";
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | *[highway=incline] {
|
---|
| 49 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 50 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 51 | suggestAlternative: "incline";
|
---|
[11138] | 52 | group: tr("deprecated tagging");
|
---|
[6506] | 53 | }
|
---|
| 54 |
|
---|
| 55 | *[highway=incline_steep] {
|
---|
| 56 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 57 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 58 | suggestAlternative: "incline";
|
---|
[11138] | 59 | group: tr("deprecated tagging");
|
---|
[6506] | 60 | }
|
---|
| 61 |
|
---|
| 62 | *[highway=unsurfaced] {
|
---|
| 63 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 64 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 65 | suggestAlternative: "highway=* + surface=unpaved";
|
---|
[11138] | 66 | group: tr("deprecated tagging");
|
---|
[6506] | 67 | fixAdd: "highway=road";
|
---|
[8161] | 68 | fixAdd: "surface=unpaved";
|
---|
[6506] | 69 | }
|
---|
| 70 |
|
---|
| 71 | *[landuse=wood] {
|
---|
| 72 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 73 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 74 | suggestAlternative: "landuse=forest";
|
---|
| 75 | suggestAlternative: "natural=wood";
|
---|
[11138] | 76 | group: tr("deprecated tagging");
|
---|
[6506] | 77 | }
|
---|
| 78 |
|
---|
| 79 | *[natural=marsh] {
|
---|
| 80 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 81 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 82 | suggestAlternative: "natural=wetland + wetland=marsh";
|
---|
[11138] | 83 | group: tr("deprecated tagging");
|
---|
[6506] | 84 | fixAdd: "natural=wetland";
|
---|
| 85 | fixAdd: "wetland=marsh";
|
---|
| 86 | }
|
---|
| 87 |
|
---|
| 88 | *[highway=byway] {
|
---|
| 89 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[9551] | 90 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[11138] | 91 | group: tr("deprecated tagging");
|
---|
[6506] | 92 | }
|
---|
| 93 |
|
---|
| 94 | *[power_source] {
|
---|
| 95 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[6689] | 96 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
[6506] | 97 | suggestAlternative: "generator:source";
|
---|
[11138] | 98 | group: tr("deprecated tagging");
|
---|
[6506] | 99 | }
|
---|
| 100 |
|
---|
| 101 | *[power_rating] {
|
---|
| 102 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
[6689] | 103 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
[6506] | 104 | suggestAlternative: "generator:output";
|
---|
[11138] | 105 | group: tr("deprecated tagging");
|
---|
[6506] | 106 | }
|
---|
| 107 |
|
---|
[7600] | 108 | *[shop=antique] {
|
---|
[9551] | 109 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 110 | suggestAlternative: "shop=antiques";
|
---|
[11138] | 111 | group: tr("deprecated tagging");
|
---|
[7600] | 112 | fixAdd: "shop=antiques";
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | *[shop=bags] {
|
---|
[9551] | 116 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 117 | suggestAlternative: "shop=bag";
|
---|
[11138] | 118 | group: tr("deprecated tagging");
|
---|
[7600] | 119 | fixAdd: "shop=bag";
|
---|
| 120 | }
|
---|
| 121 |
|
---|
[6506] | 122 | *[shop=organic] {
|
---|
| 123 | /* from http://wiki.openstreetmap.org/wiki/Tag:shop=organic */
|
---|
[9551] | 124 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[10329] | 125 | suggestAlternative: "shop=* + organic=yes";
|
---|
| 126 | suggestAlternative: "shop=* + organic=only";
|
---|
[11138] | 127 | group: tr("deprecated tagging");
|
---|
[6506] | 128 | }
|
---|
[7600] | 129 |
|
---|
| 130 | *[shop=pets] {
|
---|
[9551] | 131 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 132 | suggestAlternative: "shop=pet";
|
---|
[11138] | 133 | group: tr("deprecated tagging");
|
---|
[7600] | 134 | fixAdd: "shop=pet";
|
---|
| 135 | }
|
---|
| 136 |
|
---|
| 137 | *[shop=pharmacy] {
|
---|
[9551] | 138 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 139 | suggestAlternative: "amenity=pharmacy";
|
---|
[11138] | 140 | group: tr("deprecated tagging");
|
---|
[7600] | 141 | fixChangeKey: "shop => amenity";
|
---|
| 142 | }
|
---|
| 143 |
|
---|
[6506] | 144 | *[bicycle_parking=sheffield] {
|
---|
| 145 | /* from http://wiki.openstreetmap.org/wiki/Key:bicycle_parking */
|
---|
[9551] | 146 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 147 | suggestAlternative: "bicycle_parking=stands";
|
---|
[11138] | 148 | group: tr("deprecated tagging");
|
---|
[6506] | 149 | fixAdd: "bicycle_parking=stands";
|
---|
| 150 | }
|
---|
| 151 |
|
---|
| 152 | *[amenity=emergency_phone] {
|
---|
| 153 | /* http://wiki.openstreetmap.org/wiki/Tag:emergency=phone */
|
---|
[9551] | 154 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 155 | suggestAlternative: "emergency=phone";
|
---|
[11138] | 156 | group: tr("deprecated tagging");
|
---|
[6506] | 157 | fixRemove: "amenity";
|
---|
| 158 | fixAdd: "emergency=phone";
|
---|
| 159 | }
|
---|
| 160 |
|
---|
| 161 | *[sport=gaelic_football] {
|
---|
| 162 | /* fix #8132 - http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football */
|
---|
[9551] | 163 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 164 | suggestAlternative: "sport=gaelic_games";
|
---|
[11138] | 165 | group: tr("deprecated tagging");
|
---|
[6506] | 166 | fixAdd: "sport=gaelic_games";
|
---|
| 167 | }
|
---|
| 168 |
|
---|
| 169 | *[power=station] {
|
---|
| 170 | /* see #8847 / #8961 - http://wiki.openstreetmap.org/wiki/Tag:power=station */
|
---|
[9551] | 171 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 172 | suggestAlternative: "power=plant";
|
---|
[6688] | 173 | suggestAlternative: "power=substation";
|
---|
[11138] | 174 | group: tr("deprecated tagging");
|
---|
[6506] | 175 | }
|
---|
[6689] | 176 |
|
---|
| 177 | *[power=sub_station] {
|
---|
[9551] | 178 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 179 | suggestAlternative: "power=substation";
|
---|
[11138] | 180 | group: tr("deprecated tagging");
|
---|
[6689] | 181 | fixAdd: "power=substation";
|
---|
| 182 | }
|
---|
[6506] | 183 |
|
---|
| 184 | *[generator:method=dam] {
|
---|
[9551] | 185 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 186 | suggestAlternative: "generator:method=water-storage";
|
---|
[11138] | 187 | group: tr("deprecated tagging");
|
---|
[6506] | 188 | fixAdd: "generator:method=water-storage";
|
---|
| 189 | }
|
---|
| 190 |
|
---|
| 191 | *[generator:method=pumped-storage] {
|
---|
[9551] | 192 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 193 | suggestAlternative: "generator:method=water-pumped-storage";
|
---|
[11138] | 194 | group: tr("deprecated tagging");
|
---|
[6506] | 195 | fixAdd: "generator:method=water-pumped-storage";
|
---|
| 196 | }
|
---|
| 197 |
|
---|
| 198 | *[generator:method=pumping] {
|
---|
[9551] | 199 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 200 | suggestAlternative: "generator:method=water-pumped-storage";
|
---|
[11138] | 201 | group: tr("deprecated tagging");
|
---|
[6506] | 202 | fixAdd: "generator:method=water-pumped-storage";
|
---|
| 203 | }
|
---|
| 204 |
|
---|
| 205 | *[fence_type=chain] {
|
---|
| 206 | /* see #8962 - http://wiki.openstreetmap.org/wiki/Key:fence_type */
|
---|
[9551] | 207 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 208 | suggestAlternative: "barrier=chain";
|
---|
[9552] | 209 | suggestAlternative: "barrier=fence + fence_type=chain_link";
|
---|
[11138] | 210 | group: tr("deprecated tagging");
|
---|
[6506] | 211 | }
|
---|
| 212 |
|
---|
| 213 | *[building=entrance] {
|
---|
| 214 | /* see #9000 - http://wiki.openstreetmap.org/wiki/Key:entrance */
|
---|
[9551] | 215 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[6506] | 216 | suggestAlternative: "entrance";
|
---|
[11138] | 217 | group: tr("deprecated tagging");
|
---|
[6506] | 218 | }
|
---|
| 219 |
|
---|
| 220 | *[board_type=board] {
|
---|
| 221 | /* see #9213 - Useless tag proposed in internal preset for years */
|
---|
[9551] | 222 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[11138] | 223 | group: tr("deprecated tagging");
|
---|
[6506] | 224 | fixRemove: "board_type";
|
---|
| 225 | }
|
---|
| 226 |
|
---|
| 227 | *[man_made=measurement_station] {
|
---|
| 228 | /* see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station */
|
---|
[9551] | 229 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 230 | suggestAlternative: "man_made=monitoring_station";
|
---|
[11138] | 231 | group: tr("deprecated tagging");
|
---|
[6506] | 232 | fixAdd: "man_made=monitoring_station";
|
---|
| 233 | }
|
---|
| 234 |
|
---|
| 235 | *[measurement=water_level] {
|
---|
[9551] | 236 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 237 | suggestAlternative: "monitoring:water_level=yes";
|
---|
[11138] | 238 | group: tr("deprecated tagging");
|
---|
[6506] | 239 | fixRemove: "measurement";
|
---|
| 240 | fixAdd: "monitoring:water_level=yes";
|
---|
| 241 | }
|
---|
| 242 |
|
---|
| 243 | *[measurement=weather] {
|
---|
[9551] | 244 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 245 | suggestAlternative: "monitoring:weather=yes";
|
---|
[11138] | 246 | group: tr("deprecated tagging");
|
---|
[6506] | 247 | fixRemove: "measurement";
|
---|
| 248 | fixAdd: "monitoring:weather=yes";
|
---|
| 249 | }
|
---|
| 250 |
|
---|
| 251 | *[measurement=seismic] {
|
---|
[9551] | 252 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 253 | suggestAlternative: "monitoring:seismic_activity=yes";
|
---|
[11138] | 254 | group: tr("deprecated tagging");
|
---|
[6506] | 255 | fixRemove: "measurement";
|
---|
| 256 | fixAdd: "monitoring:seismic_activity=yes";
|
---|
| 257 | }
|
---|
| 258 |
|
---|
| 259 | *[monitoring:river_level] {
|
---|
[6689] | 260 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
[9551] | 261 | suggestAlternative: "monitoring:water_level";
|
---|
[11138] | 262 | group: tr("deprecated tagging");
|
---|
[6506] | 263 | fixChangeKey: "monitoring:river_level => monitoring:water_level";
|
---|
| 264 | }
|
---|
[6605] | 265 |
|
---|
[7449] | 266 | *[stay] {
|
---|
| 267 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
[9551] | 268 | suggestAlternative: "maxstay";
|
---|
[11138] | 269 | group: tr("deprecated tagging");
|
---|
[7449] | 270 | fixChangeKey: "stay => maxstay";
|
---|
| 271 | }
|
---|
| 272 |
|
---|
[6658] | 273 | *[emergency=aed] {
|
---|
| 274 | /* see #9554 - http://wiki.openstreetmap.org/wiki/Proposed_features/automated_external_defibrillator */
|
---|
[9551] | 275 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 276 | suggestAlternative: "emergency=defibrillator";
|
---|
[11138] | 277 | group: tr("deprecated tagging");
|
---|
[6658] | 278 | fixAdd: "emergency=defibrillator";
|
---|
| 279 | }
|
---|
| 280 |
|
---|
[6605] | 281 | /* from http://wiki.openstreetmap.org/wiki/Conditional_restrictions#Deprecated_tags */
|
---|
[6645] | 282 | *[day_on][!restriction],
|
---|
| 283 | *[day_off][!restriction],
|
---|
| 284 | *[date_on][!restriction],
|
---|
| 285 | *[date_off][!restriction],
|
---|
| 286 | *[hour_on][!restriction],
|
---|
| 287 | *[hour_off][!restriction] {
|
---|
[6605] | 288 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 289 | suggestAlternative: "*:conditional";
|
---|
[11138] | 290 | group: tr("deprecated tagging");
|
---|
[6605] | 291 | assertMatch: "node day_on=0-12";
|
---|
| 292 | }
|
---|
[7105] | 293 |
|
---|
| 294 | /* see #10000, http://wiki.openstreetmap.org/wiki/Tag%3Aaccess%3Ddesignated */
|
---|
| 295 | *[access=designated] {
|
---|
| 296 | throwWarning: tr("''{0}'' is meaningless, use more specific tags, e.g. ''{1}''", "access=designated", "bicycle=designated");
|
---|
| 297 | assertMatch: "way access=designated";
|
---|
| 298 | }
|
---|
[7106] | 299 | *[access=official] {
|
---|
| 300 | throwWarning: tr("''{0}'' does not specify the official mode of transportation, use ''{1}'' for example", "access=official", "bicycle=official");
|
---|
| 301 | assertMatch: "way access=official";
|
---|
| 302 | }
|
---|
[7197] | 303 |
|
---|
| 304 | /* see #10085 - give warning for fixme=yes */
|
---|
| 305 | *[fixme=yes], *[FIXME=yes] {
|
---|
| 306 | throwWarning: tr("{0}={1} is unspecific. Instead of ''{1}'' please give more information about what exactly should be fixed.", "{0.key}", "{0.value}");
|
---|
| 307 | assertMatch: "way fixme=yes";
|
---|
| 308 | }
|
---|
| 309 |
|
---|
[9088] | 310 | *[name][name=~/^(?i)fixme$/] {
|
---|
| 311 | throwWarning: tr("Wrong usage of {0} tag. Remove {1}, because it is clear that the name is missing even without an additional tag.", "{0.key}", "{0.tag}");
|
---|
| 312 | fixRemove: "name";
|
---|
| 313 | assertMatch: "node name=fixme";
|
---|
| 314 | assertMatch: "node name=Fixme";
|
---|
| 315 | assertMatch: "node name=FIXME";
|
---|
| 316 | assertNoMatch: "node name=valid name";
|
---|
| 317 | }
|
---|
| 318 |
|
---|
[10004] | 319 | *[note][note=~/^(?i)fixme$/] {
|
---|
| 320 | throwWarning: tr("{0} is unspecific. Instead use the key fixme with the information what exactly should be fixed in the value of fixme.", "{0.tag}");
|
---|
| 321 | }
|
---|
| 322 |
|
---|
[10860] | 323 | /* see #10107, #10108, #10929, #13391 - http://wiki.openstreetmap.org/wiki/Proposed_features/leaftype#Features.2FPages_affected */
|
---|
[7222] | 324 | *[type=broad_leaved],
|
---|
| 325 | *[type=broad_leafed] {
|
---|
[9551] | 326 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 327 | suggestAlternative: "leaf_type=broadleaved";
|
---|
[11138] | 328 | group: tr("deprecated tagging");
|
---|
[7222] | 329 | fixRemove: "{0.key}";
|
---|
| 330 | fixAdd: "leaf_type=broadleaved";
|
---|
[9557] | 331 | }
|
---|
[7222] | 332 |
|
---|
[7924] | 333 | *[wood=coniferous],
|
---|
| 334 | *[type=coniferous],
|
---|
| 335 | *[type=conifer] {
|
---|
[9551] | 336 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 337 | suggestAlternative: "leaf_type=needleleaved";
|
---|
[11138] | 338 | group: tr("deprecated tagging");
|
---|
[7924] | 339 | fixRemove: "{0.key}";
|
---|
[7222] | 340 | fixAdd: "leaf_type=needleleaved";
|
---|
| 341 | }
|
---|
| 342 |
|
---|
| 343 | *[wood=mixed] {
|
---|
[9551] | 344 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 345 | suggestAlternative: "leaf_type=mixed";
|
---|
[11138] | 346 | group: tr("deprecated tagging");
|
---|
[7222] | 347 | fixRemove: "wood";
|
---|
| 348 | fixAdd: "leaf_type=mixed";
|
---|
| 349 | }
|
---|
| 350 |
|
---|
| 351 | *[wood=evergreen],
|
---|
| 352 | *[type=evergreen] {
|
---|
[9551] | 353 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 354 | suggestAlternative: "leaf_cycle=evergreen";
|
---|
[11138] | 355 | group: tr("deprecated tagging");
|
---|
[7222] | 356 | fixRemove: "{0.key}";
|
---|
| 357 | fixAdd: "leaf_cycle=evergreen";
|
---|
| 358 | }
|
---|
| 359 |
|
---|
| 360 | *[type=deciduous],
|
---|
| 361 | *[type=deciduos] {
|
---|
[9551] | 362 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 363 | suggestAlternative: "leaf_cycle=deciduous";
|
---|
[11138] | 364 | group: tr("deprecated tagging");
|
---|
[7222] | 365 | fixRemove: "type";
|
---|
| 366 | fixAdd: "leaf_cycle=deciduous";
|
---|
| 367 | }
|
---|
[7391] | 368 |
|
---|
[10860] | 369 | *[wood=deciduous] {
|
---|
| 370 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 371 | suggestAlternative: "leaf_type + leaf_cycle";
|
---|
[11138] | 372 | group: tr("deprecated tagging");
|
---|
[10860] | 373 | }
|
---|
| 374 |
|
---|
[10798] | 375 | node[type=palm],
|
---|
| 376 | way[type=palm] {
|
---|
| 377 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 378 | suggestAlternative: "leaf_type";
|
---|
| 379 | suggestAlternative: "trees";
|
---|
| 380 | suggestAlternative: "species";
|
---|
[11138] | 381 | group: tr("deprecated tagging");
|
---|
[10798] | 382 | }
|
---|
| 383 |
|
---|
[7391] | 384 | *[natural=land] {
|
---|
[9551] | 385 | throwWarning: tr("{0} is deprecated. Please use instead a multipolygon.", "{0.tag}");
|
---|
[11138] | 386 | group: tr("deprecated tagging");
|
---|
[7391] | 387 | assertMatch: "way natural=land";
|
---|
| 388 | }
|
---|
[7490] | 389 |
|
---|
| 390 | /* see #10447 - https://wiki.openstreetmap.org/wiki/Proposed_features/Bridge_types#Deprecated_bridge_key_values */
|
---|
| 391 | *[bridge=causeway] {
|
---|
[9551] | 392 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[7490] | 393 | suggestAlternative: "ford=yes";
|
---|
| 394 | suggestAlternative: "bridge=low_water_crossing";
|
---|
| 395 | suggestAlternative: "embankment=yes";
|
---|
[11138] | 396 | group: tr("deprecated tagging");
|
---|
[7490] | 397 | }
|
---|
| 398 |
|
---|
| 399 | *[bridge=swing] {
|
---|
[9551] | 400 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[7490] | 401 | suggestAlternative: "bridge:movable=swing";
|
---|
| 402 | suggestAlternative: "bridge:structure=simple-suspension";
|
---|
[11138] | 403 | group: tr("deprecated tagging");
|
---|
[7490] | 404 | }
|
---|
| 405 |
|
---|
| 406 | *[bridge=suspension] {
|
---|
[9551] | 407 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 408 | suggestAlternative: "bridge=yes + bridge:structure=suspension";
|
---|
[11138] | 409 | group: tr("deprecated tagging");
|
---|
[7490] | 410 | fixAdd: "bridge=yes";
|
---|
| 411 | fixAdd: "bridge:structure=suspension";
|
---|
| 412 | }
|
---|
[7599] | 413 |
|
---|
[7620] | 414 | /* See #10530 - Incorrect tag proposed in internal preset for years */
|
---|
[7623] | 415 | *[fee=interval],
|
---|
| 416 | *[lit=interval],
|
---|
| 417 | *[supervised=interval] {
|
---|
[7647] | 418 | throwWarning: tr("{0} is deprecated. Please specify interval by using opening_hours syntax", "{0.tag}");
|
---|
[11138] | 419 | group: tr("deprecated tagging");
|
---|
[7620] | 420 | }
|
---|
| 421 |
|
---|
[7599] | 422 | /* See #10582 - JOSM supported this tag as "don't upload this" feature, before the introduction of upload flag at layer level */
|
---|
| 423 | *[/josm\/ignore/] {
|
---|
| 424 | throwError: tr("{0} is deprecated. Please delete this object and use a private layer instead", "{0.key}");
|
---|
[11138] | 425 | group: tr("deprecated tagging");
|
---|
[7599] | 426 | fixDeleteObject: this;
|
---|
| 427 | }
|
---|
[7630] | 428 |
|
---|
| 429 | /* see #8281 */
|
---|
| 430 | *[sport=diving] {
|
---|
[7647] | 431 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[7630] | 432 | suggestAlternative: "sport=scuba_diving";
|
---|
| 433 | suggestAlternative: "sport=cliff_diving";
|
---|
[11138] | 434 | group: tr("deprecated tagging");
|
---|
[7635] | 435 | }
|
---|
| 436 |
|
---|
| 437 | /* see #8281 */
|
---|
| 438 | *[parking=park_and_ride] {
|
---|
[7647] | 439 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[9551] | 440 | suggestAlternative: "amenity=parking + park_ride=yes";
|
---|
[11138] | 441 | group: tr("deprecated tagging");
|
---|
[7635] | 442 | fixRemove: "parking";
|
---|
| 443 | fixAdd: "amenity=parking";
|
---|
| 444 | fixAdd: "park_ride=yes";
|
---|
[7647] | 445 | }
|
---|
| 446 |
|
---|
[10229] | 447 | /* see #10661, #10837, #11737, #12771 */
|
---|
[9506] | 448 | *[traffic_calming=yes],
|
---|
[8699] | 449 | *[access=restricted],
|
---|
[7818] | 450 | *[barrier=yes],
|
---|
[8630] | 451 | *[aerialway=yes][!public_transport],
|
---|
[7818] | 452 | *[amenity=yes],
|
---|
[10272] | 453 | *[leisure=yes],
|
---|
[9435] | 454 | *[shop="*"],
|
---|
[9681] | 455 | *[craft=yes],
|
---|
[10229] | 456 | *[service=yes],
|
---|
[7818] | 457 | *[place=yes] {
|
---|
[7647] | 458 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by a specific value.", "{0.key}", "{0.value}");
|
---|
[7697] | 459 | }
|
---|
| 460 |
|
---|
[7818] | 461 | /* see #10693 - http://wiki.openstreetmap.org/wiki/Proposed_features/drop_recommendation_for_place_name , #10837 */
|
---|
[7697] | 462 | *[place_name][!name] {
|
---|
| 463 | throwWarning: tr("{0} should be replaced with {1}", "{0.key}", "{1.key}");
|
---|
| 464 | fixChangeKey: "place_name => name";
|
---|
| 465 | }
|
---|
[7818] | 466 | *[place][place_name = *name] {
|
---|
| 467 | throwWarning: tr("{0} = {1}; remove {0}", "{1.key}", "{1.value}");
|
---|
| 468 | fixRemove: "{1.key}";
|
---|
| 469 | }
|
---|
[7707] | 470 |
|
---|
| 471 | way[sidewalk=yes] {
|
---|
| 472 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
|
---|
[7737] | 473 | }
|
---|
| 474 |
|
---|
[9551] | 475 | *[waterway=water_point] {
|
---|
| 476 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 477 | suggestAlternative: "amenity=water_point";
|
---|
[11138] | 478 | group: tr("deprecated tagging");
|
---|
[9551] | 479 | fixChangeKey: "waterway => amenity";
|
---|
| 480 | }
|
---|
[7737] | 481 | *[waterway=waste_disposal] {
|
---|
| 482 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[9551] | 483 | suggestAlternative: "amenity=waste_disposal";
|
---|
[11138] | 484 | group: tr("deprecated tagging");
|
---|
[7737] | 485 | fixChangeKey: "waterway => amenity";
|
---|
| 486 | }
|
---|
| 487 | *[waterway=mooring] {
|
---|
| 488 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[9551] | 489 | suggestAlternative: "mooring=yes";
|
---|
[11138] | 490 | group: tr("deprecated tagging");
|
---|
[7737] | 491 | fixRemove: "waterway";
|
---|
| 492 | fixAdd: "mooring=yes";
|
---|
[7818] | 493 | }
|
---|
| 494 |
|
---|
| 495 | /* see #10837 */
|
---|
[7969] | 496 | *[building][levels],
|
---|
| 497 | *[building:part=yes][levels] {
|
---|
[7818] | 498 | throwWarning: tr("{0} is deprecated", "{1.key}");
|
---|
| 499 | suggestAlternative: "building:levels";
|
---|
[11138] | 500 | group: tr("deprecated tagging");
|
---|
[7818] | 501 | fixChangeKey: "levels => building:levels";
|
---|
[7973] | 502 | }
|
---|
| 503 |
|
---|
| 504 | /* see #10691 */
|
---|
| 505 | *[protected_class] {
|
---|
| 506 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 507 | suggestAlternative: "protect_class";
|
---|
[11138] | 508 | group: tr("deprecated tagging");
|
---|
[7973] | 509 | fixChangeKey: "protected_class => protect_class";
|
---|
[8008] | 510 | }
|
---|
| 511 |
|
---|
| 512 | /* see #11070 */
|
---|
| 513 | *[lock=unknown],
|
---|
| 514 | *[hide=unknown],
|
---|
| 515 | *[shelter=unknown],
|
---|
| 516 | *[access=unknown],
|
---|
| 517 | *[capacity:parent=unknown],
|
---|
| 518 | *[capacity:women=unknown],
|
---|
| 519 | *[capacity:disabled=unknown],
|
---|
| 520 | *[crossing=unknown],
|
---|
| 521 | *[foot=unknown] {
|
---|
[8023] | 522 | throwWarning: tr("Unspecific tag {0}", "{0.tag}");
|
---|
[8121] | 523 | }
|
---|
| 524 |
|
---|
| 525 | /* unclear definition, see #11183 */
|
---|
[11159] | 526 | *[sport=skiing] {
|
---|
[8121] | 527 | throwWarning: tr("Definition of {0} is unclear", "{0.tag}");
|
---|
[11159] | 528 | suggestAlternative: tr("{0} + {1} + {2}", "piste:type=*", "piste:difficulty=*", "piste:grooming=*");
|
---|
| 529 | group: tr("deprecated tagging");
|
---|
[8135] | 530 | }
|
---|
| 531 |
|
---|
| 532 | /* see #11223 */
|
---|
| 533 | *[waterway=wadi] {
|
---|
| 534 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 535 | suggestAlternative: "{0.key}=* + intermittent=yes";
|
---|
| 536 | suggestAlternative: "natural=valley";
|
---|
[11138] | 537 | group: tr("deprecated tagging");
|
---|
[8137] | 538 | }
|
---|
| 539 |
|
---|
| 540 | /* see #10346 */
|
---|
| 541 | way[oneway=1] {
|
---|
| 542 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 543 | suggestAlternative: "oneway=yes";
|
---|
[11138] | 544 | group: tr("deprecated tagging");
|
---|
[8137] | 545 | fixAdd: "oneway=yes";
|
---|
[8165] | 546 | }
|
---|
| 547 |
|
---|
[8183] | 548 | /* see #11329 */
|
---|
| 549 | way[oneway=-1] {
|
---|
| 550 | throwWarning: tr("{0} is not recommended. Use the Reverse Ways function from the Tools menu.", "{0.tag}");
|
---|
| 551 | }
|
---|
| 552 |
|
---|
[8165] | 553 | *[drinkable] {
|
---|
| 554 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 555 | suggestAlternative: "drinking_water";
|
---|
[11138] | 556 | group: tr("deprecated tagging");
|
---|
[8184] | 557 | }
|
---|
| 558 |
|
---|
| 559 | /* see #10329 */
|
---|
| 560 | *[color][!colour] {
|
---|
| 561 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 562 | suggestAlternative: "colour";
|
---|
[11138] | 563 | group: tr("deprecated tagging");
|
---|
[8184] | 564 | fixChangeKey: "color => colour";
|
---|
| 565 | }
|
---|
| 566 | *[color][colour][tag(color)=tag(colour)] {
|
---|
| 567 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
|
---|
[11138] | 568 | group: tr("deprecated tagging");
|
---|
[8184] | 569 | set samecolor;
|
---|
| 570 | fixRemove: "color";
|
---|
[11049] | 571 | assertMatch: "way color=red colour=red";
|
---|
| 572 | assertNoMatch: "way color=red colour=green";
|
---|
[8184] | 573 | }
|
---|
| 574 | *[color][colour]!.samecolor {
|
---|
| 575 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
|
---|
[11138] | 576 | group: tr("deprecated tagging");
|
---|
[11049] | 577 | assertNoMatch: "way color=red colour=red";
|
---|
| 578 | assertMatch: "way color=red colour=green";
|
---|
[8185] | 579 | }
|
---|
[8204] | 580 | *[/:color/]{
|
---|
| 581 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 582 | suggestAlternative: ":colour";
|
---|
[11138] | 583 | group: tr("deprecated tagging");
|
---|
[11049] | 584 | assertNoMatch: "way color=red";
|
---|
| 585 | assertMatch: "way roof:color=grey";
|
---|
[8204] | 586 | }
|
---|
| 587 | *[/color:/] {
|
---|
| 588 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 589 | suggestAlternative: "colour:";
|
---|
[11138] | 590 | group: tr("deprecated tagging");
|
---|
[8204] | 591 | }
|
---|
[8185] | 592 |
|
---|
| 593 | /* see #11234 */
|
---|
[8544] | 594 | *[/=|\+|\/|&|<|>|;|'|"|%|#|@|\\|,|\.|\{|\}|\?|\*|\^|\$/] {
|
---|
[11133] | 595 | throwWarning: tr("{0}", "{0.key}");
|
---|
| 596 | group: tr("key with uncommon character");
|
---|
[8192] | 597 | }
|
---|
| 598 |
|
---|
| 599 | /* see #11330 */
|
---|
| 600 | *[/^.$/],
|
---|
[8204] | 601 | node[/^..$/],
|
---|
| 602 | way[/^..$/],
|
---|
| 603 | relation[/^..$/][!to] {
|
---|
[8192] | 604 | throwWarning: tr("uncommon short key");
|
---|
[11049] | 605 | assertNoMatch: "relation to=Berlin";
|
---|
| 606 | assertMatch: "relation fo=bar";
|
---|
| 607 | assertMatch: "way to=bar";
|
---|
| 608 | assertMatch: "node fo=bar";
|
---|
| 609 | assertMatch: "node f=b";
|
---|
[8204] | 610 | }
|
---|
| 611 |
|
---|
[8383] | 612 | /* see #11439 */
|
---|
| 613 | *[sport=hockey] {
|
---|
[11138] | 614 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[8383] | 615 | suggestAlternative: "sport=field_hockey";
|
---|
| 616 | suggestAlternative: "sport=ice_hockey";
|
---|
[11138] | 617 | group: tr("deprecated tagging");
|
---|
[8428] | 618 | }
|
---|
| 619 |
|
---|
| 620 | /* see #11471 */
|
---|
| 621 | *[sport=billard],
|
---|
| 622 | *[sport=billards],
|
---|
| 623 | *[sport=billiard] {
|
---|
| 624 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 625 | suggestAlternative: "sport=billiards";
|
---|
[11138] | 626 | group: tr("deprecated tagging");
|
---|
[8428] | 627 | fixAdd: "sport=billiards";
|
---|
[8546] | 628 | }
|
---|
| 629 |
|
---|
| 630 | /* see #11499 */
|
---|
| 631 | *[payment:credit_cards=yes] {
|
---|
| 632 | throwWarning: tr("{0} is inaccurate", "{0.tag}");
|
---|
| 633 | suggestAlternative: "payment:mastercard=yes";
|
---|
| 634 | suggestAlternative: "payment:visa=yes";
|
---|
| 635 | suggestAlternative: "...";
|
---|
| 636 | }
|
---|
| 637 | *[payment:debit_cards=yes] {
|
---|
| 638 | throwWarning: tr("{0} is inaccurate", "{0.tag}");
|
---|
| 639 | suggestAlternative: "payment:maestro=yes";
|
---|
| 640 | suggestAlternative: "payment:girocard=yes";
|
---|
| 641 | suggestAlternative: "...";
|
---|
| 642 | }
|
---|
| 643 | *[payment:electronic_purses=yes] {
|
---|
| 644 | throwWarning: tr("{0} is inaccurate", "{0.tag}");
|
---|
| 645 | suggestAlternative: "payment:ep_geldkarte=yes";
|
---|
| 646 | suggestAlternative: "payment:ep_quick=yes";
|
---|
| 647 | suggestAlternative: "...";
|
---|
| 648 | }
|
---|
| 649 | *[payment:cryptocurrencies=yes] {
|
---|
| 650 | throwWarning: tr("{0} is inaccurate", "{0.tag}");
|
---|
| 651 | suggestAlternative: "payment:bitcoin=yes";
|
---|
| 652 | suggestAlternative: "payment:litecoin=yes";
|
---|
| 653 | suggestAlternative: "...";
|
---|
[8725] | 654 | }
|
---|
| 655 |
|
---|
| 656 | /* see #8717 */
|
---|
| 657 | *[kp][highway=milestone],
|
---|
| 658 | *[kp][railway=milestone],
|
---|
| 659 | *[kp][waterway=milestone] {
|
---|
| 660 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 661 | suggestAlternative: "distance";
|
---|
[11138] | 662 | group: tr("deprecated tagging");
|
---|
[8725] | 663 | fixChangeKey: "kp => distance";
|
---|
| 664 | }
|
---|
| 665 | *[pk][highway=milestone],
|
---|
| 666 | *[pk][railway=milestone],
|
---|
| 667 | *[pk][waterway=milestone] {
|
---|
| 668 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 669 | suggestAlternative: "distance";
|
---|
[11138] | 670 | group: tr("deprecated tagging");
|
---|
[8725] | 671 | fixChangeKey: "pk => distance";
|
---|
[8730] | 672 | }
|
---|
| 673 |
|
---|
| 674 | *[postcode] {
|
---|
| 675 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 676 | suggestAlternative: "addr:postcode";
|
---|
[11138] | 677 | group: tr("deprecated tagging");
|
---|
[8730] | 678 | suggestAlternative: "postal_code";
|
---|
[9031] | 679 | }
|
---|
| 680 |
|
---|
| 681 | *[water=intermittent] {
|
---|
| 682 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 683 | suggestAlternative: "intermittent=yes";
|
---|
[11138] | 684 | group: tr("deprecated tagging");
|
---|
[9031] | 685 | fixRemove: "water";
|
---|
| 686 | fixAdd: "intermittent=yes";
|
---|
[9037] | 687 | }
|
---|
| 688 |
|
---|
[11409] | 689 | /* #10907, #14141 */
|
---|
| 690 | /* type=waterway on ways is questionable, but the autofix doesn't make it better, so disabled; type=route and type=network is used only on relations */
|
---|
| 691 | way[type][type!=waterway][man_made=pipeline],
|
---|
| 692 | node[type][pipeline=marker] {
|
---|
[9037] | 693 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 694 | suggestAlternative: "substance";
|
---|
[11138] | 695 | group: tr("deprecated tagging");
|
---|
[9037] | 696 | fixChangeKey: "type => substance";
|
---|
| 697 | }
|
---|
[9040] | 698 |
|
---|
| 699 | *[landuse=farm] {
|
---|
| 700 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 701 | suggestAlternative: "landuse=farmland";
|
---|
[9045] | 702 | suggestAlternative: "landuse=farmyard";
|
---|
[11138] | 703 | group: tr("deprecated tagging");
|
---|
[9040] | 704 | }
|
---|
[9093] | 705 |
|
---|
| 706 | /* #12135 comment:11 */
|
---|
| 707 | *[seamark=buoy]["seamark:type"=~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
|
---|
| 708 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 709 | suggestAlternative: "{1.tag}";
|
---|
[11138] | 710 | group: tr("deprecated tagging");
|
---|
[9093] | 711 | fixRemove: "seamark";
|
---|
| 712 | }
|
---|
| 713 | *[seamark=buoy]["seamark:type"!~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
|
---|
| 714 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 715 | suggestAlternative: "{1.tag}";
|
---|
[11138] | 716 | group: tr("deprecated tagging");
|
---|
[9156] | 717 | }
|
---|
[9160] | 718 | /* #12135 - Tag removed rom rendering https://github.com/gravitystorm/openstreetmap-carto/pull/1830 */
|
---|
| 719 | *[landuse=conservation] {
|
---|
| 720 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 721 | suggestAlternative: "boundary=protected_area";
|
---|
[11138] | 722 | group: tr("deprecated tagging");
|
---|
[9160] | 723 | fixAdd: "boundary=protected_area";
|
---|
| 724 | fixRemove: "landuse";
|
---|
| 725 | }
|
---|
[9156] | 726 |
|
---|
| 727 | /* #12205 */
|
---|
| 728 | *[amenity=kiosk] {
|
---|
| 729 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 730 | suggestAlternative: "shop=kiosk";
|
---|
[11138] | 731 | group: tr("deprecated tagging");
|
---|
[9156] | 732 | fixChangeKey: "amenity => shop";
|
---|
| 733 | }
|
---|
| 734 | *[amenity=shop] {
|
---|
| 735 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 736 | suggestAlternative: "shop=*";
|
---|
[11138] | 737 | group: tr("deprecated tagging");
|
---|
[9156] | 738 | }
|
---|
| 739 | *[shop=fishmonger] {
|
---|
| 740 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 741 | suggestAlternative: "shop=seafood";
|
---|
[11138] | 742 | group: tr("deprecated tagging");
|
---|
[9156] | 743 | fixAdd: "shop=seafood";
|
---|
| 744 | }
|
---|
| 745 | *[shop=fish] {
|
---|
| 746 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[9435] | 747 | suggestAlternative: "shop=seafood";
|
---|
| 748 | suggestAlternative: "shop=pet";
|
---|
| 749 | suggestAlternative: "shop=fishing";
|
---|
[11138] | 750 | group: tr("deprecated tagging");
|
---|
[9156] | 751 | }
|
---|
| 752 | *[shop=betting] {
|
---|
| 753 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[9163] | 754 | suggestAlternative: "shop=bookmaker";
|
---|
| 755 | suggestAlternative: "shop=lottery";
|
---|
| 756 | suggestAlternative: "amenity=casino";
|
---|
| 757 | suggestAlternative: "leisure=amusement_arcade";
|
---|
| 758 | suggestAlternative: "leisure=adult_gaming_centre";
|
---|
| 759 | suggestAlternative: "amenity=gambling";
|
---|
[11138] | 760 | group: tr("deprecated tagging");
|
---|
[9156] | 761 | }
|
---|
| 762 | *[shop=perfume] {
|
---|
| 763 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 764 | suggestAlternative: "shop=perfumery";
|
---|
[11138] | 765 | group: tr("deprecated tagging");
|
---|
[9156] | 766 | fixAdd: "shop=perfumery";
|
---|
| 767 | }
|
---|
| 768 | *[amenity=exercise_point] {
|
---|
| 769 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 770 | suggestAlternative: "leisure=fitness_station";
|
---|
[11138] | 771 | group: tr("deprecated tagging");
|
---|
[9156] | 772 | fixAdd: "leisure=fitness_station";
|
---|
| 773 | fixRemove: "amenity";
|
---|
| 774 | }
|
---|
| 775 | *[shop=auto_parts] {
|
---|
| 776 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 777 | suggestAlternative: "shop=car_parts";
|
---|
[11138] | 778 | group: tr("deprecated tagging");
|
---|
[9156] | 779 | fixAdd: "shop=car_parts";
|
---|
| 780 | }
|
---|
| 781 | *[amenity=car_repair] {
|
---|
| 782 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 783 | suggestAlternative: "shop=car_repair";
|
---|
[11138] | 784 | group: tr("deprecated tagging");
|
---|
[9156] | 785 | fixChangeKey: "amenity => shop";
|
---|
| 786 | }
|
---|
[9363] | 787 |
|
---|
| 788 | /* #12311 */
|
---|
| 789 | *[amenity=studio][type=audio],
|
---|
| 790 | *[amenity=studio][type=radio],
|
---|
| 791 | *[amenity=studio][type=television],
|
---|
| 792 | *[amenity=studio][type=video] {
|
---|
| 793 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
| 794 | suggestAlternative: "studio";
|
---|
[11138] | 795 | group: tr("deprecated tagging");
|
---|
[9363] | 796 | fixChangeKey: "type => studio";
|
---|
[9434] | 797 | }
|
---|
| 798 |
|
---|
[12930] | 799 | /* #11507, #12297, #15409 */
|
---|
[9434] | 800 | *[power=cable_distribution_cabinet] {
|
---|
| 801 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
[12930] | 802 | suggestAlternative: "man_made=street_cabinet + street_cabinet=*";
|
---|
[11138] | 803 | group: tr("deprecated tagging");
|
---|
[9434] | 804 | fixAdd: "man_made=street_cabinet";
|
---|
| 805 | fixRemove: "power";
|
---|
[9435] | 806 | }
|
---|
| 807 |
|
---|
| 808 | /* #12276 */
|
---|
| 809 | *[man_made=well] {
|
---|
| 810 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 811 | suggestAlternative: "man_made=water_well";
|
---|
| 812 | suggestAlternative: "man_made=petroleum_well";
|
---|
[11138] | 813 | group: tr("deprecated tagging");
|
---|
[9435] | 814 | }
|
---|
| 815 | *[amenity=dog_bin],
|
---|
| 816 | *[amenity=dog_waste_bin] {
|
---|
| 817 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 818 | suggestAlternative: "amenity=waste_basket + waste=dog_excrement + vending=excrement_bags";
|
---|
[11138] | 819 | group: tr("deprecated tagging");
|
---|
[9435] | 820 | fixAdd: "amenity=waste_basket";
|
---|
| 821 | fixAdd: "waste=dog_excrement";
|
---|
| 822 | fixAdd: "vending=excrement_bags";
|
---|
| 823 | }
|
---|
| 824 | *[amenity=artwork] {
|
---|
| 825 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 826 | suggestAlternative: "tourism=artwork";
|
---|
[11138] | 827 | group: tr("deprecated tagging");
|
---|
[9435] | 828 | fixAdd: "tourism=artwork";
|
---|
| 829 | fixRemove: "amenity";
|
---|
| 830 | }
|
---|
| 831 | *[amenity=community_center] {
|
---|
| 832 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 833 | suggestAlternative: "amenity=community_centre";
|
---|
[11138] | 834 | group: tr("deprecated tagging");
|
---|
[9435] | 835 | fixAdd: "amenity=community_centre";
|
---|
| 836 | }
|
---|
| 837 | *[man_made=cut_line] {
|
---|
| 838 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 839 | suggestAlternative: "man_made=cutline";
|
---|
[11138] | 840 | group: tr("deprecated tagging");
|
---|
[9435] | 841 | fixAdd: "man_made=cutline";
|
---|
| 842 | }
|
---|
| 843 | *[amenity=park] {
|
---|
| 844 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 845 | suggestAlternative: "leisure=park";
|
---|
[11138] | 846 | group: tr("deprecated tagging");
|
---|
[9435] | 847 | fixAdd: "leisure=park";
|
---|
| 848 | fixRemove: "amenity";
|
---|
| 849 | }
|
---|
| 850 | *[amenity=hotel] {
|
---|
| 851 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 852 | suggestAlternative: "tourism=hotel";
|
---|
[11138] | 853 | group: tr("deprecated tagging");
|
---|
[9435] | 854 | fixAdd: "tourism=hotel";
|
---|
| 855 | fixRemove: "amenity";
|
---|
| 856 | }
|
---|
| 857 | *[shop=window],
|
---|
| 858 | *[shop=windows] {
|
---|
| 859 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 860 | suggestAlternative: "craft=window_construction";
|
---|
[11138] | 861 | group: tr("deprecated tagging");
|
---|
[9435] | 862 | fixAdd: "craft=window_construction";
|
---|
| 863 | fixRemove: "shop";
|
---|
| 864 | }
|
---|
| 865 | *[amenity=education] {
|
---|
| 866 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 867 | suggestAlternative: "amenity=college";
|
---|
| 868 | suggestAlternative: "amenity=school";
|
---|
| 869 | suggestAlternative: "amenity=university";
|
---|
[11138] | 870 | group: tr("deprecated tagging");
|
---|
[9435] | 871 | }
|
---|
| 872 | *[shop=gallery] {
|
---|
| 873 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 874 | suggestAlternative: "shop=art";
|
---|
[11138] | 875 | group: tr("deprecated tagging");
|
---|
[9435] | 876 | fixAdd: "shop=art";
|
---|
| 877 | }
|
---|
| 878 | *[shop=gambling],
|
---|
| 879 | *[leisure=gambling] {
|
---|
| 880 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 881 | suggestAlternative: "shop=bookmaker";
|
---|
| 882 | suggestAlternative: "shop=lottery";
|
---|
| 883 | suggestAlternative: "amenity=casino";
|
---|
| 884 | suggestAlternative: "leisure=amusement_arcade";
|
---|
| 885 | suggestAlternative: "amenity=gambling";
|
---|
[11138] | 886 | group: tr("deprecated tagging");
|
---|
[9435] | 887 | }
|
---|
| 888 | *[office=real_estate_agent] {
|
---|
| 889 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 890 | suggestAlternative: "office=estate_agent ";
|
---|
[11138] | 891 | group: tr("deprecated tagging");
|
---|
[9435] | 892 | fixAdd: "office=estate_agent ";
|
---|
| 893 | }
|
---|
| 894 | *[shop=glass] {
|
---|
| 895 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 896 | suggestAlternative: "shop=glaziery";
|
---|
| 897 | suggestAlternative: "craft=glaziery";
|
---|
[11138] | 898 | group: tr("deprecated tagging");
|
---|
[9435] | 899 | }
|
---|
| 900 | *[amenity=proposed],
|
---|
| 901 | *[amenity=proposed],
|
---|
| 902 | *[amenity=disused],
|
---|
| 903 | *[shop=disused],
|
---|
| 904 | *[historic=abandoned] {
|
---|
| 905 | throwWarning: tr("{0} is deprecated. Use the {1}: key prefix instead.", "{0.tag}", "{0.value}");
|
---|
[11138] | 906 | group: tr("deprecated tagging");
|
---|
[9593] | 907 | }
|
---|
| 908 |
|
---|
| 909 | /* #12431 */
|
---|
| 910 | *[amenity=swimming_pool] {
|
---|
| 911 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 912 | suggestAlternative: "leisure=swimming_pool";
|
---|
[11138] | 913 | group: tr("deprecated tagging");
|
---|
[9593] | 914 | fixChangeKey: "amenity => leisure";
|
---|
[9747] | 915 | }
|
---|
| 916 |
|
---|
| 917 | /* #12494 */
|
---|
[9836] | 918 | *[/^[^t][^i][^g].+_[0-9]$/][!/^note_[0-9]$/][!/^description_[0-9]$/] {
|
---|
[11146] | 919 | throwOther: tr("{0}", "{0.key}");
|
---|
| 920 | group: tr("questionable key (ending with a number)");
|
---|
[11138] | 921 | assertMatch: "way name_1=foo";
|
---|
| 922 | assertNoMatch: "way note_2=foo";
|
---|
| 923 | assertNoMatch: "way description_3=foo";
|
---|
| 924 | assertNoMatch: "way tiger:name_base_1=bar"; /*should not warn for key tiger:name_base_1 */
|
---|
| 925 | }
|
---|
[9835] | 926 |
|
---|
| 927 | /* #12500 */
|
---|
| 928 | *[sport=skating] {
|
---|
| 929 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 930 | suggestAlternative: "sport=ice_skating";
|
---|
| 931 | suggestAlternative: "sport=roller_skating";
|
---|
[11138] | 932 | group: tr("deprecated tagging");
|
---|
[10027] | 933 | }
|
---|
| 934 |
|
---|
| 935 | way[barrier=wall][type=noise_barrier][!wall],
|
---|
| 936 | way[barrier=wall][type=noise_barrier][wall=noise_barrier] {
|
---|
| 937 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
| 938 | suggestAlternative: "wall=noise_barrier";
|
---|
[11138] | 939 | group: tr("deprecated tagging");
|
---|
[10027] | 940 | fixChangeKey: "type => wall";
|
---|
| 941 | }
|
---|
| 942 | way[barrier=wall][type=noise_barrier][wall][wall!=noise_barrier] {
|
---|
| 943 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
| 944 | suggestAlternative: "wall=noise_barrier";
|
---|
[11138] | 945 | group: tr("deprecated tagging");
|
---|
[10095] | 946 | }
|
---|
| 947 |
|
---|
| 948 | /* #8978, 12588 */
|
---|
| 949 | *[amenity=public_building] {
|
---|
| 950 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 951 | suggestAlternative: "amenity=townhall";
|
---|
| 952 | suggestAlternative: "amenity=community_centre";
|
---|
| 953 | suggestAlternative: "amenity=hospital";
|
---|
| 954 | suggestAlternative: "leisure=sports_centre";
|
---|
| 955 | suggestAlternative: "office=government";
|
---|
| 956 | suggestAlternative: "building=hospital";
|
---|
| 957 | suggestAlternative: "building=public";
|
---|
| 958 | suggestAlternative: "...";
|
---|
[11138] | 959 | group: tr("deprecated tagging");
|
---|
[10100] | 960 | }
|
---|
| 961 |
|
---|
| 962 | /* #12708 */
|
---|
| 963 | *[vending=news_papers] {
|
---|
| 964 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 965 | suggestAlternative: "vending=newspapers";
|
---|
[11138] | 966 | group: tr("deprecated tagging");
|
---|
[10100] | 967 | fixAdd: "vending=newspapers";
|
---|
[10229] | 968 | }
|
---|
| 969 |
|
---|
| 970 | /* #12771 */
|
---|
| 971 | *[service=drive_through] {
|
---|
| 972 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 973 | suggestAlternative: "service=drive-through";
|
---|
[11138] | 974 | group: tr("deprecated tagging");
|
---|
[10229] | 975 | fixAdd: "service=drive-through";
|
---|
[10230] | 976 | }
|
---|
| 977 |
|
---|
| 978 | /* #12771 */
|
---|
[10249] | 979 | way[highway=service][service][service !~ /^(alley|drive-through|drive_through|driveway|emergency_access|parking_aisle|rest_area|yes)$/], /* drive_through and yes have special warnings */
|
---|
[10230] | 980 | way[railway=rail][service][service !~ /^(crossover|siding|spur|yard)$/],
|
---|
| 981 | way[waterway=canal][service][service !~ /^(irrigation|transportation|water_power)$/] {
|
---|
| 982 | throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
|
---|
[10451] | 983 | }
|
---|
| 984 |
|
---|
| 985 | /* #13008 */
|
---|
| 986 | *[name:botanical] {
|
---|
| 987 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
| 988 | suggestAlternative: "species";
|
---|
[11138] | 989 | group: tr("deprecated tagging");
|
---|
[10511] | 990 | }
|
---|
| 991 |
|
---|
[13049] | 992 | /* #11344, #13101, #15480 */
|
---|
| 993 | node[pole=air_to_ground],
|
---|
[10511] | 994 | node[pole=transition] {
|
---|
| 995 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 996 | suggestAlternative: "location:transition=yes";
|
---|
[11138] | 997 | group: tr("deprecated tagging");
|
---|
[10511] | 998 | fixAdd: "location:transition=yes";
|
---|
| 999 | fixRemove: "pole";
|
---|
| 1000 | }
|
---|
[13049] | 1001 | node[tower=air_to_ground],
|
---|
[10511] | 1002 | node[tower=transition] {
|
---|
| 1003 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1004 | suggestAlternative: "location:transition=yes";
|
---|
[11138] | 1005 | group: tr("deprecated tagging");
|
---|
[10511] | 1006 | fixAdd: "location:transition=yes";
|
---|
| 1007 | fixRemove: "tower";
|
---|
[10538] | 1008 | }
|
---|
| 1009 |
|
---|
| 1010 | /* #13138 */
|
---|
| 1011 | area[landuse=pond] {
|
---|
| 1012 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1013 | suggestAlternative: "natural=water + water=pond";
|
---|
[11138] | 1014 | group: tr("deprecated tagging");
|
---|
[10538] | 1015 | fixAdd: "natural=water";
|
---|
| 1016 | fixAdd: "water=pond";
|
---|
| 1017 | fixRemove: "landuse";
|
---|
[10911] | 1018 | }
|
---|
| 1019 |
|
---|
| 1020 | *[shop=souvenir],
|
---|
| 1021 | *[shop=souvenirs],
|
---|
| 1022 | *[shop=souveniers] {
|
---|
| 1023 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1024 | suggestAlternative: "shop=gift";
|
---|
[11138] | 1025 | group: tr("deprecated tagging");
|
---|
[10911] | 1026 | fixAdd: "shop=gift";
|
---|
| 1027 | }
|
---|
| 1028 |
|
---|
| 1029 | *[vending=animal_food] {
|
---|
| 1030 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1031 | suggestAlternative: "vending=animal_feed";
|
---|
[11138] | 1032 | group: tr("deprecated tagging");
|
---|
[10911] | 1033 | fixAdd: "vending=animal_feed";
|
---|
[11025] | 1034 | }
|
---|
| 1035 |
|
---|
[11583] | 1036 | /* #14376 */
|
---|
| 1037 | node[vending=photos][amenity=vending_machine],
|
---|
| 1038 | node[vending=photo][amenity=vending_machine] {
|
---|
| 1039 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1040 | suggestAlternative: "amenity=photo_booth";
|
---|
| 1041 | group: tr("deprecated tagging");
|
---|
| 1042 | fixRemove: "vending";
|
---|
| 1043 | fixAdd: "amenity=photo_booth";
|
---|
| 1044 |
|
---|
| 1045 | }
|
---|
| 1046 | node[vending=photos][amenity!=vending_machine] {
|
---|
| 1047 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1048 | suggestAlternative: "amenity=photo_booth";
|
---|
| 1049 | group: tr("deprecated tagging");
|
---|
| 1050 | }
|
---|
| 1051 |
|
---|
[11025] | 1052 | /* #13653 */
|
---|
| 1053 | node[highway=emergency_access_point][phone][!emergency_telephone_code],
|
---|
| 1054 | way[highway=emergency_access_point][phone][!emergency_telephone_code] {
|
---|
| 1055 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
| 1056 | suggestAlternative: "emergency_telephone_code";
|
---|
[11138] | 1057 | group: tr("deprecated tagging");
|
---|
[11025] | 1058 | fixChangeKey: "phone => emergency_telephone_code";
|
---|
| 1059 | assertMatch: "node highway=emergency_access_point phone=123";
|
---|
| 1060 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=456";
|
---|
| 1061 | assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=456";
|
---|
| 1062 | assertNoMatch: "node phone=123";
|
---|
| 1063 | }
|
---|
| 1064 | node[highway=emergency_access_point][phone=*emergency_telephone_code],
|
---|
| 1065 | way[highway=emergency_access_point][phone=*emergency_telephone_code] {
|
---|
| 1066 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
| 1067 | suggestAlternative: "emergency_telephone_code";
|
---|
[11138] | 1068 | group: tr("deprecated tagging");
|
---|
[11025] | 1069 | fixRemove: "phone";
|
---|
| 1070 | assertNoMatch: "node highway=emergency_access_point phone=123";
|
---|
| 1071 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
|
---|
| 1072 | assertMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
|
---|
| 1073 | }
|
---|
| 1074 | node[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code],
|
---|
| 1075 | way[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code] {
|
---|
| 1076 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
| 1077 | suggestAlternative: "emergency_telephone_code";
|
---|
[11138] | 1078 | group: tr("deprecated tagging");
|
---|
[11025] | 1079 | assertNoMatch: "node highway=emergency_access_point phone=123";
|
---|
| 1080 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
|
---|
| 1081 | assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
|
---|
[11232] | 1082 | }
|
---|
| 1083 |
|
---|
| 1084 | /* #13879 */
|
---|
| 1085 | way[tracktype=1] {
|
---|
| 1086 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1087 | suggestAlternative: "tracktype=grade1";
|
---|
| 1088 | group: tr("misspelled value");
|
---|
| 1089 | fixAdd: "tracktype=grade1";
|
---|
| 1090 | }
|
---|
| 1091 | way[tracktype=2] {
|
---|
| 1092 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1093 | suggestAlternative: "tracktype=grade2";
|
---|
| 1094 | group: tr("misspelled value");
|
---|
| 1095 | fixAdd: "tracktype=grade2";
|
---|
| 1096 | }
|
---|
| 1097 | way[tracktype=3] {
|
---|
| 1098 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1099 | suggestAlternative: "tracktype=grade3";
|
---|
| 1100 | group: tr("misspelled value");
|
---|
| 1101 | fixAdd: "tracktype=grade3";
|
---|
| 1102 | }
|
---|
| 1103 | way[tracktype=4] {
|
---|
| 1104 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1105 | suggestAlternative: "tracktype=grade4";
|
---|
| 1106 | group: tr("misspelled value");
|
---|
| 1107 | fixAdd: "tracktype=grade4";
|
---|
| 1108 | }
|
---|
| 1109 | way[tracktype=5] {
|
---|
| 1110 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1111 | suggestAlternative: "tracktype=grade5";
|
---|
| 1112 | group: tr("misspelled value");
|
---|
| 1113 | fixAdd: "tracktype=grade5";
|
---|
| 1114 | }
|
---|
| 1115 | way[tracktype][tracktype!~/^(1|2|3|4|5|grade1|grade2|grade3|grade4|grade5)$/] {
|
---|
| 1116 | throwError: tr("wrong value: {0}", "{0.tag}");
|
---|
| 1117 | suggestAlternative: "tracktype=grade1";
|
---|
| 1118 | suggestAlternative: "tracktype=grade2";
|
---|
| 1119 | suggestAlternative: "tracktype=grade3";
|
---|
| 1120 | suggestAlternative: "tracktype=grade4";
|
---|
| 1121 | suggestAlternative: "tracktype=grade5";
|
---|
[11263] | 1122 | }
|
---|
| 1123 |
|
---|
[11477] | 1124 | area[area][area!=yes][area!=no] {
|
---|
[11476] | 1125 | throwError: tr("wrong value: {0}", "{0.tag}");
|
---|
| 1126 | suggestAlternative: "area=yes";
|
---|
| 1127 | suggestAlternative: "area=no";
|
---|
| 1128 | }
|
---|
| 1129 |
|
---|
[11263] | 1130 | /* #13953 */
|
---|
| 1131 | *[amenity=hunting_stand][lock=yes],
|
---|
| 1132 | *[amenity=hunting_stand][lock=no] {
|
---|
| 1133 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
| 1134 | suggestAlternative: "lockable";
|
---|
| 1135 | group: tr("deprecated tagging");
|
---|
| 1136 | fixChangeKey: "lock => lockable";
|
---|
[11337] | 1137 | }
|
---|
| 1138 |
|
---|
| 1139 | *[amenity=advertising][!advertising] {
|
---|
| 1140 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1141 | suggestAlternative: "advertising=*";
|
---|
| 1142 | group: tr("deprecated tagging");
|
---|
| 1143 | }
|
---|
| 1144 | *[amenity=advertising][advertising] {
|
---|
| 1145 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1146 | suggestAlternative: "advertising=*";
|
---|
| 1147 | group: tr("deprecated tagging");
|
---|
| 1148 | fixRemove: "amenity";
|
---|
| 1149 | }
|
---|
| 1150 |
|
---|
| 1151 | way[direction=up][incline=up],
|
---|
| 1152 | way[direction=down][incline=down],
|
---|
| 1153 | way[direction=up][!incline],
|
---|
| 1154 | way[direction=down][!incline] {
|
---|
| 1155 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1156 | suggestAlternative: "incline";
|
---|
| 1157 | group: tr("deprecated tagging");
|
---|
| 1158 | fixChangeKey: "direction => incline";
|
---|
| 1159 | }
|
---|
| 1160 | way[direction=up][incline][incline!=up],
|
---|
| 1161 | way[direction=down][incline][incline!=down] {
|
---|
| 1162 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
| 1163 | suggestAlternative: "incline";
|
---|
| 1164 | group: tr("deprecated tagging");
|
---|
[13218] | 1165 | }
|
---|
| 1166 |
|
---|
| 1167 | way[building=y],
|
---|
| 1168 | way[building=1] {
|
---|
| 1169 | throwError: tr("{0}", "{0.tag}");
|
---|
| 1170 | suggestAlternative: "building=yes";
|
---|
| 1171 | group: tr("misspelled value");
|
---|
| 1172 | fixAdd: "building=yes";
|
---|
[9363] | 1173 | }
|
---|