1 | *[barrier=wire_fence] {
|
---|
2 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
3 | fixAdd: "barrier=fence";
|
---|
4 | fixAdd: "fence_type=chain_link";
|
---|
5 | assertMatch: "way barrier=wire_fence";
|
---|
6 | assertNoMatch: "way barrier=fence";
|
---|
7 | }
|
---|
8 |
|
---|
9 | *[barrier=wood_fence] {
|
---|
10 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
11 | fixAdd: "barrier=fence";
|
---|
12 | fixAdd: "fence_type=wood";
|
---|
13 | }
|
---|
14 |
|
---|
15 | *[highway=ford] {
|
---|
16 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
17 | fixRemove: "highway";
|
---|
18 | fixAdd: "ford=yes";
|
---|
19 | }
|
---|
20 |
|
---|
21 | *[class] {
|
---|
22 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
23 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
24 | suggestAlternative: "highway";
|
---|
25 | }
|
---|
26 |
|
---|
27 | *[highway=stile] {
|
---|
28 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
29 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
30 | fixRemove: "highway";
|
---|
31 | fixAdd: "barrier=stile";
|
---|
32 | }
|
---|
33 |
|
---|
34 | *[highway=incline] {
|
---|
35 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
36 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
37 | suggestAlternative: "incline";
|
---|
38 | }
|
---|
39 |
|
---|
40 | *[highway=incline_steep] {
|
---|
41 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
42 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
43 | suggestAlternative: "incline";
|
---|
44 | }
|
---|
45 |
|
---|
46 | *[highway=unsurfaced] {
|
---|
47 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
48 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
49 | fixAdd: "highway=road";
|
---|
50 | fixAdd: "incline=unpaved";
|
---|
51 | }
|
---|
52 |
|
---|
53 | *[landuse=wood] {
|
---|
54 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
55 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
56 | suggestAlternative: "landuse=forest";
|
---|
57 | suggestAlternative: "natural=wood";
|
---|
58 | }
|
---|
59 |
|
---|
60 | *[natural=marsh] {
|
---|
61 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
62 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
63 | fixAdd: "natural=wetland";
|
---|
64 | fixAdd: "wetland=marsh";
|
---|
65 | }
|
---|
66 |
|
---|
67 | *[highway=byway] {
|
---|
68 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
69 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
70 | }
|
---|
71 |
|
---|
72 | *[power_source] {
|
---|
73 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
74 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
75 | suggestAlternative: "generator:source";
|
---|
76 | }
|
---|
77 |
|
---|
78 | *[power_rating] {
|
---|
79 | /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */
|
---|
80 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
81 | suggestAlternative: "generator:output";
|
---|
82 | }
|
---|
83 |
|
---|
84 | *[shop=antique] {
|
---|
85 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
86 | fixAdd: "shop=antiques";
|
---|
87 | }
|
---|
88 |
|
---|
89 | *[shop=bags] {
|
---|
90 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
91 | fixAdd: "shop=bag";
|
---|
92 | }
|
---|
93 |
|
---|
94 | *[shop=organic] {
|
---|
95 | /* from http://wiki.openstreetmap.org/wiki/Tag:shop=organic */
|
---|
96 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
97 | fixAdd: "shop=supermarket";
|
---|
98 | fixAdd: "organic=only";
|
---|
99 | }
|
---|
100 |
|
---|
101 | *[shop=pets] {
|
---|
102 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
103 | fixAdd: "shop=pet";
|
---|
104 | }
|
---|
105 |
|
---|
106 | *[shop=pharmacy] {
|
---|
107 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
108 | fixChangeKey: "shop => amenity";
|
---|
109 | }
|
---|
110 |
|
---|
111 | *[bicycle_parking=sheffield] {
|
---|
112 | /* from http://wiki.openstreetmap.org/wiki/Key:bicycle_parking */
|
---|
113 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
114 | fixAdd: "bicycle_parking=stands";
|
---|
115 | }
|
---|
116 |
|
---|
117 | *[amenity=emergency_phone] {
|
---|
118 | /* http://wiki.openstreetmap.org/wiki/Tag:emergency=phone */
|
---|
119 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
120 | fixRemove: "amenity";
|
---|
121 | fixAdd: "emergency=phone";
|
---|
122 | }
|
---|
123 |
|
---|
124 | *[sport=gaelic_football] {
|
---|
125 | /* fix #8132 - http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football */
|
---|
126 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
127 | fixAdd: "sport=gaelic_games";
|
---|
128 | }
|
---|
129 |
|
---|
130 | *[power=station] {
|
---|
131 | /* see #8847 / #8961 - http://wiki.openstreetmap.org/wiki/Tag:power=station */
|
---|
132 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
133 | suggestAlternative: "power=plant";
|
---|
134 | suggestAlternative: "power=substation";
|
---|
135 | }
|
---|
136 |
|
---|
137 | *[power=sub_station] {
|
---|
138 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
139 | fixAdd: "power=substation";
|
---|
140 | }
|
---|
141 |
|
---|
142 | *[generator:method=dam] {
|
---|
143 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
144 | fixAdd: "generator:method=water-storage";
|
---|
145 | }
|
---|
146 |
|
---|
147 | *[generator:method=pumped-storage] {
|
---|
148 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
149 | fixAdd: "generator:method=water-pumped-storage";
|
---|
150 | }
|
---|
151 |
|
---|
152 | *[generator:method=pumping] {
|
---|
153 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
154 | fixAdd: "generator:method=water-pumped-storage";
|
---|
155 | }
|
---|
156 |
|
---|
157 | *[fence_type=chain] {
|
---|
158 | /* see #8962 - http://wiki.openstreetmap.org/wiki/Key:fence_type */
|
---|
159 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
160 | suggestAlternative: "barrier=chain";
|
---|
161 | suggestAlternative: "fence_type=chain_link";
|
---|
162 | }
|
---|
163 |
|
---|
164 | *[building=entrance] {
|
---|
165 | /* see #9000 - http://wiki.openstreetmap.org/wiki/Key:entrance */
|
---|
166 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
167 | suggestAlternative: "entrance";
|
---|
168 | }
|
---|
169 |
|
---|
170 | *[board_type=board] {
|
---|
171 | /* see #9213 - Useless tag proposed in internal preset for years */
|
---|
172 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
173 | fixRemove: "board_type";
|
---|
174 | }
|
---|
175 |
|
---|
176 | *[man_made=measurement_station] {
|
---|
177 | /* see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station */
|
---|
178 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
179 | fixAdd: "man_made=monitoring_station";
|
---|
180 | }
|
---|
181 |
|
---|
182 | *[measurement=water_level] {
|
---|
183 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
184 | fixRemove: "measurement";
|
---|
185 | fixAdd: "monitoring:water_level=yes";
|
---|
186 | }
|
---|
187 |
|
---|
188 | *[measurement=weather] {
|
---|
189 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
190 | fixRemove: "measurement";
|
---|
191 | fixAdd: "monitoring:weather=yes";
|
---|
192 | }
|
---|
193 |
|
---|
194 | *[measurement=seismic] {
|
---|
195 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
196 | fixRemove: "measurement";
|
---|
197 | fixAdd: "monitoring:seismic_activity=yes";
|
---|
198 | }
|
---|
199 |
|
---|
200 | *[monitoring:river_level] {
|
---|
201 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
202 | fixChangeKey: "monitoring:river_level => monitoring:water_level";
|
---|
203 | }
|
---|
204 |
|
---|
205 | *[stay] {
|
---|
206 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
207 | fixChangeKey: "stay => maxstay";
|
---|
208 | }
|
---|
209 |
|
---|
210 | *[emergency=aed] {
|
---|
211 | /* see #9554 - http://wiki.openstreetmap.org/wiki/Proposed_features/automated_external_defibrillator */
|
---|
212 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
213 | fixAdd: "emergency=defibrillator";
|
---|
214 | }
|
---|
215 |
|
---|
216 | /* from http://wiki.openstreetmap.org/wiki/Conditional_restrictions#Deprecated_tags */
|
---|
217 | *[day_on][!restriction],
|
---|
218 | *[day_off][!restriction],
|
---|
219 | *[date_on][!restriction],
|
---|
220 | *[date_off][!restriction],
|
---|
221 | *[hour_on][!restriction],
|
---|
222 | *[hour_off][!restriction] {
|
---|
223 | throwWarning: tr("{0} is deprecated", "{0.key}");
|
---|
224 | suggestAlternative: "*:conditional";
|
---|
225 | assertMatch: "node day_on=0-12";
|
---|
226 | }
|
---|
227 |
|
---|
228 | /* see #10000, http://wiki.openstreetmap.org/wiki/Tag%3Aaccess%3Ddesignated */
|
---|
229 | *[access=designated] {
|
---|
230 | throwWarning: tr("''{0}'' is meaningless, use more specific tags, e.g. ''{1}''", "access=designated", "bicycle=designated");
|
---|
231 | assertMatch: "way access=designated";
|
---|
232 | }
|
---|
233 | *[access=official] {
|
---|
234 | throwWarning: tr("''{0}'' does not specify the official mode of transportation, use ''{1}'' for example", "access=official", "bicycle=official");
|
---|
235 | assertMatch: "way access=official";
|
---|
236 | }
|
---|
237 |
|
---|
238 | /* see #10085 - give warning for fixme=yes */
|
---|
239 | *[fixme=yes], *[FIXME=yes] {
|
---|
240 | throwWarning: tr("{0}={1} is unspecific. Instead of ''{1}'' please give more information about what exactly should be fixed.", "{0.key}", "{0.value}");
|
---|
241 | assertMatch: "way fixme=yes";
|
---|
242 | }
|
---|
243 |
|
---|
244 | /* see #10107, #10108 - http://wiki.openstreetmap.org/wiki/Proposed_features/leaftype#Features.2FPages_affected */
|
---|
245 | *[wood=deciduous],
|
---|
246 | *[type=broad_leaved],
|
---|
247 | *[type=broad_leafed] {
|
---|
248 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
249 | fixRemove: "{0.key}";
|
---|
250 | fixAdd: "leaf_type=broadleaved";
|
---|
251 | }
|
---|
252 |
|
---|
253 | *[wood=coniferous] {
|
---|
254 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
255 | fixRemove: "wood";
|
---|
256 | fixAdd: "leaf_type=needleleaved";
|
---|
257 | }
|
---|
258 |
|
---|
259 | *[wood=mixed] {
|
---|
260 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
261 | fixRemove: "wood";
|
---|
262 | fixAdd: "leaf_type=mixed";
|
---|
263 | }
|
---|
264 |
|
---|
265 | *[wood=evergreen],
|
---|
266 | *[type=evergreen] {
|
---|
267 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
268 | fixRemove: "{0.key}";
|
---|
269 | fixAdd: "leaf_cycle=evergreen";
|
---|
270 | }
|
---|
271 |
|
---|
272 | *[type=deciduous],
|
---|
273 | *[type=deciduos] {
|
---|
274 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
275 | fixRemove: "type";
|
---|
276 | fixAdd: "leaf_cycle=deciduous";
|
---|
277 | }
|
---|
278 |
|
---|
279 | *[natural=land] {
|
---|
280 | throwWarning: tr("{0}={1} is deprecated. Please use instead a multipolygon.", "{0.key}", "{0.value}");
|
---|
281 | assertMatch: "way natural=land";
|
---|
282 | }
|
---|
283 |
|
---|
284 | /* see #10447 - https://wiki.openstreetmap.org/wiki/Proposed_features/Bridge_types#Deprecated_bridge_key_values */
|
---|
285 | *[bridge=causeway] {
|
---|
286 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
287 | suggestAlternative: "ford=yes";
|
---|
288 | suggestAlternative: "bridge=low_water_crossing";
|
---|
289 | suggestAlternative: "embankment=yes";
|
---|
290 | }
|
---|
291 |
|
---|
292 | *[bridge=swing] {
|
---|
293 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
294 | suggestAlternative: "bridge:movable=swing";
|
---|
295 | suggestAlternative: "bridge:structure=simple-suspension";
|
---|
296 | }
|
---|
297 |
|
---|
298 | *[bridge=suspension] {
|
---|
299 | throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
|
---|
300 | fixAdd: "bridge=yes";
|
---|
301 | fixAdd: "bridge:structure=suspension";
|
---|
302 | }
|
---|
303 |
|
---|
304 | /* See #10530 - Incorrect tag proposed in internal preset for years */
|
---|
305 | *[fee=interval],
|
---|
306 | *[lit=interval],
|
---|
307 | *[supervised=interval] {
|
---|
308 | throwWarning: tr("{0} is deprecated. Please specify interval by using opening_hours syntax", "{0.tag}");
|
---|
309 | }
|
---|
310 |
|
---|
311 | /* See #10582 - JOSM supported this tag as "don't upload this" feature, before the introduction of upload flag at layer level */
|
---|
312 | *[/josm\/ignore/] {
|
---|
313 | throwError: tr("{0} is deprecated. Please delete this object and use a private layer instead", "{0.key}");
|
---|
314 | fixDeleteObject: this;
|
---|
315 | }
|
---|
316 |
|
---|
317 | /* see #8281 */
|
---|
318 | *[sport=diving] {
|
---|
319 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
320 | suggestAlternative: "sport=scuba_diving";
|
---|
321 | suggestAlternative: "sport=cliff_diving";
|
---|
322 | }
|
---|
323 |
|
---|
324 | /* see #8281 */
|
---|
325 | *[parking=park_and_ride] {
|
---|
326 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
327 | fixRemove: "parking";
|
---|
328 | fixAdd: "amenity=parking";
|
---|
329 | fixAdd: "park_ride=yes";
|
---|
330 | }
|
---|
331 |
|
---|
332 | /* see #10661 */
|
---|
333 | *[barrier=yes] {
|
---|
334 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by a specific value.", "{0.key}", "{0.value}");
|
---|
335 | }
|
---|
336 |
|
---|
337 | /* see #10693 - http://wiki.openstreetmap.org/wiki/Proposed_features/drop_recommendation_for_place_name */
|
---|
338 | *[place_name][!name] {
|
---|
339 | throwWarning: tr("{0} should be replaced with {1}", "{0.key}", "{1.key}");
|
---|
340 | fixChangeKey: "place_name => name";
|
---|
341 | }
|
---|
342 |
|
---|
343 | way[sidewalk=yes] {
|
---|
344 | throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
|
---|
345 | }
|
---|
346 |
|
---|
347 | *[waterway=water_point],
|
---|
348 | *[waterway=waste_disposal] {
|
---|
349 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
350 | fixChangeKey: "waterway => amenity";
|
---|
351 | }
|
---|
352 | *[waterway=mooring] {
|
---|
353 | throwWarning: tr("{0} is deprecated", "{0.tag}");
|
---|
354 | fixRemove: "waterway";
|
---|
355 | fixAdd: "mooring=yes";
|
---|
356 | }
|
---|