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