abbr works only on full words; changes on nodes don't work
[osm-helpers.git] / it.osmrules
blobceeee9aac69a29a04e545aef18568cdd673891f4
1 <?xml version="1.0" encoding="UTF-8"?>
2 <osmrules>
3 <!--
4 Any tag value that starts with any of the following names in a different
5 case combination is changed to the specified name.
6 -->
7 <way name="Via" />
8 <way name="Viale" />
9 <way name="Corso" />
10 <way name="Piazza" />
11 <way name="Piazzetta" />
12 <way name="Strada" />
13 <way name="Contrada" />
14 <way name="Vicolo" />
15 <way name="Traversa" />
16 <way name="Borgo" />
17 <way name="Fattoria" />
18 <way name="Villa" />
19 <way name="Località" />
20 <way name="Autostrada" />
21 <way name="Piazzale" />
22 <way name="Parco" />
23 <way name="Largo" />
24 <way name="Lungo" />
25 <way name="Lungargine" />
26 <way name="Cavalcavia" />
27 <way name="Ponte" />
28 <way name="Tangenziale" />
29 <way name="Riviera" />
30 <way name="Giardini" />
31 <way name="Giardino" />
32 <way name="Parco" />
34 <!--
35 Any tag value that starts with any of the following abbreviations in any
36 case combination is changed to the specified 'to' word.
37 This can also be used to fix common spelling mistakes.
38 -->
39 <abbr from="p.zza" to="Piazza" />
40 <abbr from="c.so" to="Corso" />
41 <abbr from="v.le" to="Viale" />
42 <abbr from="p.za" to="Piazza" />
43 <abbr from="b.go" to="Borgo" />
44 <abbr from="p.tta" to="Piazzetta" />
45 <abbr from="Localita'" to="Località" />
47 <!--
48 The specified tags or tag/value combinations are removed when
49 found in the specified type oject.
50 -->
51 <remove type="node" tag="lanes" />
52 <remove type="node" tag="maxspeed" />
53 <remove type="node" tag="surface" />
54 <remove type="node" tag="highway" val="secondary" />
55 <remove type="node" tag="highway" val="unclassified" />
57 </osmrules>