1 | *[barrier=wire_fence] {
|
---|
2 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
3 | group: tr("deprecated tagging");
|
---|
4 | suggestAlternative: "barrier=fence + fence_type=chain_link";
|
---|
5 | fixAdd: "barrier=fence";
|
---|
6 | fixAdd: "fence_type=chain_link";
|
---|
7 | assertMatch: "way barrier=wire_fence";
|
---|
8 | assertNoMatch: "way barrier=fence";
|
---|
9 | }
|
---|
10 |
|
---|
11 | *[barrier=wood_fence] {
|
---|
12 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
13 | suggestAlternative: "barrier=fence + fence_type=wood";
|
---|
14 | group: tr("deprecated tagging");
|
---|
15 | fixAdd: "barrier=fence";
|
---|
16 | fixAdd: "fence_type=wood";
|
---|
17 | }
|
---|
18 |
|
---|
19 | node[highway=ford] {
|
---|
20 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
21 | suggestAlternative: "ford=yes";
|
---|
22 | group: tr("deprecated tagging");
|
---|
23 | fixRemove: "highway";
|
---|
24 | fixAdd: "ford=yes";
|
---|
25 | }
|
---|
26 | way[highway=ford] {
|
---|
27 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
28 | suggestAlternative: "highway=* + ford=yes";
|
---|
29 | group: tr("deprecated tagging");
|
---|
30 | }
|
---|
31 |
|
---|
32 | way[class] {
|
---|
33 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
34 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
35 | suggestAlternative: "highway";
|
---|
36 | group: tr("deprecated tagging");
|
---|
37 | }
|
---|
38 |
|
---|
39 | *[highway=stile] {
|
---|
40 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
41 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
42 | suggestAlternative: "barrier=stile";
|
---|
43 | group: tr("deprecated tagging");
|
---|
44 | fixRemove: "highway";
|
---|
45 | fixAdd: "barrier=stile";
|
---|
46 | }
|
---|
47 |
|
---|
48 | *[highway=incline] {
|
---|
49 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
50 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
51 | suggestAlternative: "incline";
|
---|
52 | group: tr("deprecated tagging");
|
---|
53 | }
|
---|
54 |
|
---|
55 | *[highway=incline_steep] {
|
---|
56 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
57 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
58 | suggestAlternative: "incline";
|
---|
59 | group: tr("deprecated tagging");
|
---|
60 | }
|
---|
61 |
|
---|
62 | *[highway=unsurfaced] {
|
---|
63 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
64 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
65 | suggestAlternative: "highway=* + surface=unpaved";
|
---|
66 | group: tr("deprecated tagging");
|
---|
67 | fixAdd: "highway=road";
|
---|
68 | fixAdd: "surface=unpaved";
|
---|
69 | }
|
---|
70 |
|
---|
71 | *[landuse=wood] {
|
---|
72 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
73 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
74 | suggestAlternative: "landuse=forest";
|
---|
75 | suggestAlternative: "natural=wood";
|
---|
76 | group: tr("deprecated tagging");
|
---|
77 | }
|
---|
78 |
|
---|
79 | *[natural=marsh] {
|
---|
80 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
81 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
82 | suggestAlternative: "natural=wetland + wetland=marsh";
|
---|
83 | group: tr("deprecated tagging");
|
---|
84 | fixAdd: "natural=wetland";
|
---|
85 | fixAdd: "wetland=marsh";
|
---|
86 | }
|
---|
87 |
|
---|
88 | *[highway=byway] {
|
---|
89 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
90 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
91 | group: tr("deprecated tagging");
|
---|
92 | }
|
---|
93 |
|
---|
94 | *[power_source] {
|
---|
95 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
96 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
97 | suggestAlternative: "generator:source";
|
---|
98 | group: tr("deprecated tagging");
|
---|
99 | }
|
---|
100 |
|
---|
101 | *[power_rating] {
|
---|
102 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
103 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
104 | suggestAlternative: "generator:output";
|
---|
105 | group: tr("deprecated tagging");
|
---|
106 | }
|
---|
107 |
|
---|
108 | *[shop=antique] {
|
---|
109 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
110 | suggestAlternative: "shop=antiques";
|
---|
111 | group: tr("deprecated tagging");
|
---|
112 | fixAdd: "shop=antiques";
|
---|
113 | }
|
---|
114 |
|
---|
115 | *[shop=bags] {
|
---|
116 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
117 | suggestAlternative: "shop=bag";
|
---|
118 | group: tr("deprecated tagging");
|
---|
119 | fixAdd: "shop=bag";
|
---|
120 | }
|
---|
121 |
|
---|
122 | /* #17527 */
|
---|
123 | *[shop=fashion] {
|
---|
124 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
125 | suggestAlternative: "shop=clothes";
|
---|
126 | group: tr("deprecated tagging");
|
---|
127 | fixAdd: "shop=clothes";
|
---|
128 | }
|
---|
129 |
|
---|
130 | *[shop=organic] {
|
---|
131 | /* from http://wiki.openstreetmap.org/wiki/Tag:shop=organic */
|
---|
132 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
133 | suggestAlternative: "shop=* + organic=yes";
|
---|
134 | suggestAlternative: "shop=* + organic=only";
|
---|
135 | group: tr("deprecated tagging");
|
---|
136 | }
|
---|
137 |
|
---|
138 | *[shop=pets] {
|
---|
139 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
140 | suggestAlternative: "shop=pet";
|
---|
141 | group: tr("deprecated tagging");
|
---|
142 | fixAdd: "shop=pet";
|
---|
143 | }
|
---|
144 |
|
---|
145 | *[shop=pharmacy] {
|
---|
146 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
147 | suggestAlternative: "amenity=pharmacy";
|
---|
148 | group: tr("deprecated tagging");
|
---|
149 | fixChangeKey: "shop => amenity";
|
---|
150 | }
|
---|
151 |
|
---|
152 | *[bicycle_parking=sheffield] {
|
---|
153 | /* from http://wiki.openstreetmap.org/wiki/Key:bicycle_parking */
|
---|
154 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
155 | suggestAlternative: "bicycle_parking=stands";
|
---|
156 | group: tr("deprecated tagging");
|
---|
157 | fixAdd: "bicycle_parking=stands";
|
---|
158 | }
|
---|
159 |
|
---|
160 | *[amenity=emergency_phone] {
|
---|
161 | /* http://wiki.openstreetmap.org/wiki/Tag:emergency=phone */
|
---|
162 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
163 | suggestAlternative: "emergency=phone";
|
---|
164 | group: tr("deprecated tagging");
|
---|
165 | fixRemove: "amenity";
|
---|
166 | fixAdd: "emergency=phone";
|
---|
167 | }
|
---|
168 |
|
---|
169 | *[sport=gaelic_football] {
|
---|
170 | /* fix #8132 - http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football */
|
---|
171 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
172 | suggestAlternative: "sport=gaelic_games";
|
---|
173 | group: tr("deprecated tagging");
|
---|
174 | fixAdd: "sport=gaelic_games";
|
---|
175 | }
|
---|
176 |
|
---|
177 | *[power=station] {
|
---|
178 | /* see #8847 / #8961 - http://wiki.openstreetmap.org/wiki/Tag:power=station */
|
---|
179 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
180 | suggestAlternative: "power=plant";
|
---|
181 | suggestAlternative: "power=substation";
|
---|
182 | group: tr("deprecated tagging");
|
---|
183 | }
|
---|
184 |
|
---|
185 | *[power=sub_station] {
|
---|
186 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
187 | suggestAlternative: "power=substation";
|
---|
188 | group: tr("deprecated tagging");
|
---|
189 | fixAdd: "power=substation";
|
---|
190 | }
|
---|
191 |
|
---|
192 | *[generator:method=dam] {
|
---|
193 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
194 | suggestAlternative: "generator:method=water-storage";
|
---|
195 | group: tr("deprecated tagging");
|
---|
196 | fixAdd: "generator:method=water-storage";
|
---|
197 | }
|
---|
198 |
|
---|
199 | *[generator:method=pumped-storage] {
|
---|
200 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
201 | suggestAlternative: "generator:method=water-pumped-storage";
|
---|
202 | group: tr("deprecated tagging");
|
---|
203 | fixAdd: "generator:method=water-pumped-storage";
|
---|
204 | }
|
---|
205 |
|
---|
206 | *[generator:method=pumping] {
|
---|
207 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
208 | suggestAlternative: "generator:method=water-pumped-storage";
|
---|
209 | group: tr("deprecated tagging");
|
---|
210 | fixAdd: "generator:method=water-pumped-storage";
|
---|
211 | }
|
---|
212 |
|
---|
213 | *[fence_type=chain] {
|
---|
214 | /* see #8962 - http://wiki.openstreetmap.org/wiki/Key:fence_type */
|
---|
215 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
216 | suggestAlternative: "barrier=chain";
|
---|
217 | suggestAlternative: "barrier=fence + fence_type=chain_link";
|
---|
218 | group: tr("deprecated tagging");
|
---|
219 | }
|
---|
220 |
|
---|
221 | *[building=entrance] {
|
---|
222 | /* see #9000 - http://wiki.openstreetmap.org/wiki/Key:entrance */
|
---|
223 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
224 | suggestAlternative: "entrance";
|
---|
225 | group: tr("deprecated tagging");
|
---|
226 | }
|
---|
227 |
|
---|
228 | *[board_type=board] {
|
---|
229 | /* see #9213 - Useless tag proposed in internal preset for years */
|
---|
230 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
231 | group: tr("deprecated tagging");
|
---|
232 | fixRemove: "board_type";
|
---|
233 | }
|
---|
234 |
|
---|
235 | *[man_made=measurement_station] {
|
---|
236 | /* see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station */
|
---|
237 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
238 | suggestAlternative: "man_made=monitoring_station";
|
---|
239 | group: tr("deprecated tagging");
|
---|
240 | fixAdd: "man_made=monitoring_station";
|
---|
241 | }
|
---|
242 |
|
---|
243 | *[measurement=water_level] {
|
---|
244 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
245 | suggestAlternative: "monitoring:water_level=yes";
|
---|
246 | group: tr("deprecated tagging");
|
---|
247 | fixRemove: "measurement";
|
---|
248 | fixAdd: "monitoring:water_level=yes";
|
---|
249 | }
|
---|
250 |
|
---|
251 | *[measurement=weather] {
|
---|
252 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
253 | suggestAlternative: "monitoring:weather=yes";
|
---|
254 | group: tr("deprecated tagging");
|
---|
255 | fixRemove: "measurement";
|
---|
256 | fixAdd: "monitoring:weather=yes";
|
---|
257 | }
|
---|
258 |
|
---|
259 | *[measurement=seismic] {
|
---|
260 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
261 | suggestAlternative: "monitoring:seismic_activity=yes";
|
---|
262 | group: tr("deprecated tagging");
|
---|
263 | fixRemove: "measurement";
|
---|
264 | fixAdd: "monitoring:seismic_activity=yes";
|
---|
265 | }
|
---|
266 |
|
---|
267 | *[monitoring:river_level] {
|
---|
268 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
269 | suggestAlternative: "monitoring:water_level";
|
---|
270 | group: tr("deprecated tagging");
|
---|
271 | fixChangeKey: "monitoring:river_level => monitoring:water_level";
|
---|
272 | }
|
---|
273 |
|
---|
274 | *[stay] {
|
---|
275 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
276 | suggestAlternative: "maxstay";
|
---|
277 | group: tr("deprecated tagging");
|
---|
278 | fixChangeKey: "stay => maxstay";
|
---|
279 | }
|
---|
280 |
|
---|
281 | *[emergency=aed] {
|
---|
282 | /* see #9554 - http://wiki.openstreetmap.org/wiki/Proposed_features/automated_external_defibrillator */
|
---|
283 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
284 | suggestAlternative: "emergency=defibrillator";
|
---|
285 | group: tr("deprecated tagging");
|
---|
286 | fixAdd: "emergency=defibrillator";
|
---|
287 | }
|
---|
288 |
|
---|
289 | /* from http://wiki.openstreetmap.org/wiki/Conditional_restrictions#Deprecated_tags */
|
---|
290 | *[day_on][!restriction],
|
---|
291 | *[day_off][!restriction],
|
---|
292 | *[date_on][!restriction],
|
---|
293 | *[date_off][!restriction],
|
---|
294 | *[hour_on][!restriction],
|
---|
295 | *[hour_off][!restriction] {
|
---|
296 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
297 | suggestAlternative: "*:conditional";
|
---|
298 | group: tr("deprecated tagging");
|
---|
299 | assertMatch: "node day_on=0-12";
|
---|
300 | }
|
---|
301 |
|
---|
302 | /* see #10000, http://wiki.openstreetmap.org/wiki/Tag%3Aaccess%3Ddesignated */
|
---|
303 | *[access=designated] {
|
---|
304 | throwWarning: tr("''{0}'' is meaningless, use more specific tags, e.g. ''{1}''", "access=designated", "bicycle=designated");
|
---|
305 | assertMatch: "way access=designated";
|
---|
306 | }
|
---|
307 | *[access=official] {
|
---|
308 | throwWarning: tr("''{0}'' does not specify the official mode of transportation, use ''{1}'' for example", "access=official", "bicycle=official");
|
---|
309 | assertMatch: "way access=official";
|
---|
310 | }
|
---|
311 |
|
---|
312 | /* see #10085 - give warning for fixme=yes */
|
---|
313 | *[fixme=yes], *[FIXME=yes] {
|
---|
314 | throwWarning: tr("{0}={1} is unspecific. Instead of ''{1}'' please give more information about what exactly should be fixed.", "{0.key}", "{0.value}");
|
---|
315 | assertMatch: "way fixme=yes";
|
---|
316 | }
|
---|
317 |
|
---|
318 | *[name][name=~/^(?i)fixme$/] {
|
---|
319 | 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}");
|
---|
320 | fixRemove: "name";
|
---|
321 | assertMatch: "node name=fixme";
|
---|
322 | assertMatch: "node name=Fixme";
|
---|
323 | assertMatch: "node name=FIXME";
|
---|
324 | assertNoMatch: "node name=valid name";
|
---|
325 | }
|
---|
326 |
|
---|
327 | *[note][note=~/^(?i)fixme$/] {
|
---|
328 | 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}");
|
---|
329 | }
|
---|
330 |
|
---|
331 | /* see #10107, #10108, #10929, #13391 - http://wiki.openstreetmap.org/wiki/Proposed_features/leaftype#Features.2FPages_affected */
|
---|
332 | *[type=broad_leaved],
|
---|
333 | *[type=broad_leafed] {
|
---|
334 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
335 | suggestAlternative: "leaf_type=broadleaved";
|
---|
336 | group: tr("deprecated tagging");
|
---|
337 | fixRemove: "{0.key}";
|
---|
338 | fixAdd: "leaf_type=broadleaved";
|
---|
339 | }
|
---|
340 |
|
---|
341 | *[wood=coniferous],
|
---|
342 | *[type=coniferous],
|
---|
343 | *[type=conifer] {
|
---|
344 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
345 | suggestAlternative: "leaf_type=needleleaved";
|
---|
346 | group: tr("deprecated tagging");
|
---|
347 | fixRemove: "{0.key}";
|
---|
348 | fixAdd: "leaf_type=needleleaved";
|
---|
349 | }
|
---|
350 |
|
---|
351 | *[wood=mixed] {
|
---|
352 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
353 | suggestAlternative: "leaf_type=mixed";
|
---|
354 | group: tr("deprecated tagging");
|
---|
355 | fixRemove: "wood";
|
---|
356 | fixAdd: "leaf_type=mixed";
|
---|
357 | }
|
---|
358 |
|
---|
359 | *[wood=evergreen],
|
---|
360 | *[type=evergreen] {
|
---|
361 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
362 | suggestAlternative: "leaf_cycle=evergreen";
|
---|
363 | group: tr("deprecated tagging");
|
---|
364 | fixRemove: "{0.key}";
|
---|
365 | fixAdd: "leaf_cycle=evergreen";
|
---|
366 | }
|
---|
367 |
|
---|
368 | *[type=deciduous],
|
---|
369 | *[type=deciduos] {
|
---|
370 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
371 | suggestAlternative: "leaf_cycle=deciduous";
|
---|
372 | group: tr("deprecated tagging");
|
---|
373 | fixRemove: "type";
|
---|
374 | fixAdd: "leaf_cycle=deciduous";
|
---|
375 | }
|
---|
376 |
|
---|
377 | *[wood=deciduous] {
|
---|
378 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
379 | suggestAlternative: "leaf_type + leaf_cycle";
|
---|
380 | group: tr("deprecated tagging");
|
---|
381 | }
|
---|
382 |
|
---|
383 | node[type=palm],
|
---|
384 | way[type=palm] {
|
---|
385 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
386 | suggestAlternative: "leaf_type";
|
---|
387 | suggestAlternative: "trees";
|
---|
388 | suggestAlternative: "species";
|
---|
389 | group: tr("deprecated tagging");
|
---|
390 | }
|
---|
391 |
|
---|
392 | *[natural=land] {
|
---|
393 | throwWarning: tr("{0} is deprecated. Please use instead a multipolygon.", "{0.tag}");
|
---|
394 | group: tr("deprecated tagging");
|
---|
395 | assertMatch: "way natural=land";
|
---|
396 | }
|
---|
397 |
|
---|
398 | /* see #10447 - https://wiki.openstreetmap.org/wiki/Proposed_features/Bridge_types#Deprecated_bridge_key_values */
|
---|
399 | *[bridge=causeway] {
|
---|
400 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
401 | suggestAlternative: "ford=yes";
|
---|
402 | suggestAlternative: "bridge=low_water_crossing";
|
---|
403 | suggestAlternative: "embankment=yes";
|
---|
404 | group: tr("deprecated tagging");
|
---|
405 | }
|
---|
406 |
|
---|
407 | *[bridge=swing] {
|
---|
408 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
409 | suggestAlternative: "bridge:movable=swing";
|
---|
410 | suggestAlternative: "bridge:structure=simple-suspension";
|
---|
411 | group: tr("deprecated tagging");
|
---|
412 | }
|
---|
413 |
|
---|
414 | *[bridge=suspension] {
|
---|
415 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
416 | suggestAlternative: "bridge=yes + bridge:structure=suspension";
|
---|
417 | group: tr("deprecated tagging");
|
---|
418 | fixAdd: "bridge=yes";
|
---|
419 | fixAdd: "bridge:structure=suspension";
|
---|
420 | }
|
---|
421 |
|
---|
422 | /* See #10530 - Incorrect tag proposed in internal preset for years */
|
---|
423 | *[fee=interval],
|
---|
424 | *[lit=interval],
|
---|
425 | *[supervised=interval] {
|
---|
426 | throwWarning: tr("{0} is deprecated. Please specify interval by using opening_hours syntax", "{0.tag}");
|
---|
427 | group: tr("deprecated tagging");
|
---|
428 | }
|
---|
429 |
|
---|
430 | /* See #10582 - JOSM supported this tag as "don't upload this" feature, before the introduction of upload flag at layer level */
|
---|
431 | *[/josm\/ignore/] {
|
---|
432 | throwError: tr("{0} is deprecated. Please delete this object and use a private layer instead", "{0.key}");
|
---|
433 | group: tr("deprecated tagging");
|
---|
434 | fixDeleteObject: this;
|
---|
435 | }
|
---|
436 |
|
---|
437 | /* see #8281 */
|
---|
438 | *[sport=diving] {
|
---|
439 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
440 | suggestAlternative: "sport=scuba_diving";
|
---|
441 | suggestAlternative: "sport=cliff_diving";
|
---|
442 | group: tr("deprecated tagging");
|
---|
443 | }
|
---|
444 |
|
---|
445 | /* see #8281 */
|
---|
446 | *[parking=park_and_ride] {
|
---|
447 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
448 | suggestAlternative: "amenity=parking + park_ride=yes";
|
---|
449 | group: tr("deprecated tagging");
|
---|
450 | fixRemove: "parking";
|
---|
451 | fixAdd: "amenity=parking";
|
---|
452 | fixAdd: "park_ride=yes";
|
---|
453 | }
|
---|
454 |
|
---|
455 | /* see #10661, #10837, #11737, #12771 */
|
---|
456 | *[traffic_calming=yes],
|
---|
457 | *[access=restricted],
|
---|
458 | *[barrier=yes],
|
---|
459 | *[aerialway=yes][!public_transport],
|
---|
460 | *[amenity=yes],
|
---|
461 | *[leisure=yes],
|
---|
462 | *[shop="*"],
|
---|
463 | *[shop=yes][amenity!=fuel],
|
---|
464 | *[craft=yes],
|
---|
465 | *[service=yes],
|
---|
466 | *[place=yes] {
|
---|
467 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by a specific value.", "{0.key}", "{0.value}");
|
---|
468 | }
|
---|
469 |
|
---|
470 | /* see #10693 - http://wiki.openstreetmap.org/wiki/Proposed_features/drop_recommendation_for_place_name , #10837 */
|
---|
471 | *[place_name][!name] {
|
---|
472 | throwWarning: tr("{0} should be replaced with {1}", "{0.key}", "{1.key}");
|
---|
473 | fixChangeKey: "place_name => name";
|
---|
474 | }
|
---|
475 | *[place][place_name = *name] {
|
---|
476 | throwWarning: tr("{0} = {1}; remove {0}", "{1.key}", "{1.value}");
|
---|
477 | fixRemove: "{1.key}";
|
---|
478 | }
|
---|
479 |
|
---|
480 | way[sidewalk=yes] {
|
---|
481 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
|
---|
482 | }
|
---|
483 |
|
---|
484 | *[waterway=water_point] {
|
---|
485 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
486 | suggestAlternative: "amenity=water_point";
|
---|
487 | group: tr("deprecated tagging");
|
---|
488 | fixChangeKey: "waterway => amenity";
|
---|
489 | }
|
---|
490 | *[waterway=waste_disposal] {
|
---|
491 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
492 | suggestAlternative: "amenity=waste_disposal";
|
---|
493 | group: tr("deprecated tagging");
|
---|
494 | fixChangeKey: "waterway => amenity";
|
---|
495 | }
|
---|
496 | *[waterway=mooring] {
|
---|
497 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
498 | suggestAlternative: "mooring=yes";
|
---|
499 | group: tr("deprecated tagging");
|
---|
500 | fixRemove: "waterway";
|
---|
501 | fixAdd: "mooring=yes";
|
---|
502 | }
|
---|
503 |
|
---|
504 | /* see #10837 */
|
---|
505 | *[building][levels],
|
---|
506 | *[building:part=yes][levels] {
|
---|
507 | throwWarning: tr("{0} is deprecated", "{1.key}");
|
---|
508 | suggestAlternative: "building:levels";
|
---|
509 | group: tr("deprecated tagging");
|
---|
510 | fixChangeKey: "levels => building:levels";
|
---|
511 | }
|
---|
512 |
|
---|
513 | /* see #10691 */
|
---|
514 | *[protected_class] {
|
---|
515 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
516 | suggestAlternative: "protect_class";
|
---|
517 | group: tr("deprecated tagging");
|
---|
518 | fixChangeKey: "protected_class => protect_class";
|
---|
519 | }
|
---|
520 |
|
---|
521 | /* see #11070 */
|
---|
522 | *[lock=unknown],
|
---|
523 | *[hide=unknown],
|
---|
524 | *[shelter=unknown],
|
---|
525 | *[access=unknown],
|
---|
526 | *[capacity:parent=unknown],
|
---|
527 | *[capacity:women=unknown],
|
---|
528 | *[capacity:disabled=unknown],
|
---|
529 | *[crossing=unknown],
|
---|
530 | *[foot=unknown] {
|
---|
531 | throwWarning: tr("Unspecific tag {0}", "{0.tag}");
|
---|
532 | }
|
---|
533 |
|
---|
534 | /* unclear definition, see #11183 */
|
---|
535 | *[sport=skiing] {
|
---|
536 | throwWarning: tr("Definition of {0} is unclear", "{0.tag}");
|
---|
537 | suggestAlternative: tr("{0} + {1} + {2}", "piste:type=*", "piste:difficulty=*", "piste:grooming=*");
|
---|
538 | group: tr("deprecated tagging");
|
---|
539 | }
|
---|
540 |
|
---|
541 | /* see #11223 */
|
---|
542 | *[waterway=wadi] {
|
---|
543 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
544 | suggestAlternative: "{0.key}=* + intermittent=yes";
|
---|
545 | suggestAlternative: "natural=valley";
|
---|
546 | group: tr("deprecated tagging");
|
---|
547 | }
|
---|
548 |
|
---|
549 | /* see #10346, #15667 (waterway has its own rules in unnecessary.mapcss) */
|
---|
550 | way[oneway=1][!waterway] {
|
---|
551 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
552 | suggestAlternative: "oneway=yes";
|
---|
553 | group: tr("deprecated tagging");
|
---|
554 | fixAdd: "oneway=yes";
|
---|
555 | }
|
---|
556 |
|
---|
557 | /* see #11329, #15667 */
|
---|
558 | way[oneway=-1][!waterway] {
|
---|
559 | throwWarning: tr("{0} is not recommended. Use the Reverse Ways function from the Tools menu.", "{0.tag}");
|
---|
560 | }
|
---|
561 |
|
---|
562 | *[drinkable] {
|
---|
563 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
564 | suggestAlternative: "drinking_water";
|
---|
565 | group: tr("deprecated tagging");
|
---|
566 | }
|
---|
567 |
|
---|
568 | /* see #10329, #15877 */
|
---|
569 | /* simple key change */
|
---|
570 | *[color][!colour] {
|
---|
571 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
572 | suggestAlternative: "colour";
|
---|
573 | group: tr("deprecated tagging");
|
---|
574 | fixChangeKey: "color => colour";
|
---|
575 | assertMatch: "way color=red";
|
---|
576 | assertNoMatch: "way color=red colour=red";
|
---|
577 | }
|
---|
578 | area[building:color][!building:colour] {
|
---|
579 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
580 | suggestAlternative: "building:colour";
|
---|
581 | group: tr("deprecated tagging");
|
---|
582 | fixChangeKey: "building:color => building:colour";
|
---|
583 | assertMatch: "way building:color=red";
|
---|
584 | assertNoMatch: "way building:color=red building:colour=red";
|
---|
585 | }
|
---|
586 | area[roof:color][!roof:colour] {
|
---|
587 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
588 | suggestAlternative: "roof:colour";
|
---|
589 | group: tr("deprecated tagging");
|
---|
590 | fixChangeKey: "roof:color => roof:colour";
|
---|
591 | assertMatch: "way roof:color=red";
|
---|
592 | assertNoMatch: "way roof:color=red roof:colour=red";
|
---|
593 | }
|
---|
594 | /* both tags with same value, remove color */
|
---|
595 | *[color][colour][color=*colour] {
|
---|
596 | throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
|
---|
597 | suggestAlternative: "colour";
|
---|
598 | group: tr("deprecated tagging");
|
---|
599 | set samecolor;
|
---|
600 | fixRemove: "color";
|
---|
601 | assertMatch: "way color=red colour=red";
|
---|
602 | assertNoMatch: "way color=red colour=green";
|
---|
603 | }
|
---|
604 | area[building:color][building:colour]["building:color"=*"building:colour"] {
|
---|
605 | throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
|
---|
606 | suggestAlternative: "building:colour";
|
---|
607 | group: tr("deprecated tagging");
|
---|
608 | set samebuildingcolor;
|
---|
609 | fixRemove: "building:color";
|
---|
610 | assertMatch: "way building:color=red building:colour=red";
|
---|
611 | assertNoMatch: "way building:color=red building:colour=green";
|
---|
612 | }
|
---|
613 | area[roof:color][roof:colour]["roof:color"=*"roof:colour"] {
|
---|
614 | throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
|
---|
615 | suggestAlternative: "roof:colour";
|
---|
616 | group: tr("deprecated tagging");
|
---|
617 | set sameroofcolor;
|
---|
618 | fixRemove: "roof:color";
|
---|
619 | assertMatch: "way roof:color=red roof:colour=red";
|
---|
620 | assertNoMatch: "way roof:color=red roof:colour=green";
|
---|
621 | }
|
---|
622 | /* both tags with different values, no autofix */
|
---|
623 | *[color][colour]!.samecolor {
|
---|
624 | throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
|
---|
625 | suggestAlternative: "colour";
|
---|
626 | group: tr("deprecated tagging");
|
---|
627 | assertNoMatch: "way color=red colour=red";
|
---|
628 | assertMatch: "way color=red colour=green";
|
---|
629 | }
|
---|
630 | *[building:color][building:colour]!.samebuildingcolor {
|
---|
631 | throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
|
---|
632 | suggestAlternative: "building:colour";
|
---|
633 | group: tr("deprecated tagging");
|
---|
634 | assertNoMatch: "way building:color=red building:colour=red";
|
---|
635 | assertMatch: "way building:color=red building:colour=green";
|
---|
636 | }
|
---|
637 | *[roof:color][roof:colour]!.sameroofcolor {
|
---|
638 | throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
|
---|
639 | suggestAlternative: "roof:colour";
|
---|
640 | group: tr("deprecated tagging");
|
---|
641 | assertNoMatch: "way roof:color=red roof:colour=red";
|
---|
642 | assertMatch: "way roof:color=red roof:colour=green";
|
---|
643 | }
|
---|
644 | /* further more universal checks, no autofix */
|
---|
645 | *[/:color/][!building:color][!roof:color] {
|
---|
646 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
647 | suggestAlternative: ":colour";
|
---|
648 | group: tr("deprecated tagging");
|
---|
649 | assertNoMatch: "way color=red";
|
---|
650 | assertNoMatch: "way roof:color=grey";
|
---|
651 | assertMatch: "way cycleway:surface:color=grey";
|
---|
652 | }
|
---|
653 | *[/color:/] {
|
---|
654 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
655 | suggestAlternative: "colour:";
|
---|
656 | group: tr("deprecated tagging");
|
---|
657 | assertNoMatch: "way color=red";
|
---|
658 | assertMatch: "way color:back=grey";
|
---|
659 | }
|
---|
660 |
|
---|
661 | /* see #11234 */
|
---|
662 | *[/=|\+|\/|&|<|>|;|'|"|%|#|@|\\|,|\.|\{|\}|\?|\*|\^|\$/] {
|
---|
663 | throwWarning: tr("{0}", "{0.key}");
|
---|
664 | group: tr("key with uncommon character");
|
---|
665 | }
|
---|
666 |
|
---|
667 | /* see #11330 */
|
---|
668 | *[/^.$/],
|
---|
669 | node[/^..$/],
|
---|
670 | way[/^..$/],
|
---|
671 | relation[/^..$/][!to] {
|
---|
672 | throwWarning: tr("uncommon short key");
|
---|
673 | assertNoMatch: "relation to=Berlin";
|
---|
674 | assertMatch: "relation fo=bar";
|
---|
675 | assertMatch: "way to=bar";
|
---|
676 | assertMatch: "node fo=bar";
|
---|
677 | assertMatch: "node f=b";
|
---|
678 | }
|
---|
679 |
|
---|
680 | /* see #11439 */
|
---|
681 | *[sport=hockey] {
|
---|
682 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
683 | suggestAlternative: "sport=field_hockey";
|
---|
684 | suggestAlternative: "sport=ice_hockey";
|
---|
685 | group: tr("deprecated tagging");
|
---|
686 | }
|
---|
687 |
|
---|
688 | /* see #11471 */
|
---|
689 | *[sport=billard],
|
---|
690 | *[sport=billards],
|
---|
691 | *[sport=billiard] {
|
---|
692 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
693 | suggestAlternative: "sport=billiards";
|
---|
694 | group: tr("deprecated tagging");
|
---|
695 | fixAdd: "sport=billiards";
|
---|
696 | }
|
---|
697 |
|
---|
698 | /* see #11499, #16928 */
|
---|
699 | *[payment:credit_cards=yes] {
|
---|
700 | throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:mastercard=yes", "payment:visa=yes");
|
---|
701 | }
|
---|
702 | *[payment:debit_cards=yes] {
|
---|
703 | throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:maestro=yes", "payment:girocard=yes");
|
---|
704 | }
|
---|
705 | *[payment:electronic_purses=yes] {
|
---|
706 | throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:ep_geldkarte=yes", "payment:ep_quick=yes");
|
---|
707 | }
|
---|
708 | *[payment:cryptocurrencies=yes] {
|
---|
709 | throwWarning: tr("{0} is inaccurate. Use separate tags for each specific type, e.g. {1} or {2}.", "{0.tag}", "payment:bitcoin=yes", "payment:litecoin=yes");
|
---|
710 | }
|
---|
711 |
|
---|
712 | /* defunct payment cards */
|
---|
713 | *[payment:ep_quick],
|
---|
714 | *[payment:ep_cash],
|
---|
715 | *[payment:ep_proton],
|
---|
716 | *[payment:ep_chipknip] {
|
---|
717 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
718 | group: tr("deprecated tagging");
|
---|
719 | fixRemove: "{0.key}";
|
---|
720 | }
|
---|
721 |
|
---|
722 | /* see #8717 */
|
---|
723 | *[kp][highway=milestone],
|
---|
724 | *[kp][railway=milestone],
|
---|
725 | *[kp][waterway=milestone] {
|
---|
726 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
727 | suggestAlternative: "distance";
|
---|
728 | group: tr("deprecated tagging");
|
---|
729 | fixChangeKey: "kp => distance";
|
---|
730 | }
|
---|
731 | *[pk][highway=milestone],
|
---|
732 | *[pk][railway=milestone],
|
---|
733 | *[pk][waterway=milestone] {
|
---|
734 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
735 | suggestAlternative: "distance";
|
---|
736 | group: tr("deprecated tagging");
|
---|
737 | fixChangeKey: "pk => distance";
|
---|
738 | }
|
---|
739 |
|
---|
740 | *[postcode] {
|
---|
741 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
742 | suggestAlternative: "addr:postcode";
|
---|
743 | group: tr("deprecated tagging");
|
---|
744 | suggestAlternative: "postal_code";
|
---|
745 | }
|
---|
746 |
|
---|
747 | *[water=intermittent] {
|
---|
748 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
749 | suggestAlternative: "intermittent=yes";
|
---|
750 | group: tr("deprecated tagging");
|
---|
751 | fixRemove: "water";
|
---|
752 | fixAdd: "intermittent=yes";
|
---|
753 | }
|
---|
754 |
|
---|
755 | /* #10907, #14141 */
|
---|
756 | /* 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 */
|
---|
757 | way[type][type!=waterway][man_made=pipeline],
|
---|
758 | node[type][pipeline=marker] {
|
---|
759 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
760 | suggestAlternative: "substance";
|
---|
761 | group: tr("deprecated tagging");
|
---|
762 | fixChangeKey: "type => substance";
|
---|
763 | }
|
---|
764 |
|
---|
765 | *[landuse=farm] {
|
---|
766 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
767 | suggestAlternative: "landuse=farmland";
|
---|
768 | suggestAlternative: "landuse=farmyard";
|
---|
769 | group: tr("deprecated tagging");
|
---|
770 | }
|
---|
771 |
|
---|
772 | /* #12135 comment:11 */
|
---|
773 | *[seamark=buoy]["seamark:type"=~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
|
---|
774 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
775 | suggestAlternative: "{1.tag}";
|
---|
776 | group: tr("deprecated tagging");
|
---|
777 | fixRemove: "seamark";
|
---|
778 | }
|
---|
779 | *[seamark=buoy]["seamark:type"!~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
|
---|
780 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
781 | suggestAlternative: "{1.tag}";
|
---|
782 | group: tr("deprecated tagging");
|
---|
783 | }
|
---|
784 | /* #12135 - Tag removed rom rendering https://github.com/gravitystorm/openstreetmap-carto/pull/1830 */
|
---|
785 | *[landuse=conservation] {
|
---|
786 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
787 | suggestAlternative: "boundary=protected_area";
|
---|
788 | group: tr("deprecated tagging");
|
---|
789 | fixAdd: "boundary=protected_area";
|
---|
790 | fixRemove: "landuse";
|
---|
791 | }
|
---|
792 |
|
---|
793 | /* #12205 */
|
---|
794 | *[amenity=kiosk] {
|
---|
795 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
796 | suggestAlternative: "shop=kiosk";
|
---|
797 | group: tr("deprecated tagging");
|
---|
798 | fixChangeKey: "amenity => shop";
|
---|
799 | }
|
---|
800 | *[amenity=shop] {
|
---|
801 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
802 | suggestAlternative: "shop=*";
|
---|
803 | group: tr("deprecated tagging");
|
---|
804 | }
|
---|
805 | *[shop=fishmonger] {
|
---|
806 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
807 | suggestAlternative: "shop=seafood";
|
---|
808 | group: tr("deprecated tagging");
|
---|
809 | fixAdd: "shop=seafood";
|
---|
810 | }
|
---|
811 | *[shop=fish] {
|
---|
812 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
813 | suggestAlternative: "shop=seafood";
|
---|
814 | suggestAlternative: "shop=pet";
|
---|
815 | suggestAlternative: "shop=fishing";
|
---|
816 | group: tr("deprecated tagging");
|
---|
817 | }
|
---|
818 | *[shop=betting] {
|
---|
819 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
820 | suggestAlternative: "shop=bookmaker";
|
---|
821 | suggestAlternative: "shop=lottery";
|
---|
822 | suggestAlternative: "amenity=casino";
|
---|
823 | suggestAlternative: "leisure=amusement_arcade";
|
---|
824 | suggestAlternative: "leisure=adult_gaming_centre";
|
---|
825 | suggestAlternative: "amenity=gambling";
|
---|
826 | group: tr("deprecated tagging");
|
---|
827 | }
|
---|
828 | *[shop=perfume] {
|
---|
829 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
830 | suggestAlternative: "shop=perfumery";
|
---|
831 | group: tr("deprecated tagging");
|
---|
832 | fixAdd: "shop=perfumery";
|
---|
833 | }
|
---|
834 | *[amenity=exercise_point] {
|
---|
835 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
836 | suggestAlternative: "leisure=fitness_station";
|
---|
837 | group: tr("deprecated tagging");
|
---|
838 | fixAdd: "leisure=fitness_station";
|
---|
839 | fixRemove: "amenity";
|
---|
840 | }
|
---|
841 | *[shop=auto_parts] {
|
---|
842 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
843 | suggestAlternative: "shop=car_parts";
|
---|
844 | group: tr("deprecated tagging");
|
---|
845 | fixAdd: "shop=car_parts";
|
---|
846 | }
|
---|
847 | *[amenity=car_repair] {
|
---|
848 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
849 | suggestAlternative: "shop=car_repair";
|
---|
850 | group: tr("deprecated tagging");
|
---|
851 | fixChangeKey: "amenity => shop";
|
---|
852 | }
|
---|
853 |
|
---|
854 | /* #12311 */
|
---|
855 | *[amenity=studio][type=audio],
|
---|
856 | *[amenity=studio][type=radio],
|
---|
857 | *[amenity=studio][type=television],
|
---|
858 | *[amenity=studio][type=video] {
|
---|
859 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
860 | suggestAlternative: "studio";
|
---|
861 | group: tr("deprecated tagging");
|
---|
862 | fixChangeKey: "type => studio";
|
---|
863 | }
|
---|
864 |
|
---|
865 | /* #11507, #12297, #15409 */
|
---|
866 | *[power=cable_distribution_cabinet] {
|
---|
867 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
868 | suggestAlternative: "man_made=street_cabinet + street_cabinet=*";
|
---|
869 | group: tr("deprecated tagging");
|
---|
870 | fixAdd: "man_made=street_cabinet";
|
---|
871 | fixRemove: "power";
|
---|
872 | }
|
---|
873 |
|
---|
874 | /* #16430 */
|
---|
875 | *[power][location=kiosk] {
|
---|
876 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
877 | group: tr("deprecated tagging");
|
---|
878 | fixAdd: "man_made=street_cabinet";
|
---|
879 | fixAdd: "street_cabinet=power";
|
---|
880 | fixRemove: "location";
|
---|
881 | }
|
---|
882 |
|
---|
883 | /* #12276 */
|
---|
884 | *[man_made=well] {
|
---|
885 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
886 | suggestAlternative: "man_made=water_well";
|
---|
887 | suggestAlternative: "man_made=petroleum_well";
|
---|
888 | group: tr("deprecated tagging");
|
---|
889 | }
|
---|
890 | *[amenity=dog_bin],
|
---|
891 | *[amenity=dog_waste_bin] {
|
---|
892 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
893 | suggestAlternative: "amenity=waste_basket + waste=dog_excrement + vending=excrement_bags";
|
---|
894 | group: tr("deprecated tagging");
|
---|
895 | fixAdd: "amenity=waste_basket";
|
---|
896 | fixAdd: "waste=dog_excrement";
|
---|
897 | fixAdd: "vending=excrement_bags";
|
---|
898 | }
|
---|
899 | *[amenity=artwork] {
|
---|
900 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
901 | suggestAlternative: "tourism=artwork";
|
---|
902 | group: tr("deprecated tagging");
|
---|
903 | fixAdd: "tourism=artwork";
|
---|
904 | fixRemove: "amenity";
|
---|
905 | }
|
---|
906 | *[amenity=community_center] {
|
---|
907 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
908 | suggestAlternative: "amenity=community_centre";
|
---|
909 | group: tr("deprecated tagging");
|
---|
910 | fixAdd: "amenity=community_centre";
|
---|
911 | }
|
---|
912 | *[man_made=cut_line] {
|
---|
913 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
914 | suggestAlternative: "man_made=cutline";
|
---|
915 | group: tr("deprecated tagging");
|
---|
916 | fixAdd: "man_made=cutline";
|
---|
917 | }
|
---|
918 | *[amenity=park] {
|
---|
919 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
920 | suggestAlternative: "leisure=park";
|
---|
921 | group: tr("deprecated tagging");
|
---|
922 | fixAdd: "leisure=park";
|
---|
923 | fixRemove: "amenity";
|
---|
924 | }
|
---|
925 | *[amenity=hotel] {
|
---|
926 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
927 | suggestAlternative: "tourism=hotel";
|
---|
928 | group: tr("deprecated tagging");
|
---|
929 | fixAdd: "tourism=hotel";
|
---|
930 | fixRemove: "amenity";
|
---|
931 | }
|
---|
932 | *[shop=window],
|
---|
933 | *[shop=windows] {
|
---|
934 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
935 | suggestAlternative: "craft=window_construction";
|
---|
936 | group: tr("deprecated tagging");
|
---|
937 | fixAdd: "craft=window_construction";
|
---|
938 | fixRemove: "shop";
|
---|
939 | }
|
---|
940 | *[amenity=education] {
|
---|
941 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
942 | suggestAlternative: "amenity=college";
|
---|
943 | suggestAlternative: "amenity=school";
|
---|
944 | suggestAlternative: "amenity=university";
|
---|
945 | group: tr("deprecated tagging");
|
---|
946 | }
|
---|
947 | *[shop=gallery] {
|
---|
948 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
949 | suggestAlternative: "shop=art";
|
---|
950 | group: tr("deprecated tagging");
|
---|
951 | fixAdd: "shop=art";
|
---|
952 | }
|
---|
953 | *[shop=gambling],
|
---|
954 | *[leisure=gambling] {
|
---|
955 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
956 | suggestAlternative: "shop=bookmaker";
|
---|
957 | suggestAlternative: "shop=lottery";
|
---|
958 | suggestAlternative: "amenity=casino";
|
---|
959 | suggestAlternative: "leisure=amusement_arcade";
|
---|
960 | suggestAlternative: "amenity=gambling";
|
---|
961 | group: tr("deprecated tagging");
|
---|
962 | }
|
---|
963 | *[office=real_estate_agent] {
|
---|
964 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
965 | suggestAlternative: "office=estate_agent ";
|
---|
966 | group: tr("deprecated tagging");
|
---|
967 | fixAdd: "office=estate_agent ";
|
---|
968 | }
|
---|
969 | *[shop=glass] {
|
---|
970 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
971 | suggestAlternative: "shop=glaziery";
|
---|
972 | suggestAlternative: "craft=glaziery";
|
---|
973 | group: tr("deprecated tagging");
|
---|
974 | }
|
---|
975 | *[amenity=proposed],
|
---|
976 | *[amenity=proposed],
|
---|
977 | *[amenity=disused],
|
---|
978 | *[shop=disused],
|
---|
979 | *[historic=abandoned] {
|
---|
980 | throwWarning: tr("{0} is deprecated. Use the {1}: key prefix instead.", "{0.tag}", "{0.value}");
|
---|
981 | group: tr("deprecated tagging");
|
---|
982 | }
|
---|
983 |
|
---|
984 | /* #12431 */
|
---|
985 | *[amenity=swimming_pool] {
|
---|
986 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
987 | suggestAlternative: "leisure=swimming_pool";
|
---|
988 | group: tr("deprecated tagging");
|
---|
989 | fixChangeKey: "amenity => leisure";
|
---|
990 | }
|
---|
991 |
|
---|
992 | /* #17379 */
|
---|
993 | *[amenity=sauna] {
|
---|
994 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
995 | suggestAlternative: "leisure=sauna";
|
---|
996 | group: tr("deprecated tagging");
|
---|
997 | fixChangeKey: "amenity => leisure";
|
---|
998 | }
|
---|
999 |
|
---|
1000 | /* #12494, #17554 */
|
---|
1001 | *[/^[^t][^i][^g].+_[0-9]$/][!/^note_[0-9]$/][!/^description_[0-9]$/] {
|
---|
1002 | throwWarning: tr("{0}", "{0.key}");
|
---|
1003 | group: tr("questionable key (ending with a number)");
|
---|
1004 | assertMatch: "way name_1=foo";
|
---|
1005 | assertNoMatch: "way note_2=foo";
|
---|
1006 | assertNoMatch: "way description_3=foo";
|
---|
1007 | assertNoMatch: "way tiger:name_base_1=bar"; /*should not warn for key tiger:name_base_1 */
|
---|
1008 | }
|
---|
1009 |
|
---|
1010 | /* #12500 */
|
---|
1011 | *[sport=skating] {
|
---|
1012 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1013 | suggestAlternative: "sport=ice_skating";
|
---|
1014 | suggestAlternative: "sport=roller_skating";
|
---|
1015 | group: tr("deprecated tagging");
|
---|
1016 | }
|
---|
1017 |
|
---|
1018 | way[barrier=wall][type=noise_barrier][!wall],
|
---|
1019 | way[barrier=wall][type=noise_barrier][wall=noise_barrier] {
|
---|
1020 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
1021 | suggestAlternative: "wall=noise_barrier";
|
---|
1022 | group: tr("deprecated tagging");
|
---|
1023 | fixChangeKey: "type => wall";
|
---|
1024 | }
|
---|
1025 | way[barrier=wall][type=noise_barrier][wall][wall!=noise_barrier] {
|
---|
1026 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
1027 | suggestAlternative: "wall=noise_barrier";
|
---|
1028 | group: tr("deprecated tagging");
|
---|
1029 | }
|
---|
1030 |
|
---|
1031 | /* #8978, 12588 */
|
---|
1032 | *[amenity=public_building] {
|
---|
1033 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1034 | suggestAlternative: "amenity=townhall";
|
---|
1035 | suggestAlternative: "amenity=community_centre";
|
---|
1036 | suggestAlternative: "amenity=hospital";
|
---|
1037 | suggestAlternative: "leisure=sports_centre";
|
---|
1038 | suggestAlternative: "office=government";
|
---|
1039 | suggestAlternative: "building=hospital";
|
---|
1040 | suggestAlternative: "building=public";
|
---|
1041 | suggestAlternative: "...";
|
---|
1042 | group: tr("deprecated tagging");
|
---|
1043 | }
|
---|
1044 |
|
---|
1045 | /* #12708 */
|
---|
1046 | *[vending=news_papers] {
|
---|
1047 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1048 | suggestAlternative: "vending=newspapers";
|
---|
1049 | group: tr("deprecated tagging");
|
---|
1050 | fixAdd: "vending=newspapers";
|
---|
1051 | }
|
---|
1052 |
|
---|
1053 | /* #12771 */
|
---|
1054 | *[service=drive_through] {
|
---|
1055 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1056 | suggestAlternative: "service=drive-through";
|
---|
1057 | group: tr("deprecated tagging");
|
---|
1058 | fixAdd: "service=drive-through";
|
---|
1059 | }
|
---|
1060 |
|
---|
1061 | /* #12771 */
|
---|
1062 | 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 */
|
---|
1063 | way[railway=rail][service][service !~ /^(crossover|siding|spur|yard)$/],
|
---|
1064 | way[waterway=canal][service][service !~ /^(irrigation|transportation|water_power)$/] {
|
---|
1065 | throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
|
---|
1066 | }
|
---|
1067 |
|
---|
1068 | /* #13008 */
|
---|
1069 | *[name:botanical] {
|
---|
1070 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
1071 | suggestAlternative: "species";
|
---|
1072 | group: tr("deprecated tagging");
|
---|
1073 | }
|
---|
1074 |
|
---|
1075 | /* #11344, #13101, #15480 */
|
---|
1076 | node[pole=air_to_ground],
|
---|
1077 | node[pole=transition] {
|
---|
1078 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1079 | suggestAlternative: "location:transition=yes";
|
---|
1080 | group: tr("deprecated tagging");
|
---|
1081 | fixAdd: "location:transition=yes";
|
---|
1082 | fixRemove: "pole";
|
---|
1083 | }
|
---|
1084 | node[tower=air_to_ground],
|
---|
1085 | node[tower=transition] {
|
---|
1086 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1087 | suggestAlternative: "location:transition=yes";
|
---|
1088 | group: tr("deprecated tagging");
|
---|
1089 | fixAdd: "location:transition=yes";
|
---|
1090 | fixRemove: "tower";
|
---|
1091 | }
|
---|
1092 |
|
---|
1093 | /* #13138 */
|
---|
1094 | area[landuse=pond] {
|
---|
1095 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1096 | suggestAlternative: "natural=water + water=pond";
|
---|
1097 | group: tr("deprecated tagging");
|
---|
1098 | fixAdd: "natural=water";
|
---|
1099 | fixAdd: "water=pond";
|
---|
1100 | fixRemove: "landuse";
|
---|
1101 | }
|
---|
1102 |
|
---|
1103 | *[shop=souvenir],
|
---|
1104 | *[shop=souvenirs],
|
---|
1105 | *[shop=souveniers] {
|
---|
1106 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1107 | suggestAlternative: "shop=gift";
|
---|
1108 | group: tr("deprecated tagging");
|
---|
1109 | fixAdd: "shop=gift";
|
---|
1110 | }
|
---|
1111 |
|
---|
1112 | *[vending=animal_food] {
|
---|
1113 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1114 | suggestAlternative: "vending=animal_feed";
|
---|
1115 | group: tr("deprecated tagging");
|
---|
1116 | fixAdd: "vending=animal_feed";
|
---|
1117 | }
|
---|
1118 |
|
---|
1119 | /* #14376 */
|
---|
1120 | node[vending=photos][amenity=vending_machine],
|
---|
1121 | node[vending=photo][amenity=vending_machine] {
|
---|
1122 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1123 | suggestAlternative: "amenity=photo_booth";
|
---|
1124 | group: tr("deprecated tagging");
|
---|
1125 | fixRemove: "vending";
|
---|
1126 | fixAdd: "amenity=photo_booth";
|
---|
1127 |
|
---|
1128 | }
|
---|
1129 | node[vending=photos][amenity!=vending_machine] {
|
---|
1130 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1131 | suggestAlternative: "amenity=photo_booth";
|
---|
1132 | group: tr("deprecated tagging");
|
---|
1133 | }
|
---|
1134 |
|
---|
1135 | /* #13653 */
|
---|
1136 | node[highway=emergency_access_point][phone][!emergency_telephone_code],
|
---|
1137 | way[highway=emergency_access_point][phone][!emergency_telephone_code] {
|
---|
1138 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
1139 | suggestAlternative: "emergency_telephone_code";
|
---|
1140 | group: tr("deprecated tagging");
|
---|
1141 | fixChangeKey: "phone => emergency_telephone_code";
|
---|
1142 | assertMatch: "node highway=emergency_access_point phone=123";
|
---|
1143 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=456";
|
---|
1144 | assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=456";
|
---|
1145 | assertNoMatch: "node phone=123";
|
---|
1146 | }
|
---|
1147 | node[highway=emergency_access_point][phone=*emergency_telephone_code],
|
---|
1148 | way[highway=emergency_access_point][phone=*emergency_telephone_code] {
|
---|
1149 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
1150 | suggestAlternative: "emergency_telephone_code";
|
---|
1151 | group: tr("deprecated tagging");
|
---|
1152 | fixRemove: "phone";
|
---|
1153 | assertNoMatch: "node highway=emergency_access_point phone=123";
|
---|
1154 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
|
---|
1155 | assertMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
|
---|
1156 | }
|
---|
1157 | node[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code],
|
---|
1158 | way[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code] {
|
---|
1159 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
1160 | suggestAlternative: "emergency_telephone_code";
|
---|
1161 | group: tr("deprecated tagging");
|
---|
1162 | assertNoMatch: "node highway=emergency_access_point phone=123";
|
---|
1163 | assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
|
---|
1164 | assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
|
---|
1165 | }
|
---|
1166 |
|
---|
1167 | /* #13879 */
|
---|
1168 | way[tracktype=1] {
|
---|
1169 | throwError: tr("{0}", "{0.tag}");
|
---|
1170 | suggestAlternative: "tracktype=grade1";
|
---|
1171 | group: tr("misspelled value");
|
---|
1172 | fixAdd: "tracktype=grade1";
|
---|
1173 | }
|
---|
1174 | way[tracktype=2] {
|
---|
1175 | throwError: tr("{0}", "{0.tag}");
|
---|
1176 | suggestAlternative: "tracktype=grade2";
|
---|
1177 | group: tr("misspelled value");
|
---|
1178 | fixAdd: "tracktype=grade2";
|
---|
1179 | }
|
---|
1180 | way[tracktype=3] {
|
---|
1181 | throwError: tr("{0}", "{0.tag}");
|
---|
1182 | suggestAlternative: "tracktype=grade3";
|
---|
1183 | group: tr("misspelled value");
|
---|
1184 | fixAdd: "tracktype=grade3";
|
---|
1185 | }
|
---|
1186 | way[tracktype=4] {
|
---|
1187 | throwError: tr("{0}", "{0.tag}");
|
---|
1188 | suggestAlternative: "tracktype=grade4";
|
---|
1189 | group: tr("misspelled value");
|
---|
1190 | fixAdd: "tracktype=grade4";
|
---|
1191 | }
|
---|
1192 | way[tracktype=5] {
|
---|
1193 | throwError: tr("{0}", "{0.tag}");
|
---|
1194 | suggestAlternative: "tracktype=grade5";
|
---|
1195 | group: tr("misspelled value");
|
---|
1196 | fixAdd: "tracktype=grade5";
|
---|
1197 | }
|
---|
1198 | way[tracktype][tracktype!~/^(1|2|3|4|5|grade1|grade2|grade3|grade4|grade5)$/] {
|
---|
1199 | throwError: tr("wrong value: {0}", "{0.tag}");
|
---|
1200 | suggestAlternative: "tracktype=grade1";
|
---|
1201 | suggestAlternative: "tracktype=grade2";
|
---|
1202 | suggestAlternative: "tracktype=grade3";
|
---|
1203 | suggestAlternative: "tracktype=grade4";
|
---|
1204 | suggestAlternative: "tracktype=grade5";
|
---|
1205 | }
|
---|
1206 |
|
---|
1207 | area[area][area!=yes][area!=no] {
|
---|
1208 | throwError: tr("wrong value: {0}", "{0.tag}");
|
---|
1209 | suggestAlternative: "area=yes";
|
---|
1210 | suggestAlternative: "area=no";
|
---|
1211 | }
|
---|
1212 |
|
---|
1213 | /* #13953 */
|
---|
1214 | *[amenity=hunting_stand][lock=yes],
|
---|
1215 | *[amenity=hunting_stand][lock=no] {
|
---|
1216 | throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
|
---|
1217 | suggestAlternative: "lockable";
|
---|
1218 | group: tr("deprecated tagging");
|
---|
1219 | fixChangeKey: "lock => lockable";
|
---|
1220 | }
|
---|
1221 |
|
---|
1222 | *[amenity=advertising][!advertising] {
|
---|
1223 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1224 | suggestAlternative: "advertising=*";
|
---|
1225 | group: tr("deprecated tagging");
|
---|
1226 | }
|
---|
1227 | *[amenity=advertising][advertising] {
|
---|
1228 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1229 | suggestAlternative: "advertising=*";
|
---|
1230 | group: tr("deprecated tagging");
|
---|
1231 | fixRemove: "amenity";
|
---|
1232 | }
|
---|
1233 |
|
---|
1234 | way[direction=up][incline=up],
|
---|
1235 | way[direction=down][incline=down],
|
---|
1236 | way[direction=up][!incline],
|
---|
1237 | way[direction=down][!incline] {
|
---|
1238 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1239 | suggestAlternative: "incline";
|
---|
1240 | group: tr("deprecated tagging");
|
---|
1241 | fixChangeKey: "direction => incline";
|
---|
1242 | }
|
---|
1243 | way[direction=up][incline][incline!=up],
|
---|
1244 | way[direction=down][incline][incline!=down] {
|
---|
1245 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1246 | suggestAlternative: "incline";
|
---|
1247 | group: tr("deprecated tagging");
|
---|
1248 | }
|
---|
1249 |
|
---|
1250 | way[building=y],
|
---|
1251 | way[building=1] {
|
---|
1252 | throwError: tr("{0}", "{0.tag}");
|
---|
1253 | suggestAlternative: "building=yes";
|
---|
1254 | group: tr("misspelled value");
|
---|
1255 | fixAdd: "building=yes";
|
---|
1256 | }
|
---|
1257 |
|
---|
1258 | /* #15675 */
|
---|
1259 | node[power=transformer][location=pole][transformer] {
|
---|
1260 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
|
---|
1261 | group: tr("deprecated tagging");
|
---|
1262 | fixChangeKey: "location => power";
|
---|
1263 | }
|
---|
1264 | node[power=transformer][location=pole][!transformer] {
|
---|
1265 | throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
|
---|
1266 | group: tr("deprecated tagging");
|
---|
1267 | fixChangeKey: "location => power";
|
---|
1268 | fixAdd: "transformer=yes";
|
---|
1269 | }
|
---|
1270 |
|
---|
1271 | node[tourism=picnic_table],
|
---|
1272 | node[amenity=picnic_table],
|
---|
1273 | node[leisure=picnic],
|
---|
1274 | node[leisure=picnic_site] {
|
---|
1275 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1276 | suggestAlternative: "tourism=picnic_site";
|
---|
1277 | suggestAlternative: "leisure=picnic_table";
|
---|
1278 | group: tr("deprecated tagging");
|
---|
1279 | }
|
---|
1280 |
|
---|
1281 | /* #15804 */
|
---|
1282 | relation[water=salt],
|
---|
1283 | way[water=salt],
|
---|
1284 | way[water=salt_pool],
|
---|
1285 | way[water=salt_panne],
|
---|
1286 | way[water=salt_pond] {
|
---|
1287 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1288 | suggestAlternative: "salt=yes";
|
---|
1289 | suggestAlternative: "landuse=salt_pond";
|
---|
1290 | group: tr("deprecated tagging");
|
---|
1291 | }
|
---|
1292 |
|
---|
1293 | /* #15805 */
|
---|
1294 | way[water=tidal] {
|
---|
1295 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1296 | suggestAlternative: "tidal=yes";
|
---|
1297 | fixAdd: "tidal=yes";
|
---|
1298 | fixRemove: "water";
|
---|
1299 | group: tr("deprecated tagging");
|
---|
1300 | }
|
---|
1301 |
|
---|
1302 | *[amenity=toilet] {
|
---|
1303 | throwError: tr("{0}", "{0.tag}");
|
---|
1304 | suggestAlternative: "amenity=toilets";
|
---|
1305 | group: tr("misspelled value");
|
---|
1306 | fixAdd: "amenity=toilets";
|
---|
1307 | }
|
---|
1308 |
|
---|
1309 | way[power=busbar] {
|
---|
1310 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1311 | suggestAlternative: "power=line + line=busbar";
|
---|
1312 | group: tr("deprecated tagging");
|
---|
1313 | fixAdd: "power=line";
|
---|
1314 | fixAdd: "line=busbar";
|
---|
1315 | }
|
---|
1316 |
|
---|
1317 | /* #16924 */
|
---|
1318 | *[man_made=MDF],
|
---|
1319 | *[man_made=telephone_exchange] {
|
---|
1320 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1321 | suggestAlternative: "telecom=exchange";
|
---|
1322 | fixAdd: "telecom=exchange";
|
---|
1323 | fixRemove: "man_made";
|
---|
1324 | group: tr("deprecated tagging");
|
---|
1325 | }
|
---|
1326 | *[building=central_office] {
|
---|
1327 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1328 | suggestAlternative: "telecom=exchange";
|
---|
1329 | fixAdd: "telecom=exchange";
|
---|
1330 | fixAdd: "building=yes";
|
---|
1331 | group: tr("deprecated tagging");
|
---|
1332 | }
|
---|
1333 | *[telecom=central_office] {
|
---|
1334 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1335 | suggestAlternative: "telecom=exchange";
|
---|
1336 | fixAdd: "telecom=exchange";
|
---|
1337 | group: tr("deprecated tagging");
|
---|
1338 | }
|
---|
1339 |
|
---|
1340 | /* #16925 */
|
---|
1341 | node[communication=outdoor_dslam],
|
---|
1342 | node[man_made=outdoor_dslam],
|
---|
1343 | node[street_cabinet=outdoor_dslam] {
|
---|
1344 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1345 | suggestAlternative: "telecom=service_device";
|
---|
1346 | fixAdd: "telecom=service_device";
|
---|
1347 | fixRemove: "{0.key}";
|
---|
1348 | group: tr("deprecated tagging");
|
---|
1349 | }
|
---|
1350 | node[telecom=dslam],
|
---|
1351 | node[telecom=outdoor_dslam] {
|
---|
1352 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1353 | suggestAlternative: "telecom=service_device";
|
---|
1354 | fixAdd: "telecom=service_device";
|
---|
1355 | group: tr("deprecated tagging");
|
---|
1356 | }
|
---|
1357 |
|
---|
1358 | /* #15774 */
|
---|
1359 | node[amenity=fire_hydrant] {
|
---|
1360 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1361 | suggestAlternative: "emergency=fire_hydrant";
|
---|
1362 | fixChangeKey: "amenity => emergency";
|
---|
1363 | group: tr("deprecated tagging");
|
---|
1364 | }
|
---|
1365 | node[fire_hydrant:type=pond] {
|
---|
1366 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1367 | suggestAlternative: "water_source=pond";
|
---|
1368 | fixAdd: "water_source=pond";
|
---|
1369 | fixRemove: "{0.key}";
|
---|
1370 | group: tr("deprecated tagging");
|
---|
1371 | }
|
---|
1372 | node[fire_hydrant:flow_capacity] {
|
---|
1373 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
1374 | suggestAlternative: "flow_rate";
|
---|
1375 | group: tr("deprecated tagging");
|
---|
1376 | }
|
---|
1377 | node[emergency=fire_hydrant][in_service=no] {
|
---|
1378 | throwWarning: tr("{0} is deprecated", "{1.tag}");
|
---|
1379 | suggestAlternative: "disused:emergency=fire_hydrant";
|
---|
1380 | fixAdd: "disused:emergency=fire_hydrant";
|
---|
1381 | fixRemove: "{1.key}";
|
---|
1382 | fixRemove: "{0.key}";
|
---|
1383 | group: tr("deprecated tagging");
|
---|
1384 | }
|
---|
1385 | node[fire_hydrant:water_source] {
|
---|
1386 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
1387 | suggestAlternative: "water_source";
|
---|
1388 | fixChangeKey: "fire_hydrant:water_source => water_source";
|
---|
1389 | group: tr("deprecated tagging");
|
---|
1390 | }
|
---|
1391 |
|
---|
1392 | /* #17383 */
|
---|
1393 | *[natural=waterfall] {
|
---|
1394 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1395 | suggestAlternative: "waterway=waterfall";
|
---|
1396 | fixChangeKey: "natural => waterway";
|
---|
1397 | group: tr("deprecated tagging");
|
---|
1398 | }
|
---|
1399 |
|
---|
1400 | /* #17249 */
|
---|
1401 | *[religion=unitarian] {
|
---|
1402 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1403 | suggestAlternative: "religion=unitarian_universalist";
|
---|
1404 | fixAdd: "religion=unitarian_universalist";
|
---|
1405 | group: tr("deprecated tagging");
|
---|
1406 | }
|
---|
1407 |
|
---|
1408 | *[shop=shopping_centre] {
|
---|
1409 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1410 | suggestAlternative: "shop=mall";
|
---|
1411 | fixAdd: "shop=mall";
|
---|
1412 | group: tr("deprecated tagging");
|
---|
1413 | }
|
---|
1414 |
|
---|
1415 | /* #17504 */
|
---|
1416 | *[is_in],
|
---|
1417 | node[/^is_in:.*$/],
|
---|
1418 | way[/^is_in:.*$/] {
|
---|
1419 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
1420 | group: tr("deprecated tagging");
|
---|
1421 | fixRemove: "{0.key}";
|
---|
1422 | }
|
---|
1423 |
|
---|
1424 | /* #17593 */
|
---|
1425 | *[sport=football] {
|
---|
1426 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
1427 | suggestAlternative: "sport=soccer";
|
---|
1428 | suggestAlternative: "sport=american_football";
|
---|
1429 | suggestAlternative: "sport=australian_football";
|
---|
1430 | suggestAlternative: "sport=canadian_football";
|
---|
1431 | suggestAlternative: "sport=rugby_league";
|
---|
1432 | suggestAlternative: "sport=rugby_union";
|
---|
1433 | suggestAlternative: "sport=gaelic_games";
|
---|
1434 | group: tr("deprecated tagging");
|
---|
1435 | }
|
---|