source: josm/trunk/data/validator/deprecated.mapcss @ 15636

Last change on this file since 15636 was 15636, checked in by Don-vip, 5 months ago

fix #18469 - deprecate landuse=churchyard

  • Property svn:eol-style set to native
File size: 56.9 KB
Line 
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 
19node[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}
26way[highway=ford] {
27  throwWarning: tr("{0} is deprecated", "{0.tag}");
28  suggestAlternative: "highway=* + ford=yes";
29  group: tr("deprecated tagging");
30}
31 
32way[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*[location=rooftop] {
193  throwWarning: tr("{0} is deprecated", "{0.tag}");
194  suggestAlternative: "location=roof";
195  group: tr("deprecated tagging");
196  fixAdd: "location=roof";
197}
198
199*[generator:location] {
200  throwWarning: tr("{0} is deprecated", "{0.key}");
201  suggestAlternative: "location";
202  group: tr("deprecated tagging");
203  fixChangeKey: "generator:location => location";
204}
205
206*[generator:method=dam] {
207  throwWarning: tr("{0} is deprecated", "{0.tag}");
208  suggestAlternative: "generator:method=water-storage";
209  group: tr("deprecated tagging");
210  fixAdd: "generator:method=water-storage";
211}
212 
213*[generator:method=pumped-storage] {
214  throwWarning: tr("{0} is deprecated", "{0.tag}");
215  suggestAlternative: "generator:method=water-pumped-storage";
216  group: tr("deprecated tagging");
217  fixAdd: "generator:method=water-pumped-storage";
218}
219 
220*[generator:method=pumping] {
221  throwWarning: tr("{0} is deprecated", "{0.tag}");
222  suggestAlternative: "generator:method=water-pumped-storage";
223  group: tr("deprecated tagging");
224  fixAdd: "generator:method=water-pumped-storage";
225}
226 
227*[fence_type=chain] {
228  /* see #8962 - http://wiki.openstreetmap.org/wiki/Key:fence_type */
229  throwWarning: tr("{0} is deprecated", "{0.tag}");
230  suggestAlternative: "barrier=chain";
231  suggestAlternative: "barrier=fence + fence_type=chain_link";
232  group: tr("deprecated tagging");
233}
234
235*[building=entrance] {
236  /* see #9000 - http://wiki.openstreetmap.org/wiki/Key:entrance */
237  throwWarning: tr("{0} is deprecated", "{0.tag}");
238  suggestAlternative: "entrance";
239  group: tr("deprecated tagging");
240}
241 
242*[board_type=board] {
243  /* see #9213 - Useless tag proposed in internal preset for years */
244  throwWarning: tr("{0} is deprecated", "{0.tag}");
245  group: tr("deprecated tagging");
246  fixRemove: "board_type";
247}
248 
249*[man_made=measurement_station] {
250  /* see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station */
251  throwWarning: tr("{0} is deprecated", "{0.tag}");
252  suggestAlternative: "man_made=monitoring_station";
253  group: tr("deprecated tagging");
254  fixAdd: "man_made=monitoring_station";
255}
256 
257*[measurement=water_level] {
258  throwWarning: tr("{0} is deprecated", "{0.tag}");
259  suggestAlternative: "monitoring:water_level=yes";
260  group: tr("deprecated tagging");
261  fixRemove: "measurement";
262  fixAdd: "monitoring:water_level=yes";
263}
264 
265*[measurement=weather] {
266  throwWarning: tr("{0} is deprecated", "{0.tag}");
267  suggestAlternative: "monitoring:weather=yes";
268  group: tr("deprecated tagging");
269  fixRemove: "measurement";
270  fixAdd: "monitoring:weather=yes";
271}
272 
273*[measurement=seismic] {
274  throwWarning: tr("{0} is deprecated", "{0.tag}");
275  suggestAlternative: "monitoring:seismic_activity=yes";
276  group: tr("deprecated tagging");
277  fixRemove: "measurement";
278  fixAdd: "monitoring:seismic_activity=yes";
279}
280
281*[monitoring:river_level] {
282  throwWarning: tr("{0} is deprecated", "{0.key}");
283  suggestAlternative: "monitoring:water_level";
284  group: tr("deprecated tagging");
285  fixChangeKey: "monitoring:river_level => monitoring:water_level";
286}
287
288*[stay] {
289  throwWarning: tr("{0} is deprecated", "{0.key}");
290  suggestAlternative: "maxstay";
291  group: tr("deprecated tagging");
292  fixChangeKey: "stay => maxstay";
293}
294
295*[emergency=aed] {
296  /* see #9554 - http://wiki.openstreetmap.org/wiki/Proposed_features/automated_external_defibrillator */
297  throwWarning: tr("{0} is deprecated", "{0.tag}");
298  suggestAlternative: "emergency=defibrillator";
299  group: tr("deprecated tagging");
300  fixAdd: "emergency=defibrillator";
301}
302
303/* from http://wiki.openstreetmap.org/wiki/Conditional_restrictions#Deprecated_tags */
304*[day_on][!restriction],
305*[day_off][!restriction],
306*[date_on][!restriction],
307*[date_off][!restriction],
308*[hour_on][!restriction],
309*[hour_off][!restriction] {
310  throwWarning: tr("{0} is deprecated", "{0.key}");
311  suggestAlternative: "*:conditional";
312  group: tr("deprecated tagging");
313  assertMatch: "node day_on=0-12";
314}
315
316/* see #10000, http://wiki.openstreetmap.org/wiki/Tag%3Aaccess%3Ddesignated */
317*[access=designated] {
318  throwWarning: tr("''{0}'' is meaningless, use more specific tags, e.g. ''{1}''", "access=designated", "bicycle=designated");
319  assertMatch: "way access=designated";
320}
321*[access=official] {
322  throwWarning: tr("''{0}'' does not specify the official mode of transportation, use ''{1}'' for example", "access=official", "bicycle=official");
323  assertMatch: "way access=official";
324}
325
326/* see #10085 - give warning for fixme=yes */
327*[fixme=yes], *[FIXME=yes] {
328  throwWarning: tr("{0}={1} is unspecific. Instead of ''{1}'' please give more information about what exactly should be fixed.", "{0.key}", "{0.value}");
329  assertMatch: "way fixme=yes";
330}
331
332*[name][name=~/^(?i)fixme$/] {
333  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}");
334  fixRemove: "name";
335  assertMatch: "node name=fixme";
336  assertMatch: "node name=Fixme";
337  assertMatch: "node name=FIXME";
338  assertNoMatch: "node name=valid name";
339}
340
341*[note][note=~/^(?i)fixme$/] {
342  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}");
343}
344
345/* see #10107, #10108, #10929, #13391 - http://wiki.openstreetmap.org/wiki/Proposed_features/leaftype#Features.2FPages_affected */
346*[type=broad_leaved],
347*[type=broad_leafed] {
348  throwWarning: tr("{0} is deprecated", "{0.tag}");
349  suggestAlternative: "leaf_type=broadleaved";
350  group: tr("deprecated tagging");
351  fixRemove: "{0.key}";
352  fixAdd: "leaf_type=broadleaved";
353}
354
355*[wood=coniferous],
356*[type=coniferous],
357*[type=conifer] {
358  throwWarning: tr("{0} is deprecated", "{0.tag}");
359  suggestAlternative: "leaf_type=needleleaved";
360  group: tr("deprecated tagging");
361  fixRemove: "{0.key}";
362  fixAdd: "leaf_type=needleleaved";
363}
364
365*[wood=mixed] {
366  throwWarning: tr("{0} is deprecated", "{0.tag}");
367  suggestAlternative: "leaf_type=mixed";
368  group: tr("deprecated tagging");
369  fixRemove: "wood";
370  fixAdd: "leaf_type=mixed";
371}
372
373*[wood=evergreen],
374*[type=evergreen] {
375  throwWarning: tr("{0} is deprecated", "{0.tag}");
376  suggestAlternative: "leaf_cycle=evergreen";
377  group: tr("deprecated tagging");
378  fixRemove: "{0.key}";
379  fixAdd: "leaf_cycle=evergreen";
380}
381
382*[type=deciduous],
383*[type=deciduos] {
384  throwWarning: tr("{0} is deprecated", "{0.tag}");
385  suggestAlternative: "leaf_cycle=deciduous";
386  group: tr("deprecated tagging");
387  fixRemove: "type";
388  fixAdd: "leaf_cycle=deciduous";
389}
390
391*[wood=deciduous] {
392  throwWarning: tr("{0} is deprecated", "{0.tag}");
393  suggestAlternative: "leaf_type + leaf_cycle";
394  group: tr("deprecated tagging");
395}
396
397node[type=palm],
398way[type=palm] {
399  throwWarning: tr("{0} is deprecated", "{0.tag}");
400  suggestAlternative: "leaf_type";
401  suggestAlternative: "trees";
402  suggestAlternative: "species";
403  group: tr("deprecated tagging");
404}
405
406*[natural=land] {
407  throwWarning: tr("{0} is deprecated. Please use instead a multipolygon.", "{0.tag}");
408  group: tr("deprecated tagging");
409  assertMatch: "way natural=land";
410}
411
412/* see #10447 - https://wiki.openstreetmap.org/wiki/Proposed_features/Bridge_types#Deprecated_bridge_key_values */
413*[bridge=causeway] {
414  throwWarning: tr("{0} is deprecated", "{0.tag}");
415  suggestAlternative: "ford=yes";
416  suggestAlternative: "bridge=low_water_crossing";
417  suggestAlternative: "embankment=yes";
418  group: tr("deprecated tagging");
419}
420*[bridge=swing] {
421  throwWarning: tr("{0} is deprecated", "{0.tag}");
422  suggestAlternative: "bridge:movable=swing";
423  suggestAlternative: "bridge:structure=simple-suspension";
424  group: tr("deprecated tagging");
425}
426*[bridge=suspension] {
427  throwWarning: tr("{0} is deprecated", "{0.tag}");
428  suggestAlternative: "bridge=yes + bridge:structure=suspension";
429  group: tr("deprecated tagging");
430  fixAdd: "bridge=yes";
431  fixAdd: "bridge:structure=suspension";
432}
433*[bridge=pontoon] {
434  throwWarning: tr("{0} is deprecated", "{0.tag}");
435  suggestAlternative: "bridge=yes + bridge:structure=floating";
436  group: tr("deprecated tagging");
437  fixAdd: "bridge=yes";
438  fixAdd: "bridge:structure=floating";
439}
440
441/* See #10530 - Incorrect tag proposed in internal preset for years */
442*[fee=interval],
443*[lit=interval],
444*[supervised=interval] {
445  throwWarning: tr("{0} is deprecated. Please specify interval by using opening_hours syntax", "{0.tag}");
446  group: tr("deprecated tagging");
447}
448
449/* See #10582 - JOSM supported this tag as "don't upload this" feature, before the introduction of upload flag at layer level */
450*[/josm\/ignore/] {
451  throwError: tr("{0} is deprecated. Please delete this object and use a private layer instead", "{0.key}");
452  group: tr("deprecated tagging");
453  fixDeleteObject: this;
454}
455
456/* see #8281 */
457*[sport=diving] {
458  throwWarning: tr("{0} is deprecated", "{0.tag}");
459  suggestAlternative: "sport=scuba_diving";
460  suggestAlternative: "sport=cliff_diving";
461  group: tr("deprecated tagging");
462}
463
464/* see #8281 */
465*[parking=park_and_ride] {
466  throwWarning: tr("{0} is deprecated", "{0.tag}");
467  suggestAlternative: "amenity=parking + park_ride=yes";
468  group: tr("deprecated tagging");
469  fixRemove: "parking";
470  fixAdd: "amenity=parking";
471  fixAdd: "park_ride=yes";
472}
473
474/* see #18334, #17950, #10661, #10837, #11737, #12771 */
475*[manhole=plain],
476*[manhole=unknown],
477*[manhole=yes],
478*[police=yes],
479*[traffic_calming=yes],
480*[access=restricted],
481*[barrier=yes],
482*[aerialway=yes][!public_transport],
483*[amenity=yes],
484*[leisure=yes],
485*[shop="*"],
486*[shop=yes][amenity!=fuel],
487*[craft=yes],
488*[service=yes],
489*[place=yes] {
490  throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by a specific value.", "{0.key}", "{0.value}");
491}
492
493/* see #10693 - http://wiki.openstreetmap.org/wiki/Proposed_features/drop_recommendation_for_place_name , #10837 */
494*[place_name][!name] {
495  throwWarning: tr("{0} should be replaced with {1}", "{0.key}", "{1.key}");
496  fixChangeKey: "place_name => name";
497}
498*[place][place_name = *name] {
499  throwWarning: tr("{0} = {1}; remove {0}", "{1.key}", "{1.value}");
500  fixRemove: "{1.key}";
501}
502
503way[sidewalk=yes] {
504  throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
505}
506
507*[waterway=water_point] {
508  throwWarning: tr("{0} is deprecated", "{0.tag}");
509  suggestAlternative: "amenity=water_point";
510  group: tr("deprecated tagging");
511  fixChangeKey: "waterway => amenity";
512}
513*[waterway=waste_disposal] {
514  throwWarning: tr("{0} is deprecated", "{0.tag}");
515  suggestAlternative: "amenity=waste_disposal";
516  group: tr("deprecated tagging");
517  fixChangeKey: "waterway => amenity";
518}
519*[waterway=mooring] {
520  throwWarning: tr("{0} is deprecated", "{0.tag}");
521  suggestAlternative: "mooring=yes";
522  group: tr("deprecated tagging");
523  fixRemove: "waterway";
524  fixAdd: "mooring=yes";
525}
526
527/* see #10837 */
528*[building][levels],
529*[building:part=yes][levels] {
530  throwWarning: tr("{0} is deprecated", "{1.key}");
531  suggestAlternative: "building:levels";
532  group: tr("deprecated tagging");
533  fixChangeKey: "levels => building:levels";
534}
535
536/* see #10691 */
537*[protected_class] {
538  throwWarning: tr("{0} is deprecated", "{0.key}");
539  suggestAlternative: "protect_class";
540  group: tr("deprecated tagging");
541  fixChangeKey: "protected_class => protect_class";
542}
543
544/* see #11070 */
545*[lock=unknown],
546*[hide=unknown],
547*[shelter=unknown],
548*[access=unknown],
549*[capacity:parent=unknown],
550*[capacity:women=unknown],
551*[capacity:disabled=unknown],
552*[crossing=unknown],
553*[foot=unknown] {
554  throwWarning: tr("Unspecific tag {0}", "{0.tag}");
555}
556
557/* unclear definition, see #11183 */
558*[sport=skiing] {
559  throwWarning: tr("Definition of {0} is unclear", "{0.tag}");
560  suggestAlternative: tr("{0} + {1} + {2}", "piste:type=*", "piste:difficulty=*", "piste:grooming=*");
561  group: tr("deprecated tagging");
562}
563
564/* see #11223 */
565*[waterway=wadi] {
566  throwWarning: tr("{0} is deprecated", "{0.tag}");
567  suggestAlternative: "{0.key}=* + intermittent=yes";
568  suggestAlternative: "natural=valley";
569  group: tr("deprecated tagging");
570}
571
572/* see #10346, #15667 (waterway has its own rules in unnecessary.mapcss) */
573way[oneway=1][!waterway] {
574  throwWarning: tr("{0} is deprecated", "{0.tag}");
575  suggestAlternative: "oneway=yes";
576  group: tr("deprecated tagging");
577  fixAdd: "oneway=yes";
578}
579
580/* see #11329, #15667 */
581way[oneway=-1][!waterway] {
582  throwWarning: tr("{0} is not recommended. Use the Reverse Ways function from the Tools menu.", "{0.tag}");
583}
584
585*[drinkable] {
586  throwWarning: tr("{0} is deprecated", "{0.key}");
587  suggestAlternative: "drinking_water";
588  group: tr("deprecated tagging");
589}
590
591/* see #10329, #15877 */
592  /* simple key change */
593*[color][!colour] {
594  throwWarning: tr("{0} is deprecated", "{0.key}");
595  suggestAlternative: "colour";
596  group: tr("deprecated tagging");
597  fixChangeKey: "color => colour";
598  assertMatch: "way color=red";
599  assertNoMatch: "way color=red colour=red";
600}
601area[building:color][!building:colour] {
602  throwWarning: tr("{0} is deprecated", "{0.key}");
603  suggestAlternative: "building:colour";
604  group: tr("deprecated tagging");
605  fixChangeKey: "building:color => building:colour";
606  assertMatch: "way building:color=red";
607  assertNoMatch: "way building:color=red building:colour=red";
608}
609area[roof:color][!roof:colour] {
610  throwWarning: tr("{0} is deprecated", "{0.key}");
611  suggestAlternative: "roof:colour";
612  group: tr("deprecated tagging");
613  fixChangeKey: "roof:color => roof:colour";
614  assertMatch: "way roof:color=red";
615  assertNoMatch: "way roof:color=red roof:colour=red";
616}
617  /* both tags with same value, remove color */
618*[color][colour][color=*colour] {
619  throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
620  suggestAlternative: "colour";
621  group: tr("deprecated tagging");
622  set samecolor;
623  fixRemove: "color";
624  assertMatch: "way color=red colour=red";
625  assertNoMatch: "way color=red colour=green";
626}
627area[building:color][building:colour]["building:color"=*"building:colour"] {
628  throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
629  suggestAlternative: "building:colour";
630  group: tr("deprecated tagging");
631  set samebuildingcolor;
632  fixRemove: "building:color";
633  assertMatch: "way building:color=red building:colour=red";
634  assertNoMatch: "way building:color=red building:colour=green";
635}
636area[roof:color][roof:colour]["roof:color"=*"roof:colour"] {
637  throwWarning: tr("{0} together with {1}", "{0.key}", "{1.key}");
638  suggestAlternative: "roof:colour";
639  group: tr("deprecated tagging");
640  set sameroofcolor;
641  fixRemove: "roof:color";
642  assertMatch: "way roof:color=red roof:colour=red";
643  assertNoMatch: "way roof:color=red roof:colour=green";
644}
645  /* both tags with different values, no autofix */
646*[color][colour]!.samecolor {
647  throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
648  suggestAlternative: "colour";
649  group: tr("deprecated tagging");
650  assertNoMatch: "way color=red colour=red";
651  assertMatch: "way color=red colour=green";
652}
653*[building:color][building:colour]!.samebuildingcolor {
654  throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
655  suggestAlternative: "building:colour";
656  group: tr("deprecated tagging");
657  assertNoMatch: "way building:color=red building:colour=red";
658  assertMatch: "way building:color=red building:colour=green";
659}
660*[roof:color][roof:colour]!.sameroofcolor {
661  throwWarning: tr("{0} together with {1} and conflicting values", "{0.key}", "{1.key}");
662  suggestAlternative: "roof:colour";
663  group: tr("deprecated tagging");
664  assertNoMatch: "way roof:color=red roof:colour=red";
665  assertMatch: "way roof:color=red roof:colour=green";
666}
667/* further more universal checks, no autofix */
668/* gpxd:color has another warning in unnecessary.mapcss */ 
669*[/:color/][!building:color][!roof:color][!gpxd:color] {
670  throwWarning: tr("{0} is deprecated", "{0.key}");
671  suggestAlternative: ":colour";
672  group: tr("deprecated tagging");
673  assertNoMatch: "way color=red";
674  assertNoMatch: "way roof:color=grey";
675  assertMatch: "way cycleway:surface:color=grey";
676}
677*[/color:/]  {
678  throwWarning: tr("{0} is deprecated", "{0.key}");
679  suggestAlternative: "colour:";
680  group: tr("deprecated tagging");
681  assertNoMatch: "way color=red";
682  assertMatch: "way color:back=grey";
683}
684
685/* see #11234 */
686*[/=|\+|\/|&|<|>|;|'|"|%|#|@|\\|,|\.|\{|\}|\?|\*|\^|\$/] {
687  throwWarning: tr("{0}", "{0.key}");
688  group: tr("key with uncommon character");
689}
690
691/* see #11330 */
692*[/^.$/],
693node[/^..$/],
694way[/^..$/],
695relation[/^..$/][!to] {
696  throwWarning: tr("uncommon short key");
697  assertNoMatch: "relation to=Berlin";
698  assertMatch: "relation fo=bar";
699  assertMatch: "way to=bar";
700  assertMatch: "node fo=bar";
701  assertMatch: "node f=b";
702}
703
704/* see #11439 */
705*[sport=hockey] {
706  throwWarning: tr("{0} is deprecated", "{0.tag}");
707  suggestAlternative: "sport=field_hockey";
708  suggestAlternative: "sport=ice_hockey";
709  group: tr("deprecated tagging");
710}
711
712/* see #11471 */
713*[sport=billard],
714*[sport=billards],
715*[sport=billiard] {
716  throwWarning: tr("{0} is deprecated", "{0.tag}");
717  suggestAlternative: "sport=billiards";
718  group: tr("deprecated tagging");
719  fixAdd: "sport=billiards";
720}
721
722/* see #11499, #16928 */
723*[payment:credit_cards=yes] {
724  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");
725}
726*[payment:debit_cards=yes] {
727  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");
728}
729*[payment:electronic_purses=yes] {
730  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");
731}
732*[payment:cryptocurrencies=yes] {
733  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");
734}
735
736/* defunct payment cards */
737*[payment:ep_quick],
738*[payment:ep_cash],
739*[payment:ep_proton],
740*[payment:ep_chipknip] {
741  throwWarning: tr("{0} is deprecated", "{0.key}");
742  group: tr("deprecated tagging");
743  fixRemove: "{0.key}";
744}
745
746/* see #8717 */
747*[kp][highway=milestone],
748*[kp][railway=milestone],
749*[kp][waterway=milestone] {
750  throwWarning: tr("{0} is deprecated", "{0.key}");
751  suggestAlternative: "distance";
752  group: tr("deprecated tagging");
753  fixChangeKey: "kp => distance";
754}
755*[pk][highway=milestone],
756*[pk][railway=milestone],
757*[pk][waterway=milestone] {
758  throwWarning: tr("{0} is deprecated", "{0.key}");
759  suggestAlternative: "distance";
760  group: tr("deprecated tagging");
761  fixChangeKey: "pk => distance";
762}
763
764*[postcode] {
765  throwWarning: tr("{0} is deprecated", "{0.key}");
766  suggestAlternative: "addr:postcode";
767  group: tr("deprecated tagging");
768  suggestAlternative: "postal_code";
769}
770
771*[water=intermittent] {
772  throwWarning: tr("{0} is deprecated", "{0.tag}");
773  suggestAlternative: "intermittent=yes";
774  group: tr("deprecated tagging");
775  fixRemove: "water";
776  fixAdd: "intermittent=yes";
777}
778
779/* #10907, #14141 */
780/* 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 */
781way[type][type!=waterway][man_made=pipeline],
782node[type][pipeline=marker] {
783  throwWarning: tr("{0} is deprecated", "{0.key}");
784  suggestAlternative: "substance";
785  group: tr("deprecated tagging");
786  fixChangeKey: "type => substance";
787}
788
789*[landuse=farm] {
790  throwWarning: tr("{0} is deprecated", "{0.tag}");
791  suggestAlternative: "landuse=farmland";
792  suggestAlternative: "landuse=farmyard";
793  group: tr("deprecated tagging");
794}
795
796/* #12135 comment:11 */
797*[seamark=buoy]["seamark:type"=~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
798  throwWarning: tr("{0} is deprecated", "{0.tag}");
799  suggestAlternative: "{1.tag}";
800  group: tr("deprecated tagging");
801  fixRemove: "seamark";
802}
803*[seamark=buoy]["seamark:type"!~/^(buoy_cardinal|buoy_installation|buoy_isolated_danger|buoy_lateral|buoy_safe_water|buoy_special_purpose|mooring)$/] {
804  throwWarning: tr("{0} is deprecated", "{0.tag}");
805  suggestAlternative: "{1.tag}";
806  group: tr("deprecated tagging");
807}
808/* #12135 - Tag removed rom rendering https://github.com/gravitystorm/openstreetmap-carto/pull/1830 */
809*[landuse=conservation] {
810  throwWarning: tr("{0} is deprecated", "{0.tag}");
811  suggestAlternative: "boundary=protected_area";
812  group: tr("deprecated tagging");
813  fixAdd: "boundary=protected_area";
814  fixRemove: "landuse";
815}
816
817/* #12205 */
818*[amenity=kiosk] {
819  throwWarning: tr("{0} is deprecated", "{0.tag}");
820  suggestAlternative: "shop=kiosk";
821  group: tr("deprecated tagging");
822  fixChangeKey: "amenity => shop";
823}
824*[amenity=shop] {
825  throwWarning: tr("{0} is deprecated", "{0.tag}");
826  suggestAlternative: "shop=*";
827  group: tr("deprecated tagging");
828}
829*[shop=fishmonger] {
830  throwWarning: tr("{0} is deprecated", "{0.tag}");
831  suggestAlternative: "shop=seafood";
832  group: tr("deprecated tagging");
833  fixAdd: "shop=seafood";
834}
835*[shop=fish] {
836  throwWarning: tr("{0} is deprecated", "{0.tag}");
837  suggestAlternative: "shop=seafood";
838  suggestAlternative: "shop=pet";
839  suggestAlternative: "shop=fishing";
840  group: tr("deprecated tagging");
841}
842*[shop=betting] {
843  throwWarning: tr("{0} is deprecated", "{0.tag}");
844  suggestAlternative: "shop=bookmaker";
845  suggestAlternative: "shop=lottery";
846  suggestAlternative: "amenity=casino";
847  suggestAlternative: "leisure=amusement_arcade";
848  suggestAlternative: "leisure=adult_gaming_centre";
849  suggestAlternative: "amenity=gambling";
850  group: tr("deprecated tagging");
851}
852*[shop=perfume] {
853  throwWarning: tr("{0} is deprecated", "{0.tag}");
854  suggestAlternative: "shop=perfumery";
855  group: tr("deprecated tagging");
856  fixAdd: "shop=perfumery";
857}
858*[amenity=exercise_point] {
859  throwWarning: tr("{0} is deprecated", "{0.tag}");
860  suggestAlternative: "leisure=fitness_station";
861  group: tr("deprecated tagging");
862  fixAdd: "leisure=fitness_station";
863  fixRemove: "amenity";
864}
865*[shop=auto_parts] {
866  throwWarning: tr("{0} is deprecated", "{0.tag}");
867  suggestAlternative: "shop=car_parts";
868  group: tr("deprecated tagging");
869  fixAdd: "shop=car_parts";
870}
871*[amenity=car_repair] {
872  throwWarning: tr("{0} is deprecated", "{0.tag}");
873  suggestAlternative: "shop=car_repair";
874  group: tr("deprecated tagging");
875  fixChangeKey: "amenity => shop";
876}
877
878/* #12311 */
879*[amenity=studio][type=audio],
880*[amenity=studio][type=radio],
881*[amenity=studio][type=television],
882*[amenity=studio][type=video] {
883  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
884  suggestAlternative: "studio";
885  group: tr("deprecated tagging");
886  fixChangeKey: "type => studio";
887}
888
889/* #11507, #12297, #15409 */
890*[power=cable_distribution_cabinet] {
891  throwWarning: tr("{0} is deprecated", "{0.tag}");
892  suggestAlternative: "man_made=street_cabinet + street_cabinet=*";
893  group: tr("deprecated tagging");
894  fixAdd: "man_made=street_cabinet";
895  fixRemove: "power";
896}
897
898/* #16430 */
899*[power][location=kiosk] {
900  throwWarning: tr("{0} is deprecated", "{1.tag}");
901  group: tr("deprecated tagging");
902  fixAdd: "man_made=street_cabinet";
903  fixAdd: "street_cabinet=power";
904  fixRemove: "location";
905}
906
907/* #12276 */
908*[man_made=well] {
909  throwWarning: tr("{0} is deprecated", "{0.tag}");
910  suggestAlternative: "man_made=water_well";
911  suggestAlternative: "man_made=petroleum_well";
912  group: tr("deprecated tagging");
913}
914*[amenity=dog_bin],
915*[amenity=dog_waste_bin] {
916  throwWarning: tr("{0} is deprecated", "{0.tag}");
917  suggestAlternative: "amenity=waste_basket + waste=dog_excrement + vending=excrement_bags";
918  group: tr("deprecated tagging");
919  fixAdd: "amenity=waste_basket";
920  fixAdd: "waste=dog_excrement";
921  fixAdd: "vending=excrement_bags";
922}
923*[amenity=artwork] {
924  throwWarning: tr("{0} is deprecated", "{0.tag}");
925  suggestAlternative: "tourism=artwork";
926  group: tr("deprecated tagging");
927  fixAdd: "tourism=artwork";
928  fixRemove: "amenity";
929}
930*[amenity=community_center] {
931  throwWarning: tr("{0} is deprecated", "{0.tag}");
932  suggestAlternative: "amenity=community_centre";
933  group: tr("deprecated tagging");
934  fixAdd: "amenity=community_centre";
935}
936*[man_made=cut_line] {
937  throwWarning: tr("{0} is deprecated", "{0.tag}");
938  suggestAlternative: "man_made=cutline";
939  group: tr("deprecated tagging");
940  fixAdd: "man_made=cutline";
941}
942*[amenity=park] {
943  throwWarning: tr("{0} is deprecated", "{0.tag}");
944  suggestAlternative: "leisure=park";
945  group: tr("deprecated tagging");
946  fixAdd: "leisure=park";
947  fixRemove: "amenity";
948}
949*[amenity=hotel] {
950  throwWarning: tr("{0} is deprecated", "{0.tag}");
951  suggestAlternative: "tourism=hotel";
952  group: tr("deprecated tagging");
953  fixAdd: "tourism=hotel";
954  fixRemove: "amenity";
955}
956*[shop=window],
957*[shop=windows] {
958  throwWarning: tr("{0} is deprecated", "{0.tag}");
959  suggestAlternative: "craft=window_construction";
960  group: tr("deprecated tagging");
961  fixAdd: "craft=window_construction";
962  fixRemove: "shop";
963}
964*[amenity=education] {
965  throwWarning: tr("{0} is deprecated", "{0.tag}");
966  suggestAlternative: "amenity=college";
967  suggestAlternative: "amenity=school";
968  suggestAlternative: "amenity=university";
969  group: tr("deprecated tagging");
970}
971*[shop=gallery] {
972  throwWarning: tr("{0} is deprecated", "{0.tag}");
973  suggestAlternative: "shop=art";
974  group: tr("deprecated tagging");
975  fixAdd: "shop=art";
976}
977*[shop=gambling],
978*[leisure=gambling] {
979  throwWarning: tr("{0} is deprecated", "{0.tag}");
980  suggestAlternative: "shop=bookmaker";
981  suggestAlternative: "shop=lottery";
982  suggestAlternative: "amenity=casino";
983  suggestAlternative: "leisure=amusement_arcade";
984  suggestAlternative: "amenity=gambling";
985  group: tr("deprecated tagging");
986}
987*[office=real_estate],
988*[office=real_estate_agent] {
989  throwWarning: tr("{0} is deprecated", "{0.tag}");
990  suggestAlternative: "office=estate_agent";
991  group: tr("deprecated tagging");
992  fixAdd: "office=estate_agent";
993}
994*[shop=glass] {
995  throwWarning: tr("{0} is deprecated", "{0.tag}");
996  suggestAlternative: "shop=glaziery";
997  suggestAlternative: "craft=glaziery";
998  group: tr("deprecated tagging");
999}
1000*[amenity=proposed],
1001*[amenity=proposed],
1002*[amenity=disused],
1003*[shop=disused],
1004*[highway=abandoned],
1005*[historic=abandoned] {
1006  throwWarning: tr("{0} is deprecated. Use the {1}: key prefix instead.", "{0.tag}", "{0.value}");
1007  group: tr("deprecated tagging");
1008}
1009
1010/* #12431 */
1011*[amenity=swimming_pool] {
1012  throwWarning: tr("{0} is deprecated", "{0.tag}");
1013  suggestAlternative: "leisure=swimming_pool";
1014  group: tr("deprecated tagging");
1015  fixChangeKey: "amenity => leisure";
1016}
1017
1018/* #17379 */
1019*[amenity=sauna] {
1020  throwWarning: tr("{0} is deprecated", "{0.tag}");
1021  suggestAlternative: "leisure=sauna";
1022  group: tr("deprecated tagging");
1023  fixChangeKey: "amenity => leisure";
1024}
1025
1026/* #12494, #17554 */
1027*[/^[^t][^i][^g].+_[0-9]$/][!/^note_[0-9]$/][!/^description_[0-9]$/] {
1028  throwWarning: tr("{0}", "{0.key}");
1029  group: tr("questionable key (ending with a number)");
1030  assertMatch: "way name_1=foo";
1031  assertNoMatch: "way note_2=foo";
1032  assertNoMatch: "way description_3=foo";
1033  assertNoMatch: "way tiger:name_base_1=bar"; /*should not warn for key tiger:name_base_1 */
1034}
1035
1036/* #12500 */
1037*[sport=skating] {
1038  throwWarning: tr("{0} is deprecated", "{0.tag}");
1039  suggestAlternative: "sport=ice_skating";
1040  suggestAlternative: "sport=roller_skating";
1041  group: tr("deprecated tagging");
1042}
1043
1044way[barrier=wall][type=noise_barrier][!wall],
1045way[barrier=wall][type=noise_barrier][wall=noise_barrier] {
1046  throwWarning: tr("{0} is deprecated", "{1.tag}");
1047  suggestAlternative: "wall=noise_barrier";
1048  group: tr("deprecated tagging");
1049  fixChangeKey: "type => wall";
1050}
1051way[barrier=wall][type=noise_barrier][wall][wall!=noise_barrier] {
1052  throwWarning: tr("{0} is deprecated", "{1.tag}");
1053  suggestAlternative: "wall=noise_barrier";
1054  group: tr("deprecated tagging");
1055}
1056
1057/* #8978, 12588 */
1058*[amenity=public_building] {
1059  throwWarning: tr("{0} is deprecated", "{0.tag}");
1060  suggestAlternative: "amenity=townhall";
1061  suggestAlternative: "amenity=community_centre";
1062  suggestAlternative: "amenity=hospital";
1063  suggestAlternative: "leisure=sports_centre";
1064  suggestAlternative: "office=government";
1065  suggestAlternative: "building=hospital";
1066  suggestAlternative: "building=public";
1067  suggestAlternative: "...";
1068  group: tr("deprecated tagging");
1069}
1070
1071*[office=administrative] {
1072  throwWarning: tr("{0} is deprecated", "{0.tag}");
1073  group: tr("deprecated tagging");
1074  suggestAlternative: "office=government";
1075}
1076
1077/* #12708 */
1078*[vending=news_papers] {
1079  throwWarning: tr("{0} is deprecated", "{0.tag}");
1080  suggestAlternative: "vending=newspapers";
1081  group: tr("deprecated tagging");
1082  fixAdd: "vending=newspapers";
1083}
1084
1085/* #12771 */
1086*[service=drive_through] {
1087  throwWarning: tr("{0} is deprecated", "{0.tag}");
1088  suggestAlternative: "service=drive-through";
1089  group: tr("deprecated tagging");
1090  fixAdd: "service=drive-through";
1091}
1092
1093/* #12771 */
1094way[highway=service][service][service !~ /^(alley|drive-through|drive_through|driveway|emergency_access|parking_aisle|rest_area|slipway|yes)$/], /* drive_through and yes have special warnings */
1095way[railway=rail][service][service !~ /^(crossover|siding|spur|yard)$/],
1096way[waterway=canal][service][service !~ /^(irrigation|transportation|water_power)$/] {
1097  throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
1098}
1099
1100/* #13008 */
1101*[name:botanical] {
1102  throwWarning: tr("{0} is deprecated", "{0.key}");
1103  suggestAlternative: "species";
1104  group: tr("deprecated tagging");
1105}
1106
1107/* #11344, #13101, #15480 */
1108node[pole=air_to_ground],
1109node[pole=transition] {
1110  throwWarning: tr("{0} is deprecated", "{0.tag}");
1111  suggestAlternative: "location:transition=yes";
1112  group: tr("deprecated tagging");
1113  fixAdd: "location:transition=yes";
1114  fixRemove: "pole";
1115}
1116node[tower=air_to_ground],
1117node[tower=transition] {
1118  throwWarning: tr("{0} is deprecated", "{0.tag}");
1119  suggestAlternative: "location:transition=yes";
1120  group: tr("deprecated tagging");
1121  fixAdd: "location:transition=yes";
1122  fixRemove: "tower";
1123}
1124
1125/* #13138 */
1126area[landuse=pond] {
1127  throwWarning: tr("{0} is deprecated", "{0.tag}");
1128  suggestAlternative: "natural=water + water=pond";
1129  group: tr("deprecated tagging");
1130  fixAdd: "natural=water";
1131  fixAdd: "water=pond";
1132  fixRemove: "landuse";
1133}
1134
1135*[shop=souvenir],
1136*[shop=souvenirs],
1137*[shop=souveniers] {
1138  throwWarning: tr("{0} is deprecated", "{0.tag}");
1139  suggestAlternative: "shop=gift";
1140  group: tr("deprecated tagging");
1141  fixAdd: "shop=gift";
1142}
1143
1144*[vending=animal_food] {
1145  throwWarning: tr("{0} is deprecated", "{0.tag}");
1146  suggestAlternative: "vending=animal_feed";
1147  group: tr("deprecated tagging");
1148  fixAdd: "vending=animal_feed";
1149}
1150
1151/* #14376 */
1152node[vending=photos][amenity=vending_machine],
1153node[vending=photo][amenity=vending_machine] {
1154  throwWarning: tr("{0} is deprecated", "{0.tag}");
1155  suggestAlternative: "amenity=photo_booth";
1156  group: tr("deprecated tagging");
1157  fixRemove: "vending";
1158  fixAdd: "amenity=photo_booth";
1159
1160}
1161node[vending=photos][amenity!=vending_machine] {
1162  throwWarning: tr("{0} is deprecated", "{0.tag}");
1163  suggestAlternative: "amenity=photo_booth";
1164  group: tr("deprecated tagging");
1165}
1166
1167/* #13653 */
1168node[highway=emergency_access_point][phone][!emergency_telephone_code],
1169way[highway=emergency_access_point][phone][!emergency_telephone_code] {
1170  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1171  suggestAlternative: "emergency_telephone_code";
1172  group: tr("deprecated tagging");
1173  fixChangeKey: "phone => emergency_telephone_code";
1174  assertMatch:   "node highway=emergency_access_point phone=123";
1175  assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=456";
1176  assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=456";
1177  assertNoMatch: "node phone=123";
1178}
1179node[highway=emergency_access_point][phone=*emergency_telephone_code],
1180way[highway=emergency_access_point][phone=*emergency_telephone_code] {
1181  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1182  suggestAlternative: "emergency_telephone_code";
1183  group: tr("deprecated tagging");
1184  fixRemove: "phone";
1185  assertNoMatch: "node highway=emergency_access_point phone=123";
1186  assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
1187  assertMatch:   "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
1188}
1189node[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code],
1190way[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code] {
1191  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1192  suggestAlternative: "emergency_telephone_code";
1193  group: tr("deprecated tagging");
1194  assertNoMatch: "node highway=emergency_access_point phone=123";
1195  assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
1196  assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
1197}
1198
1199/* #13879 */
1200way[tracktype=1] {
1201  throwError: tr("{0}", "{0.tag}");
1202  suggestAlternative: "tracktype=grade1";
1203  group: tr("misspelled value");
1204  fixAdd: "tracktype=grade1";
1205}
1206way[tracktype=2] {
1207  throwError: tr("{0}", "{0.tag}");
1208  suggestAlternative: "tracktype=grade2";
1209  group: tr("misspelled value");
1210  fixAdd: "tracktype=grade2";
1211}
1212way[tracktype=3] {
1213  throwError: tr("{0}", "{0.tag}");
1214  suggestAlternative: "tracktype=grade3";
1215  group: tr("misspelled value");
1216  fixAdd: "tracktype=grade3";
1217}
1218way[tracktype=4] {
1219  throwError: tr("{0}", "{0.tag}");
1220  suggestAlternative: "tracktype=grade4";
1221  group: tr("misspelled value");
1222  fixAdd: "tracktype=grade4";
1223}
1224way[tracktype=5] {
1225  throwError: tr("{0}", "{0.tag}");
1226  suggestAlternative: "tracktype=grade5";
1227  group: tr("misspelled value");
1228  fixAdd: "tracktype=grade5";
1229}
1230way[tracktype][tracktype!~/^(1|2|3|4|5|grade1|grade2|grade3|grade4|grade5)$/] {
1231  throwError: tr("wrong value: {0}", "{0.tag}");
1232  suggestAlternative: "tracktype=grade1";
1233  suggestAlternative: "tracktype=grade2";
1234  suggestAlternative: "tracktype=grade3";
1235  suggestAlternative: "tracktype=grade4";
1236  suggestAlternative: "tracktype=grade5";
1237}
1238
1239area[area][area!=yes][area!=no] {
1240  throwError: tr("wrong value: {0}", "{0.tag}");
1241  suggestAlternative: "area=yes";
1242  suggestAlternative: "area=no";
1243}
1244
1245/* #13953 */
1246*[amenity=hunting_stand][lock=yes],
1247*[amenity=hunting_stand][lock=no] {
1248  throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1249  suggestAlternative: "lockable";
1250  group: tr("deprecated tagging");
1251  fixChangeKey: "lock => lockable";
1252}
1253
1254*[amenity=advertising][!advertising] {
1255  throwWarning: tr("{0} is deprecated", "{0.tag}");
1256  suggestAlternative: "advertising=*";
1257  group: tr("deprecated tagging");
1258}
1259*[amenity=advertising][advertising] {
1260  throwWarning: tr("{0} is deprecated", "{0.tag}");
1261  suggestAlternative: "advertising=*";
1262  group: tr("deprecated tagging");
1263  fixRemove: "amenity";
1264}
1265
1266way[direction=up][incline=up],
1267way[direction=down][incline=down],
1268way[direction=up][!incline],
1269way[direction=down][!incline] {
1270  throwWarning: tr("{0} is deprecated", "{0.tag}");
1271  suggestAlternative: "incline";
1272  group: tr("deprecated tagging");
1273  fixChangeKey: "direction => incline";
1274}
1275way[direction=up][incline][incline!=up],
1276way[direction=down][incline][incline!=down] {
1277  throwWarning: tr("{0} is deprecated", "{0.tag}");
1278  suggestAlternative: "incline";
1279  group: tr("deprecated tagging");
1280}
1281
1282*[building=true],
1283*[building="*"],
1284*[building=Y],
1285*[building=y],
1286*[building=1] {
1287  throwError: tr("{0}", "{0.tag}");
1288  suggestAlternative: "building=yes";
1289  group: tr("misspelled value");
1290  fixAdd: "building=yes";
1291}
1292
1293/* #17786 */
1294*[building=abandoned],
1295*[building=address],
1296*[building=bing],
1297*[building=collapsed],
1298*[building=damaged],
1299*[building=demolished],
1300*[building=disused],
1301*[building=fixme],
1302*[building=occupied],
1303*[building=other],
1304*[building=razed],
1305*[building=unclassified],
1306*[building=undefined],
1307*[building=unknown],
1308*[building=unidentified] {
1309  throwWarning: tr("{0} is not a building type.", "{0.tag}");
1310  group: tr("deprecated tagging");
1311}
1312
1313/* #15675 */
1314node[power=transformer][location=pole][transformer] {
1315  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
1316  group: tr("deprecated tagging");
1317  fixChangeKey: "location => power";
1318}
1319node[power=transformer][location=pole][!transformer] {
1320  throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
1321  group: tr("deprecated tagging");
1322  fixChangeKey: "location => power";
1323  fixAdd: "transformer=yes";
1324}
1325
1326node[tourism=picnic_table],
1327node[amenity=picnic_table],
1328node[leisure=picnic],
1329node[leisure=picnic_site] {
1330  throwWarning: tr("{0} is deprecated", "{0.tag}");
1331  suggestAlternative: "tourism=picnic_site";
1332  suggestAlternative: "leisure=picnic_table";
1333  group: tr("deprecated tagging");
1334}
1335
1336/* #15804 */
1337relation[water=salt],
1338way[water=salt],
1339way[water=salt_pool],
1340way[water=salt_panne],
1341way[water=salt_pond] {
1342  throwWarning: tr("{0} is deprecated", "{0.tag}");
1343  suggestAlternative: "salt=yes";
1344  suggestAlternative: "landuse=salt_pond";
1345  group: tr("deprecated tagging");
1346}
1347
1348/* #15805 */
1349way[water=tidal] {
1350  throwWarning: tr("{0} is deprecated", "{0.tag}");
1351  suggestAlternative: "tidal=yes";
1352  fixAdd: "tidal=yes";
1353  fixRemove: "water";
1354  group: tr("deprecated tagging");
1355}
1356
1357*[amenity=toilet] {
1358  throwError: tr("{0}", "{0.tag}");
1359  suggestAlternative: "amenity=toilets";
1360  group: tr("misspelled value");
1361  fixAdd: "amenity=toilets";
1362}
1363
1364way[power=busbar] {
1365  throwWarning: tr("{0} is deprecated", "{0.tag}");
1366  suggestAlternative: "power=line + line=busbar";
1367  group: tr("deprecated tagging");
1368  fixAdd: "power=line";
1369  fixAdd: "line=busbar";
1370}
1371
1372/* #16924 */
1373*[man_made=MDF],
1374*[man_made=telephone_exchange] {
1375  throwWarning: tr("{0} is deprecated", "{0.tag}");
1376  suggestAlternative: "telecom=exchange";
1377  fixAdd: "telecom=exchange";
1378  fixRemove: "man_made";
1379  group: tr("deprecated tagging");
1380}
1381*[building=central_office] {
1382  throwWarning: tr("{0} is deprecated", "{0.tag}");
1383  suggestAlternative: "telecom=exchange";
1384  fixAdd: "telecom=exchange";
1385  fixAdd: "building=yes";
1386  group: tr("deprecated tagging");
1387}
1388*[telecom=central_office] {
1389  throwWarning: tr("{0} is deprecated", "{0.tag}");
1390  suggestAlternative: "telecom=exchange";
1391  fixAdd: "telecom=exchange";
1392  group: tr("deprecated tagging");
1393}
1394
1395/* #16925 */
1396node[communication=outdoor_dslam],
1397node[man_made=outdoor_dslam],
1398node[street_cabinet=outdoor_dslam] {
1399  throwWarning: tr("{0} is deprecated", "{0.tag}");
1400  suggestAlternative: "telecom=service_device";
1401  fixAdd: "telecom=service_device";
1402  fixRemove: "{0.key}";
1403  group: tr("deprecated tagging");
1404}
1405node[telecom=dslam],
1406node[telecom=outdoor_dslam] {
1407  throwWarning: tr("{0} is deprecated", "{0.tag}");
1408  suggestAlternative: "telecom=service_device";
1409  fixAdd: "telecom=service_device";
1410  group: tr("deprecated tagging");
1411}
1412
1413/* #15774 */
1414node[amenity=fire_hydrant] {
1415  throwWarning: tr("{0} is deprecated", "{0.tag}");
1416  suggestAlternative: "emergency=fire_hydrant";
1417  fixChangeKey: "amenity => emergency";
1418  group: tr("deprecated tagging");
1419}
1420node[fire_hydrant:type=pond] {
1421  throwWarning: tr("{0} is deprecated", "{0.tag}");
1422  suggestAlternative: "water_source=pond";
1423  fixAdd: "water_source=pond";
1424  fixRemove: "{0.key}";
1425  group: tr("deprecated tagging");
1426}
1427node[fire_hydrant:flow_capacity] {
1428  throwWarning: tr("{0} is deprecated", "{0.key}");
1429  suggestAlternative: "flow_rate";
1430  group: tr("deprecated tagging");
1431}
1432node[emergency=fire_hydrant][in_service=no] {
1433  throwWarning: tr("{0} is deprecated", "{1.tag}");
1434  suggestAlternative: "disused:emergency=fire_hydrant";
1435  fixAdd: "disused:emergency=fire_hydrant";
1436  fixRemove: "{1.key}";
1437  fixRemove: "{0.key}";
1438  group: tr("deprecated tagging");
1439}
1440node[fire_hydrant:water_source] {
1441  throwWarning: tr("{0} is deprecated", "{0.key}");
1442  suggestAlternative: "water_source";
1443  fixChangeKey: "fire_hydrant:water_source => water_source";
1444  group: tr("deprecated tagging");
1445}
1446
1447/* #17383 */
1448*[natural=waterfall] {
1449  throwWarning: tr("{0} is deprecated", "{0.tag}");
1450  suggestAlternative: "waterway=waterfall";
1451  fixChangeKey: "natural => waterway";
1452  group: tr("deprecated tagging");
1453}
1454
1455/* #17249 */
1456*[religion=unitarian] {
1457  throwWarning: tr("{0} is deprecated", "{0.tag}");
1458  suggestAlternative: "religion=unitarian_universalist";
1459  fixAdd: "religion=unitarian_universalist";
1460  group: tr("deprecated tagging");
1461}
1462
1463*[shop=shopping_centre] {
1464  throwWarning: tr("{0} is deprecated", "{0.tag}");
1465  suggestAlternative: "shop=mall";
1466  fixAdd: "shop=mall";
1467  group: tr("deprecated tagging");
1468}
1469
1470/* #17504 */
1471*[is_in],
1472node[/^is_in:.*$/],
1473way[/^is_in:.*$/] {
1474  throwWarning: tr("{0} is deprecated", "{0.key}");
1475  group: tr("deprecated tagging");
1476  fixRemove: "{0.key}";
1477}
1478
1479/* #17593 */
1480*[sport=football] {
1481  throwWarning: tr("{0} is deprecated", "{0.tag}");
1482  suggestAlternative: "sport=soccer";
1483  suggestAlternative: "sport=american_football";
1484  suggestAlternative: "sport=australian_football";
1485  suggestAlternative: "sport=canadian_football";
1486  suggestAlternative: "sport=rugby_league";
1487  suggestAlternative: "sport=rugby_union";
1488  suggestAlternative: "sport=gaelic_games";
1489  group: tr("deprecated tagging");
1490}
1491
1492/* #17556 */
1493*[leisure=common] {
1494  throwWarning: tr("{0} is deprecated", "{0.tag}");
1495  suggestAlternative: "landuse=*";
1496  suggestAlternative: "leisure=*";
1497  suggestAlternative: "designation=common";
1498  group: tr("deprecated tagging");
1499}
1500
1501/* #17043 */
1502*[cuisine=vegan],
1503*[cuisine=vegetarian] {
1504  throwWarning: tr("{0} is deprecated", "{0.tag}");
1505  suggestAlternative: concat("diet:", "{0.value}", "=yes");
1506  suggestAlternative: concat("diet:", "{0.value}", "=only");
1507  group: tr("deprecated tagging");
1508}
1509
1510/* #17798 */
1511*[kitchen_hours] {
1512  throwWarning: tr("{0} is deprecated", "{0.key}");
1513  suggestAlternative: "opening_hours:kitchen";
1514  fixChangeKey: "kitchen_hours => opening_hours:kitchen";
1515  group: tr("deprecated tagging");
1516}
1517
1518/* #17681 */
1519*[shop=money_transfer] {
1520  throwWarning: tr("{0} is deprecated", "{0.tag}");
1521  suggestAlternative: "amenity=money_transfer";
1522  fixChangeKey: "shop => amenity";
1523  group: tr("deprecated tagging");
1524}
1525
1526*[contact:google_plus] {
1527  throwWarning: tr("{0} is deprecated", "{0.key}");
1528  fixRemove: "contact:google_plus";
1529  group: tr("deprecated tagging");
1530}
1531
1532/* #17370  */
1533*[amenity=garages],
1534*[amenity=garage] {
1535  throwWarning: tr("{0} is deprecated", "{0.tag}");
1536  suggestAlternative: concat("building=", "{0.value}");
1537  suggestAlternative: "landuse=garages";
1538  suggestAlternative: "amenity=parking + parking=garage_boxes";
1539  group: tr("deprecated tagging");
1540}
1541*[shop=winery],
1542*[amenity=winery] {
1543  throwWarning: tr("{0} is deprecated", "{0.tag}");
1544  suggestAlternative: "craft=winery";
1545  suggestAlternative: "shop=wine";
1546  group: tr("deprecated tagging");
1547}
1548*[amenity=youth_centre] {
1549  throwWarning: tr("{0} is deprecated", "{0.tag}");
1550  suggestAlternative: "amenity=community_centre + community_centre=youth_centre";
1551  fixAdd: "amenity=community_centre";
1552  fixAdd: "community_centre=youth_centre";
1553  group: tr("deprecated tagging");
1554}
1555*[building:type][building=yes],
1556*[building:type][!building] {
1557  throwWarning: tr("{0} is deprecated", "{0.key}");
1558  suggestAlternative: "building";
1559  group: tr("deprecated tagging");
1560  fixChangeKey: "building:type => building";
1561  assertMatch: "way building:type=church";
1562  assertMatch: "way building:type=church building=yes";
1563  assertNoMatch: "way building:type=church building=supermarket";
1564}
1565*[building:type][building][building!=yes] {
1566  throwWarning: tr("{0} is deprecated", "{0.key}");
1567  suggestAlternative: "building";
1568  group: tr("deprecated tagging");
1569  assertNoMatch: "way building:type=church";
1570  assertNoMatch: "way building:type=church building=yes";
1571  assertMatch: "way building:type=church building=supermarket";
1572}
1573*[escalator] {
1574  throwWarning: tr("{0} is deprecated", "{0.key}");
1575  suggestAlternative: "highway=steps + conveying=*";
1576  group: tr("deprecated tagging");
1577}
1578*[fenced] {
1579  throwWarning: tr("{0} is deprecated", "{0.key}");
1580  suggestAlternative: "barrier=fence";
1581  group: tr("deprecated tagging");
1582}
1583*[historic_name][!old_name] {
1584  throwWarning: tr("{0} is deprecated", "{0.key}");
1585  suggestAlternative: "old_name";
1586  group: tr("deprecated tagging");
1587  fixChangeKey: "historic_name => old_name";
1588}
1589*[historic_name][old_name] {
1590  throwWarning: tr("{0} is deprecated", "{0.key}");
1591  suggestAlternative: "old_name";
1592  group: tr("deprecated tagging");
1593}
1594*[landuse=field] {
1595  throwWarning: tr("{0} is deprecated", "{0.tag}");
1596  suggestAlternative: "landuse=farmland";
1597  group: tr("deprecated tagging");
1598  fixAdd: "landuse=farmland";
1599}
1600*[leisure=beach] {
1601  throwWarning: tr("{0} is deprecated", "{0.tag}");
1602  suggestAlternative: "natural=beach";
1603  suggestAlternative: "leisure=beach_resort";
1604  group: tr("deprecated tagging");
1605}
1606*[leisure=club] {
1607  throwWarning: tr("{0} is deprecated", "{0.tag}");
1608  suggestAlternative: "club=*";
1609  group: tr("deprecated tagging");
1610}
1611*[leisure=video_arcade] {
1612  throwWarning: tr("{0} is deprecated", "{0.tag}");
1613  suggestAlternative: "leisure=amusement_arcade";
1614  suggestAlternative: "leisure=adult_gaming_centre";
1615  group: tr("deprecated tagging");
1616}
1617*[man_made=jetty] {
1618  throwWarning: tr("{0} is deprecated", "{0.tag}");
1619  suggestAlternative: "man_made=pier";
1620  group: tr("deprecated tagging");
1621  fixAdd: "man_made=pier";
1622}
1623*[man_made=village_pump] {
1624  throwWarning: tr("{0} is deprecated", "{0.tag}");
1625  suggestAlternative: "man_made=water_well";
1626  group: tr("deprecated tagging");
1627  fixAdd: "man_made=water_well";
1628}
1629*[man_made=water_tank] {
1630  throwWarning: tr("{0} is deprecated", "{0.tag}");
1631  suggestAlternative: "man_made=storage_tank + content=water";
1632  group: tr("deprecated tagging");
1633  fixAdd: "man_made=storage_tank";
1634  fixAdd: "content=water";
1635}
1636*[natural=moor] {
1637  throwWarning: tr("{0} is deprecated", "{0.tag}");
1638  suggestAlternative: "natural=heath";
1639  suggestAlternative: "natural=scrub";
1640  suggestAlternative: "natural=grassland";
1641  suggestAlternative: "natural=wetland";
1642  suggestAlternative: "natural=fell";
1643  suggestAlternative: "natural=tundra";
1644  suggestAlternative: "landuse=meadow + meadow=agricultural";
1645  group: tr("deprecated tagging");
1646}
1647*[noexit=no][!fixme] {
1648  throwWarning: tr("{0} is deprecated", "{0.tag}");
1649  suggestAlternative: "fixme=continue";
1650  group: tr("deprecated tagging");
1651  fixAdd: "fixme=continue";
1652  fixRemove: "noexit";
1653}
1654*[noexit=no][fixme] {
1655  throwWarning: tr("{0} is deprecated", "{0.tag}");
1656  suggestAlternative: "fixme=continue";
1657  group: tr("deprecated tagging");
1658}
1659*[shop=dive] {
1660  throwWarning: tr("{0} is deprecated", "{0.tag}");
1661  suggestAlternative: "shop=scuba_diving";
1662  group: tr("deprecated tagging");
1663  fixAdd: "shop=scuba_diving";
1664}
1665*[shop=furnace] {
1666  throwWarning: tr("{0} is deprecated", "{0.tag}");
1667  suggestAlternative: "shop=fireplace";
1668  suggestAlternative: "craft=plumber";
1669  group: tr("deprecated tagging");
1670}
1671*[sport=paragliding] {
1672  throwWarning: tr("{0} is deprecated", "{0.tag}");
1673  suggestAlternative: "sport=free_flying";
1674  group: tr("deprecated tagging");
1675  fixAdd: "sport=free_flying";
1676}
1677*[tourism=bed_and_breakfast] {
1678  throwWarning: tr("{0} is deprecated", "{0.tag}");
1679  suggestAlternative: "tourism=guest_house + guest_house=bed_and_breakfast";
1680  group: tr("deprecated tagging");
1681  fixAdd: "tourism=guest_house";
1682  fixAdd: "guest_house=bed_and_breakfast";
1683}
1684
1685/* #17880 */
1686*[diaper=yes],
1687*[diaper=no] {
1688  throwWarning: tr("{0} is deprecated", "{0.tag}");
1689  suggestAlternative: concat("changing_table=", "{0.value}");
1690  group: tr("deprecated tagging");
1691  fixChangeKey: "diaper => changing_table";
1692  set diaper_checked;
1693}
1694*[diaper][diaper =~ /^[1-9][0-9]*$/] {
1695  throwWarning: tr("{0} is deprecated", "{0.tag}");
1696  suggestAlternative: concat("changing_table=yes + changing_table:count=", "{0.value}");
1697  group: tr("deprecated tagging");
1698  fixChangeKey: "diaper => changing_table:count";
1699  fixAdd: "changing_table=yes";
1700  set diaper_checked;
1701}
1702*[diaper=room] {
1703  throwWarning: tr("{0} is deprecated", "{0.tag}");
1704  suggestAlternative: "changing_table=room";
1705  suggestAlternative: "changing_table=dedicated_room";
1706  group: tr("deprecated tagging");
1707  set diaper_checked;
1708}
1709*[diaper]!.diaper_checked {
1710  throwWarning: tr("{0} is deprecated", "{0.key}");
1711  suggestAlternative: "changing_table";
1712  group: tr("deprecated tagging");
1713}
1714*[diaper:male=yes] {
1715  throwWarning: tr("{0} is deprecated", "{0.tag}");
1716  suggestAlternative: "changing_table:location=male_toilet";
1717  group: tr("deprecated tagging");
1718  fixAdd: "changing_table:location=male_toilet";
1719  fixRemove: "diaper:male";
1720  set diaper___checked;
1721}
1722*[diaper:female=yes] {
1723  throwWarning: tr("{0} is deprecated", "{0.tag}");
1724  suggestAlternative: "changing_table:location=female_toilet";
1725  group: tr("deprecated tagging");
1726  fixAdd: "changing_table:location=female_toilet";
1727  fixRemove: "diaper:female";
1728  set diaper___checked;
1729}
1730*[diaper:unisex=yes] {
1731  throwWarning: tr("{0} is deprecated", "{0.tag}");
1732  suggestAlternative: "changing_table:location=unisex_toilet";
1733  group: tr("deprecated tagging");
1734  fixAdd: "changing_table:location=unisex_toilet";
1735  fixRemove: "diaper:unisex";
1736  set diaper___checked;
1737}
1738*[diaper:wheelchair=yes],
1739*[diaper:wheelchair=no] {
1740  throwWarning: tr("{0} is deprecated", "{0.tag}");
1741  suggestAlternative: concat("changing_table:wheelchair=", "{0.value}");
1742  group: tr("deprecated tagging");
1743  fixChangeKey: "diaper:wheelchair => changing_table:wheelchair";
1744  set diaper___checked;
1745}
1746*[diaper:fee=yes],
1747*[diaper:fee=no] {
1748  throwWarning: tr("{0} is deprecated", "{0.tag}");
1749  suggestAlternative: concat("changing_table:fee=", "{0.value}");
1750  group: tr("deprecated tagging");
1751  fixChangeKey: "diaper:fee => changing_table:fee";
1752  set diaper___checked;
1753}
1754*[/^diaper:/]!.diaper___checked {
1755  throwWarning: tr("{0} is deprecated", "diaper:*");
1756  suggestAlternative: "changing_table:*";
1757  group: tr("deprecated tagging");
1758}
1759*[changing_table][changing_table!~/^(yes|no|limited)$/] {
1760  throwWarning: tr("wrong value: {0}", "{0.tag}");
1761  suggestAlternative: "changing_table=yes";
1762  suggestAlternative: "changing_table=no";
1763  suggestAlternative: "changing_table=limited";
1764}
1765
1766/* #17990 */
1767*[roof:shape=half_hipped] {
1768  throwWarning: tr("{0} is deprecated", "{0.tag}");
1769  suggestAlternative: "roof:shape=half-hipped";
1770  group: tr("deprecated tagging");
1771  fixAdd: "roof:shape=half-hipped";
1772}
1773
1774/* #18003 */
1775*[bridge_name] {
1776  throwWarning: tr("{0} is deprecated", "{0.key}");
1777  suggestAlternative: "bridge:name";
1778  group: tr("deprecated tagging");
1779  fixChangeKey: "bridge_name => bridge:name";
1780}
1781
1782/* #18007 */
1783*[access=public] {
1784  throwWarning: tr("{0} is deprecated", "{0.tag}");
1785  suggestAlternative: "access=yes";
1786  group: tr("deprecated tagging");
1787  fixAdd: "access=yes";
1788}
1789
1790/* #17330 */
1791*[crossing=island] {
1792  throwWarning: tr("{0} is deprecated", "{0.tag}");
1793  suggestAlternative: "crossing:island=yes";
1794  group: tr("deprecated tagging");
1795  fixRemove: "crossing";
1796  fixAdd: "crossing:island=yes";
1797}
1798
1799/* #18152 */
1800*[recycling:metal] {
1801  throwWarning: tr("{0} is deprecated", "{0.key}");
1802  suggestAlternative: "recycling:scrap_metal";
1803  group: tr("deprecated tagging");
1804  fixChangeKey: "recycling:metal => recycling:scrap_metal";
1805}
1806
1807/* #18154 */
1808*[shop=dog_grooming] {
1809  throwWarning: tr("{0} is deprecated", "{0.tag}");
1810  suggestAlternative: "shop=pet_grooming";
1811  fixAdd: "shop=pet_grooming";
1812  group: tr("deprecated tagging");
1813}
1814
1815/* #17984 */
1816*[tower:type=anchor],
1817*[tower:type=suspension] {
1818  throwWarning: tr("{0} is deprecated", "{0.tag}");
1819  suggestAlternative: concat("line_attachment=", "{0.value}");
1820  fixChangeKey: "tower:type => line_attachment";
1821  group: tr("deprecated tagging");
1822}
1823node[pole:type=anchor],
1824node[pole:type=suspension] {
1825  throwWarning: tr("{0} is deprecated", "{0.tag}");
1826  suggestAlternative: concat("line_attachment=", "{0.value}");
1827  fixChangeKey: "pole:type => line_attachment";
1828  group: tr("deprecated tagging");
1829}
1830
1831/* #18267 */
1832node[man_made=pipeline_marker],
1833node[pipeline=marker],
1834node[power=marker],
1835node[cable=marker] {
1836  throwWarning: tr("{0} is deprecated", "{0.tag}");
1837  suggestAlternative: "marker=* + utility=*";
1838  group: tr("deprecated tagging");
1839}
1840
1841/* #17643 */
1842way[barrier=embankment] {
1843  throwWarning: tr("{0} is deprecated", "{0.tag}");
1844  suggestAlternative: "man_made=embankment";
1845  suggestAlternative: "embankment=yes";
1846  group: tr("deprecated tagging");
1847}
1848
1849/* #18469 */
1850way[landuse=churchyard] {
1851  throwWarning: tr("{0} is deprecated", "{0.tag}");
1852  suggestAlternative: "landuse=religious";
1853  suggestAlternative: "amenity=graveyard";
1854  group: tr("deprecated tagging");
1855}
Note: See TracBrowser for help on using the repository browser.