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