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

Last change on this file since 15533 was 15533, checked in by Klumbumbus, 5 years ago
  • fix #18343 - don't render man_made=embankment pattern on both sides when used on highway/railway/waterway
  • fix #17643 - deprecate barrier=embankment in favor of man_made=embankment
  • Property svn:eol-style set to native
File size: 56.6 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/* #12708 */
1072*[vending=news_papers] {
1073 throwWarning: tr("{0} is deprecated", "{0.tag}");
1074 suggestAlternative: "vending=newspapers";
1075 group: tr("deprecated tagging");
1076 fixAdd: "vending=newspapers";
1077}
1078
1079/* #12771 */
1080*[service=drive_through] {
1081 throwWarning: tr("{0} is deprecated", "{0.tag}");
1082 suggestAlternative: "service=drive-through";
1083 group: tr("deprecated tagging");
1084 fixAdd: "service=drive-through";
1085}
1086
1087/* #12771 */
1088way[highway=service][service][service !~ /^(alley|drive-through|drive_through|driveway|emergency_access|parking_aisle|rest_area|yes)$/], /* drive_through and yes have special warnings */
1089way[railway=rail][service][service !~ /^(crossover|siding|spur|yard)$/],
1090way[waterway=canal][service][service !~ /^(irrigation|transportation|water_power)$/] {
1091 throwWarning: tr("The key {0} has an uncommon value.", "{1.key}");
1092}
1093
1094/* #13008 */
1095*[name:botanical] {
1096 throwWarning: tr("{0} is deprecated", "{0.key}");
1097 suggestAlternative: "species";
1098 group: tr("deprecated tagging");
1099}
1100
1101/* #11344, #13101, #15480 */
1102node[pole=air_to_ground],
1103node[pole=transition] {
1104 throwWarning: tr("{0} is deprecated", "{0.tag}");
1105 suggestAlternative: "location:transition=yes";
1106 group: tr("deprecated tagging");
1107 fixAdd: "location:transition=yes";
1108 fixRemove: "pole";
1109}
1110node[tower=air_to_ground],
1111node[tower=transition] {
1112 throwWarning: tr("{0} is deprecated", "{0.tag}");
1113 suggestAlternative: "location:transition=yes";
1114 group: tr("deprecated tagging");
1115 fixAdd: "location:transition=yes";
1116 fixRemove: "tower";
1117}
1118
1119/* #13138 */
1120area[landuse=pond] {
1121 throwWarning: tr("{0} is deprecated", "{0.tag}");
1122 suggestAlternative: "natural=water + water=pond";
1123 group: tr("deprecated tagging");
1124 fixAdd: "natural=water";
1125 fixAdd: "water=pond";
1126 fixRemove: "landuse";
1127}
1128
1129*[shop=souvenir],
1130*[shop=souvenirs],
1131*[shop=souveniers] {
1132 throwWarning: tr("{0} is deprecated", "{0.tag}");
1133 suggestAlternative: "shop=gift";
1134 group: tr("deprecated tagging");
1135 fixAdd: "shop=gift";
1136}
1137
1138*[vending=animal_food] {
1139 throwWarning: tr("{0} is deprecated", "{0.tag}");
1140 suggestAlternative: "vending=animal_feed";
1141 group: tr("deprecated tagging");
1142 fixAdd: "vending=animal_feed";
1143}
1144
1145/* #14376 */
1146node[vending=photos][amenity=vending_machine],
1147node[vending=photo][amenity=vending_machine] {
1148 throwWarning: tr("{0} is deprecated", "{0.tag}");
1149 suggestAlternative: "amenity=photo_booth";
1150 group: tr("deprecated tagging");
1151 fixRemove: "vending";
1152 fixAdd: "amenity=photo_booth";
1153
1154}
1155node[vending=photos][amenity!=vending_machine] {
1156 throwWarning: tr("{0} is deprecated", "{0.tag}");
1157 suggestAlternative: "amenity=photo_booth";
1158 group: tr("deprecated tagging");
1159}
1160
1161/* #13653 */
1162node[highway=emergency_access_point][phone][!emergency_telephone_code],
1163way[highway=emergency_access_point][phone][!emergency_telephone_code] {
1164 throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1165 suggestAlternative: "emergency_telephone_code";
1166 group: tr("deprecated tagging");
1167 fixChangeKey: "phone => emergency_telephone_code";
1168 assertMatch: "node highway=emergency_access_point phone=123";
1169 assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=456";
1170 assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=456";
1171 assertNoMatch: "node phone=123";
1172}
1173node[highway=emergency_access_point][phone=*emergency_telephone_code],
1174way[highway=emergency_access_point][phone=*emergency_telephone_code] {
1175 throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1176 suggestAlternative: "emergency_telephone_code";
1177 group: tr("deprecated tagging");
1178 fixRemove: "phone";
1179 assertNoMatch: "node highway=emergency_access_point phone=123";
1180 assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
1181 assertMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
1182}
1183node[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code],
1184way[highway=emergency_access_point][phone][emergency_telephone_code][phone!=*emergency_telephone_code] {
1185 throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1186 suggestAlternative: "emergency_telephone_code";
1187 group: tr("deprecated tagging");
1188 assertNoMatch: "node highway=emergency_access_point phone=123";
1189 assertNoMatch: "node highway=emergency_access_point emergency_telephone_code=123";
1190 assertNoMatch: "node highway=emergency_access_point phone=123 emergency_telephone_code=123";
1191}
1192
1193/* #13879 */
1194way[tracktype=1] {
1195 throwError: tr("{0}", "{0.tag}");
1196 suggestAlternative: "tracktype=grade1";
1197 group: tr("misspelled value");
1198 fixAdd: "tracktype=grade1";
1199}
1200way[tracktype=2] {
1201 throwError: tr("{0}", "{0.tag}");
1202 suggestAlternative: "tracktype=grade2";
1203 group: tr("misspelled value");
1204 fixAdd: "tracktype=grade2";
1205}
1206way[tracktype=3] {
1207 throwError: tr("{0}", "{0.tag}");
1208 suggestAlternative: "tracktype=grade3";
1209 group: tr("misspelled value");
1210 fixAdd: "tracktype=grade3";
1211}
1212way[tracktype=4] {
1213 throwError: tr("{0}", "{0.tag}");
1214 suggestAlternative: "tracktype=grade4";
1215 group: tr("misspelled value");
1216 fixAdd: "tracktype=grade4";
1217}
1218way[tracktype=5] {
1219 throwError: tr("{0}", "{0.tag}");
1220 suggestAlternative: "tracktype=grade5";
1221 group: tr("misspelled value");
1222 fixAdd: "tracktype=grade5";
1223}
1224way[tracktype][tracktype!~/^(1|2|3|4|5|grade1|grade2|grade3|grade4|grade5)$/] {
1225 throwError: tr("wrong value: {0}", "{0.tag}");
1226 suggestAlternative: "tracktype=grade1";
1227 suggestAlternative: "tracktype=grade2";
1228 suggestAlternative: "tracktype=grade3";
1229 suggestAlternative: "tracktype=grade4";
1230 suggestAlternative: "tracktype=grade5";
1231}
1232
1233area[area][area!=yes][area!=no] {
1234 throwError: tr("wrong value: {0}", "{0.tag}");
1235 suggestAlternative: "area=yes";
1236 suggestAlternative: "area=no";
1237}
1238
1239/* #13953 */
1240*[amenity=hunting_stand][lock=yes],
1241*[amenity=hunting_stand][lock=no] {
1242 throwWarning: tr("{0} is deprecated for {1}", "{1.key}", "{0.tag}");
1243 suggestAlternative: "lockable";
1244 group: tr("deprecated tagging");
1245 fixChangeKey: "lock => lockable";
1246}
1247
1248*[amenity=advertising][!advertising] {
1249 throwWarning: tr("{0} is deprecated", "{0.tag}");
1250 suggestAlternative: "advertising=*";
1251 group: tr("deprecated tagging");
1252}
1253*[amenity=advertising][advertising] {
1254 throwWarning: tr("{0} is deprecated", "{0.tag}");
1255 suggestAlternative: "advertising=*";
1256 group: tr("deprecated tagging");
1257 fixRemove: "amenity";
1258}
1259
1260way[direction=up][incline=up],
1261way[direction=down][incline=down],
1262way[direction=up][!incline],
1263way[direction=down][!incline] {
1264 throwWarning: tr("{0} is deprecated", "{0.tag}");
1265 suggestAlternative: "incline";
1266 group: tr("deprecated tagging");
1267 fixChangeKey: "direction => incline";
1268}
1269way[direction=up][incline][incline!=up],
1270way[direction=down][incline][incline!=down] {
1271 throwWarning: tr("{0} is deprecated", "{0.tag}");
1272 suggestAlternative: "incline";
1273 group: tr("deprecated tagging");
1274}
1275
1276*[building=true],
1277*[building="*"],
1278*[building=Y],
1279*[building=y],
1280*[building=1] {
1281 throwError: tr("{0}", "{0.tag}");
1282 suggestAlternative: "building=yes";
1283 group: tr("misspelled value");
1284 fixAdd: "building=yes";
1285}
1286
1287/* #17786 */
1288*[building=abandoned],
1289*[building=address],
1290*[building=bing],
1291*[building=collapsed],
1292*[building=damaged],
1293*[building=demolished],
1294*[building=disused],
1295*[building=fixme],
1296*[building=occupied],
1297*[building=other],
1298*[building=razed],
1299*[building=unclassified],
1300*[building=undefined],
1301*[building=unknown],
1302*[building=unidentified] {
1303 throwWarning: tr("{0} is not a building type.", "{0.tag}");
1304 group: tr("deprecated tagging");
1305}
1306
1307/* #15675 */
1308node[power=transformer][location=pole][transformer] {
1309 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
1310 group: tr("deprecated tagging");
1311 fixChangeKey: "location => power";
1312}
1313node[power=transformer][location=pole][!transformer] {
1314 throwWarning: tr("{0} together with {1}", "{0.tag}", "{1.tag}");
1315 group: tr("deprecated tagging");
1316 fixChangeKey: "location => power";
1317 fixAdd: "transformer=yes";
1318}
1319
1320node[tourism=picnic_table],
1321node[amenity=picnic_table],
1322node[leisure=picnic],
1323node[leisure=picnic_site] {
1324 throwWarning: tr("{0} is deprecated", "{0.tag}");
1325 suggestAlternative: "tourism=picnic_site";
1326 suggestAlternative: "leisure=picnic_table";
1327 group: tr("deprecated tagging");
1328}
1329
1330/* #15804 */
1331relation[water=salt],
1332way[water=salt],
1333way[water=salt_pool],
1334way[water=salt_panne],
1335way[water=salt_pond] {
1336 throwWarning: tr("{0} is deprecated", "{0.tag}");
1337 suggestAlternative: "salt=yes";
1338 suggestAlternative: "landuse=salt_pond";
1339 group: tr("deprecated tagging");
1340}
1341
1342/* #15805 */
1343way[water=tidal] {
1344 throwWarning: tr("{0} is deprecated", "{0.tag}");
1345 suggestAlternative: "tidal=yes";
1346 fixAdd: "tidal=yes";
1347 fixRemove: "water";
1348 group: tr("deprecated tagging");
1349}
1350
1351*[amenity=toilet] {
1352 throwError: tr("{0}", "{0.tag}");
1353 suggestAlternative: "amenity=toilets";
1354 group: tr("misspelled value");
1355 fixAdd: "amenity=toilets";
1356}
1357
1358way[power=busbar] {
1359 throwWarning: tr("{0} is deprecated", "{0.tag}");
1360 suggestAlternative: "power=line + line=busbar";
1361 group: tr("deprecated tagging");
1362 fixAdd: "power=line";
1363 fixAdd: "line=busbar";
1364}
1365
1366/* #16924 */
1367*[man_made=MDF],
1368*[man_made=telephone_exchange] {
1369 throwWarning: tr("{0} is deprecated", "{0.tag}");
1370 suggestAlternative: "telecom=exchange";
1371 fixAdd: "telecom=exchange";
1372 fixRemove: "man_made";
1373 group: tr("deprecated tagging");
1374}
1375*[building=central_office] {
1376 throwWarning: tr("{0} is deprecated", "{0.tag}");
1377 suggestAlternative: "telecom=exchange";
1378 fixAdd: "telecom=exchange";
1379 fixAdd: "building=yes";
1380 group: tr("deprecated tagging");
1381}
1382*[telecom=central_office] {
1383 throwWarning: tr("{0} is deprecated", "{0.tag}");
1384 suggestAlternative: "telecom=exchange";
1385 fixAdd: "telecom=exchange";
1386 group: tr("deprecated tagging");
1387}
1388
1389/* #16925 */
1390node[communication=outdoor_dslam],
1391node[man_made=outdoor_dslam],
1392node[street_cabinet=outdoor_dslam] {
1393 throwWarning: tr("{0} is deprecated", "{0.tag}");
1394 suggestAlternative: "telecom=service_device";
1395 fixAdd: "telecom=service_device";
1396 fixRemove: "{0.key}";
1397 group: tr("deprecated tagging");
1398}
1399node[telecom=dslam],
1400node[telecom=outdoor_dslam] {
1401 throwWarning: tr("{0} is deprecated", "{0.tag}");
1402 suggestAlternative: "telecom=service_device";
1403 fixAdd: "telecom=service_device";
1404 group: tr("deprecated tagging");
1405}
1406
1407/* #15774 */
1408node[amenity=fire_hydrant] {
1409 throwWarning: tr("{0} is deprecated", "{0.tag}");
1410 suggestAlternative: "emergency=fire_hydrant";
1411 fixChangeKey: "amenity => emergency";
1412 group: tr("deprecated tagging");
1413}
1414node[fire_hydrant:type=pond] {
1415 throwWarning: tr("{0} is deprecated", "{0.tag}");
1416 suggestAlternative: "water_source=pond";
1417 fixAdd: "water_source=pond";
1418 fixRemove: "{0.key}";
1419 group: tr("deprecated tagging");
1420}
1421node[fire_hydrant:flow_capacity] {
1422 throwWarning: tr("{0} is deprecated", "{0.key}");
1423 suggestAlternative: "flow_rate";
1424 group: tr("deprecated tagging");
1425}
1426node[emergency=fire_hydrant][in_service=no] {
1427 throwWarning: tr("{0} is deprecated", "{1.tag}");
1428 suggestAlternative: "disused:emergency=fire_hydrant";
1429 fixAdd: "disused:emergency=fire_hydrant";
1430 fixRemove: "{1.key}";
1431 fixRemove: "{0.key}";
1432 group: tr("deprecated tagging");
1433}
1434node[fire_hydrant:water_source] {
1435 throwWarning: tr("{0} is deprecated", "{0.key}");
1436 suggestAlternative: "water_source";
1437 fixChangeKey: "fire_hydrant:water_source => water_source";
1438 group: tr("deprecated tagging");
1439}
1440
1441/* #17383 */
1442*[natural=waterfall] {
1443 throwWarning: tr("{0} is deprecated", "{0.tag}");
1444 suggestAlternative: "waterway=waterfall";
1445 fixChangeKey: "natural => waterway";
1446 group: tr("deprecated tagging");
1447}
1448
1449/* #17249 */
1450*[religion=unitarian] {
1451 throwWarning: tr("{0} is deprecated", "{0.tag}");
1452 suggestAlternative: "religion=unitarian_universalist";
1453 fixAdd: "religion=unitarian_universalist";
1454 group: tr("deprecated tagging");
1455}
1456
1457*[shop=shopping_centre] {
1458 throwWarning: tr("{0} is deprecated", "{0.tag}");
1459 suggestAlternative: "shop=mall";
1460 fixAdd: "shop=mall";
1461 group: tr("deprecated tagging");
1462}
1463
1464/* #17504 */
1465*[is_in],
1466node[/^is_in:.*$/],
1467way[/^is_in:.*$/] {
1468 throwWarning: tr("{0} is deprecated", "{0.key}");
1469 group: tr("deprecated tagging");
1470 fixRemove: "{0.key}";
1471}
1472
1473/* #17593 */
1474*[sport=football] {
1475 throwWarning: tr("{0} is deprecated", "{0.tag}");
1476 suggestAlternative: "sport=soccer";
1477 suggestAlternative: "sport=american_football";
1478 suggestAlternative: "sport=australian_football";
1479 suggestAlternative: "sport=canadian_football";
1480 suggestAlternative: "sport=rugby_league";
1481 suggestAlternative: "sport=rugby_union";
1482 suggestAlternative: "sport=gaelic_games";
1483 group: tr("deprecated tagging");
1484}
1485
1486/* #17556 */
1487*[leisure=common] {
1488 throwWarning: tr("{0} is deprecated", "{0.tag}");
1489 suggestAlternative: "landuse=*";
1490 suggestAlternative: "leisure=*";
1491 suggestAlternative: "designation=common";
1492 group: tr("deprecated tagging");
1493}
1494
1495/* #17043 */
1496*[cuisine=vegan],
1497*[cuisine=vegetarian] {
1498 throwWarning: tr("{0} is deprecated", "{0.tag}");
1499 suggestAlternative: concat("diet:", "{0.value}", "=yes");
1500 suggestAlternative: concat("diet:", "{0.value}", "=only");
1501 group: tr("deprecated tagging");
1502}
1503
1504/* #17798 */
1505*[kitchen_hours] {
1506 throwWarning: tr("{0} is deprecated", "{0.key}");
1507 suggestAlternative: "opening_hours:kitchen";
1508 fixChangeKey: "kitchen_hours => opening_hours:kitchen";
1509 group: tr("deprecated tagging");
1510}
1511
1512/* #17681 */
1513*[shop=money_transfer] {
1514 throwWarning: tr("{0} is deprecated", "{0.tag}");
1515 suggestAlternative: "amenity=money_transfer";
1516 fixChangeKey: "shop => amenity";
1517 group: tr("deprecated tagging");
1518}
1519
1520*[contact:google_plus] {
1521 throwWarning: tr("{0} is deprecated", "{0.key}");
1522 fixRemove: "contact:google_plus";
1523 group: tr("deprecated tagging");
1524}
1525
1526/* #17370 */
1527*[amenity=garages],
1528*[amenity=garage] {
1529 throwWarning: tr("{0} is deprecated", "{0.tag}");
1530 suggestAlternative: concat("building=", "{0.value}");
1531 suggestAlternative: "landuse=garages";
1532 suggestAlternative: "amenity=parking + parking=garage_boxes";
1533 group: tr("deprecated tagging");
1534}
1535*[shop=winery],
1536*[amenity=winery] {
1537 throwWarning: tr("{0} is deprecated", "{0.tag}");
1538 suggestAlternative: "craft=winery";
1539 suggestAlternative: "shop=wine";
1540 group: tr("deprecated tagging");
1541}
1542*[amenity=youth_centre] {
1543 throwWarning: tr("{0} is deprecated", "{0.tag}");
1544 suggestAlternative: "amenity=community_centre + community_centre=youth_centre";
1545 fixAdd: "amenity=community_centre";
1546 fixAdd: "community_centre=youth_centre";
1547 group: tr("deprecated tagging");
1548}
1549*[building:type][building=yes],
1550*[building:type][!building] {
1551 throwWarning: tr("{0} is deprecated", "{0.key}");
1552 suggestAlternative: "building";
1553 group: tr("deprecated tagging");
1554 fixChangeKey: "building:type => building";
1555 assertMatch: "way building:type=church";
1556 assertMatch: "way building:type=church building=yes";
1557 assertNoMatch: "way building:type=church building=supermarket";
1558}
1559*[building:type][building][building!=yes] {
1560 throwWarning: tr("{0} is deprecated", "{0.key}");
1561 suggestAlternative: "building";
1562 group: tr("deprecated tagging");
1563 assertNoMatch: "way building:type=church";
1564 assertNoMatch: "way building:type=church building=yes";
1565 assertMatch: "way building:type=church building=supermarket";
1566}
1567*[escalator] {
1568 throwWarning: tr("{0} is deprecated", "{0.key}");
1569 suggestAlternative: "highway=steps + conveying=*";
1570 group: tr("deprecated tagging");
1571}
1572*[fenced] {
1573 throwWarning: tr("{0} is deprecated", "{0.key}");
1574 suggestAlternative: "barrier=fence";
1575 group: tr("deprecated tagging");
1576}
1577*[historic_name][!old_name] {
1578 throwWarning: tr("{0} is deprecated", "{0.key}");
1579 suggestAlternative: "old_name";
1580 group: tr("deprecated tagging");
1581 fixChangeKey: "historic_name => old_name";
1582}
1583*[historic_name][old_name] {
1584 throwWarning: tr("{0} is deprecated", "{0.key}");
1585 suggestAlternative: "old_name";
1586 group: tr("deprecated tagging");
1587}
1588*[landuse=field] {
1589 throwWarning: tr("{0} is deprecated", "{0.tag}");
1590 suggestAlternative: "landuse=farmland";
1591 group: tr("deprecated tagging");
1592 fixAdd: "landuse=farmland";
1593}
1594*[leisure=beach] {
1595 throwWarning: tr("{0} is deprecated", "{0.tag}");
1596 suggestAlternative: "natural=beach";
1597 suggestAlternative: "leisure=beach_resort";
1598 group: tr("deprecated tagging");
1599}
1600*[leisure=club] {
1601 throwWarning: tr("{0} is deprecated", "{0.tag}");
1602 suggestAlternative: "club=*";
1603 group: tr("deprecated tagging");
1604}
1605*[leisure=video_arcade] {
1606 throwWarning: tr("{0} is deprecated", "{0.tag}");
1607 suggestAlternative: "leisure=amusement_arcade";
1608 suggestAlternative: "leisure=adult_gaming_centre";
1609 group: tr("deprecated tagging");
1610}
1611*[man_made=jetty] {
1612 throwWarning: tr("{0} is deprecated", "{0.tag}");
1613 suggestAlternative: "man_made=pier";
1614 group: tr("deprecated tagging");
1615 fixAdd: "man_made=pier";
1616}
1617*[man_made=village_pump] {
1618 throwWarning: tr("{0} is deprecated", "{0.tag}");
1619 suggestAlternative: "man_made=water_well";
1620 group: tr("deprecated tagging");
1621 fixAdd: "man_made=water_well";
1622}
1623*[man_made=water_tank] {
1624 throwWarning: tr("{0} is deprecated", "{0.tag}");
1625 suggestAlternative: "man_made=storage_tank + content=water";
1626 group: tr("deprecated tagging");
1627 fixAdd: "man_made=storage_tank";
1628 fixAdd: "content=water";
1629}
1630*[natural=moor] {
1631 throwWarning: tr("{0} is deprecated", "{0.tag}");
1632 suggestAlternative: "natural=heath";
1633 suggestAlternative: "natural=scrub";
1634 suggestAlternative: "natural=grassland";
1635 suggestAlternative: "natural=wetland";
1636 suggestAlternative: "natural=fell";
1637 suggestAlternative: "natural=tundra";
1638 suggestAlternative: "landuse=meadow + meadow=agricultural";
1639 group: tr("deprecated tagging");
1640}
1641*[noexit=no][!fixme] {
1642 throwWarning: tr("{0} is deprecated", "{0.tag}");
1643 suggestAlternative: "fixme=continue";
1644 group: tr("deprecated tagging");
1645 fixAdd: "fixme=continue";
1646 fixRemove: "noexit";
1647}
1648*[noexit=no][fixme] {
1649 throwWarning: tr("{0} is deprecated", "{0.tag}");
1650 suggestAlternative: "fixme=continue";
1651 group: tr("deprecated tagging");
1652}
1653*[shop=dive] {
1654 throwWarning: tr("{0} is deprecated", "{0.tag}");
1655 suggestAlternative: "shop=scuba_diving";
1656 group: tr("deprecated tagging");
1657 fixAdd: "shop=scuba_diving";
1658}
1659*[shop=furnace] {
1660 throwWarning: tr("{0} is deprecated", "{0.tag}");
1661 suggestAlternative: "shop=fireplace";
1662 suggestAlternative: "craft=plumber";
1663 group: tr("deprecated tagging");
1664}
1665*[sport=paragliding] {
1666 throwWarning: tr("{0} is deprecated", "{0.tag}");
1667 suggestAlternative: "sport=free_flying";
1668 group: tr("deprecated tagging");
1669 fixAdd: "sport=free_flying";
1670}
1671*[tourism=bed_and_breakfast] {
1672 throwWarning: tr("{0} is deprecated", "{0.tag}");
1673 suggestAlternative: "tourism=guest_house + guest_house=bed_and_breakfast";
1674 group: tr("deprecated tagging");
1675 fixAdd: "tourism=guest_house";
1676 fixAdd: "guest_house=bed_and_breakfast";
1677}
1678
1679/* #17880 */
1680*[diaper=yes],
1681*[diaper=no] {
1682 throwWarning: tr("{0} is deprecated", "{0.tag}");
1683 suggestAlternative: concat("changing_table=", "{0.value}");
1684 group: tr("deprecated tagging");
1685 fixChangeKey: "diaper => changing_table";
1686 set diaper_checked;
1687}
1688*[diaper][diaper =~ /^[1-9][0-9]*$/] {
1689 throwWarning: tr("{0} is deprecated", "{0.tag}");
1690 suggestAlternative: concat("changing_table=yes + changing_table:count=", "{0.value}");
1691 group: tr("deprecated tagging");
1692 fixChangeKey: "diaper => changing_table:count";
1693 fixAdd: "changing_table=yes";
1694 set diaper_checked;
1695}
1696*[diaper=room] {
1697 throwWarning: tr("{0} is deprecated", "{0.tag}");
1698 suggestAlternative: "changing_table=room";
1699 suggestAlternative: "changing_table=dedicated_room";
1700 group: tr("deprecated tagging");
1701 set diaper_checked;
1702}
1703*[diaper]!.diaper_checked {
1704 throwWarning: tr("{0} is deprecated", "{0.key}");
1705 suggestAlternative: "changing_table";
1706 group: tr("deprecated tagging");
1707}
1708*[diaper:male=yes] {
1709 throwWarning: tr("{0} is deprecated", "{0.tag}");
1710 suggestAlternative: "changing_table:location=male_toilet";
1711 group: tr("deprecated tagging");
1712 fixAdd: "changing_table:location=male_toilet";
1713 fixRemove: "diaper:male";
1714 set diaper___checked;
1715}
1716*[diaper:female=yes] {
1717 throwWarning: tr("{0} is deprecated", "{0.tag}");
1718 suggestAlternative: "changing_table:location=female_toilet";
1719 group: tr("deprecated tagging");
1720 fixAdd: "changing_table:location=female_toilet";
1721 fixRemove: "diaper:female";
1722 set diaper___checked;
1723}
1724*[diaper:unisex=yes] {
1725 throwWarning: tr("{0} is deprecated", "{0.tag}");
1726 suggestAlternative: "changing_table:location=unisex_toilet";
1727 group: tr("deprecated tagging");
1728 fixAdd: "changing_table:location=unisex_toilet";
1729 fixRemove: "diaper:unisex";
1730 set diaper___checked;
1731}
1732*[diaper:wheelchair=yes],
1733*[diaper:wheelchair=no] {
1734 throwWarning: tr("{0} is deprecated", "{0.tag}");
1735 suggestAlternative: concat("changing_table:wheelchair=", "{0.value}");
1736 group: tr("deprecated tagging");
1737 fixChangeKey: "diaper:wheelchair => changing_table:wheelchair";
1738 set diaper___checked;
1739}
1740*[diaper:fee=yes],
1741*[diaper:fee=no] {
1742 throwWarning: tr("{0} is deprecated", "{0.tag}");
1743 suggestAlternative: concat("changing_table:fee=", "{0.value}");
1744 group: tr("deprecated tagging");
1745 fixChangeKey: "diaper:fee => changing_table:fee";
1746 set diaper___checked;
1747}
1748*[/^diaper:/]!.diaper___checked {
1749 throwWarning: tr("{0} is deprecated", "diaper:*");
1750 suggestAlternative: "changing_table:*";
1751 group: tr("deprecated tagging");
1752}
1753*[changing_table][changing_table!~/^(yes|no|limited)$/] {
1754 throwWarning: tr("wrong value: {0}", "{0.tag}");
1755 suggestAlternative: "changing_table=yes";
1756 suggestAlternative: "changing_table=no";
1757 suggestAlternative: "changing_table=limited";
1758}
1759
1760/* #17990 */
1761*[roof:shape=half_hipped] {
1762 throwWarning: tr("{0} is deprecated", "{0.tag}");
1763 suggestAlternative: "roof:shape=half-hipped";
1764 group: tr("deprecated tagging");
1765 fixAdd: "roof:shape=half-hipped";
1766}
1767
1768/* #18003 */
1769*[bridge_name] {
1770 throwWarning: tr("{0} is deprecated", "{0.key}");
1771 suggestAlternative: "bridge:name";
1772 group: tr("deprecated tagging");
1773 fixChangeKey: "bridge_name => bridge:name";
1774}
1775
1776/* #18007 */
1777*[access=public] {
1778 throwWarning: tr("{0} is deprecated", "{0.tag}");
1779 suggestAlternative: "access=yes";
1780 group: tr("deprecated tagging");
1781 fixAdd: "access=yes";
1782}
1783
1784/* #17330 */
1785*[crossing=island] {
1786 throwWarning: tr("{0} is deprecated", "{0.tag}");
1787 suggestAlternative: "crossing:island=yes";
1788 group: tr("deprecated tagging");
1789 fixRemove: "crossing";
1790 fixAdd: "crossing:island=yes";
1791}
1792
1793/* #18152 */
1794*[recycling:metal] {
1795 throwWarning: tr("{0} is deprecated", "{0.key}");
1796 suggestAlternative: "recycling:scrap_metal";
1797 group: tr("deprecated tagging");
1798 fixChangeKey: "recycling:metal => recycling:scrap_metal";
1799}
1800
1801/* #18154 */
1802*[shop=dog_grooming] {
1803 throwWarning: tr("{0} is deprecated", "{0.tag}");
1804 suggestAlternative: "shop=pet_grooming";
1805 fixAdd: "shop=pet_grooming";
1806 group: tr("deprecated tagging");
1807}
1808
1809/* #17984 */
1810*[tower:type=anchor],
1811*[tower:type=suspension] {
1812 throwWarning: tr("{0} is deprecated", "{0.tag}");
1813 suggestAlternative: concat("line_attachment=", "{0.value}");
1814 fixChangeKey: "tower:type => line_attachment";
1815 group: tr("deprecated tagging");
1816}
1817node[pole:type=anchor],
1818node[pole:type=suspension] {
1819 throwWarning: tr("{0} is deprecated", "{0.tag}");
1820 suggestAlternative: concat("line_attachment=", "{0.value}");
1821 fixChangeKey: "pole:type => line_attachment";
1822 group: tr("deprecated tagging");
1823}
1824
1825/* #18267 */
1826node[man_made=pipeline_marker],
1827node[pipeline=marker],
1828node[power=marker],
1829node[cable=marker] {
1830 throwWarning: tr("{0} is deprecated", "{0.tag}");
1831 suggestAlternative: "marker=* + utility=*";
1832 group: tr("deprecated tagging");
1833}
1834
1835/* #17643 */
1836way[barrier=embankment] {
1837 throwWarning: tr("{0} is deprecated", "{0.tag}");
1838 suggestAlternative: "man_made=embankment";
1839 suggestAlternative: "embankment=yes";
1840 group: tr("deprecated tagging");
1841}
Note: See TracBrowser for help on using the repository browser.