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