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

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

fix #16796 - Rework of GPX track colors / layer preferences (patch by Bjoeni)

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