-
Notifications
You must be signed in to change notification settings - Fork 8
/
transform.xml
177 lines (163 loc) · 4.47 KB
/
transform.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0"?>
<translations>
<translation>
<name>Private parking transform</name>
<description>Convert amenity=parking+access=private to amenity=private_parking</description>
<match mode="and">
<tag k="amenity" v="parking"/>
<tag k="access" v="private"/>
</match>
<output>
<copy-unmatched/>
<tag k="amenity" v="private_parking"/>
</output>
</translation>
<translation>
<name>Service roundabout transform</name>
<description>Remove junction=roundabout from hw=service</description>
<match mode="and">
<tag k="highway" v="service"/>
<tag k="junction" v="roundabout"/>
</match>
<output>
<copy-unmatched/>
<tag k="highway" v="service"/>
</output>
</translation>
<translation>
<name>Remove Religion from graveyards</name>
<description>Remove Religion from graveyards</description>
<match mode="and">
<tag k="amenity" v="grave_yard"/>
<tag k="religion" v=".*"/>
<tag k="denomination" v=".*"/>
</match>
<output>
<copy-unmatched/>
<tag k="amenity" v="grave_yard"/>
</output>
</translation>
<translation>
<name>lpg gas fuel stations</name>
<description>Gas fuel stations</description>
<match mode="and">
<tag k="amenity" v="fuel"/>
<tag k="fuel:cng" v="yes"/>
</match>
<output>
<copy-unmatched/>
<tag k="amenity" v="cng_fuel"/>
</output>
</translation>
<translation>
<name>lpg-gas fuel stations</name>
<description>Gas fuel stations</description>
<match mode="and">
<tag k="amenity" v="fuel"/>
<tag k="fuel:lpg" v="yes"/>
</match>
<output>
<copy-unmatched/>
<tag k="amenity" v="lpg_fuel"/>
</output>
</translation>
<translation>
<name>railway_siding</name>
<description>siding rails</description>
<match mode="and">
<tag k="railway" v="rail"/>
<tag k="service" v="siding"/>
</match>
<output>
<copy-unmatched/>
<tag k="railway" v="rail_siding"/>
</output>
</translation>
<translation>
<name>railway_spur</name>
<description>siding rails</description>
<match mode="and">
<tag k="railway" v="rail"/>
<tag k="service" v="spur"/>
</match>
<output>
<copy-unmatched/>
<tag k="railway" v="rail_siding"/>
</output>
</translation>
<translation>
<name>railway_yard</name>
<description>siding rails</description>
<match mode="and">
<tag k="railway" v="rail"/>
<tag k="service" v="yard"/>
</match>
<output>
<copy-unmatched/>
<tag k="railway" v="rail_siding"/>
</output>
</translation>
<translation>
<name>Remove passable liftgates</name>
<description>Remove passable liftgates</description>
<match mode="and">
<tag k="barrier" v="lift_gate"/>
<tag k="access" v="yes"/>
</match>
<output>
<copy-unmatched/>
<tag k="access" v="yes"/>
</output>
</translation>
<!--
<translation>
<name>Convert nameless living streets to service</name>
<description>Convert nameless living streets to service</description>
<match mode="and">
<tag k="highway" v="living_street"/>
<notag k="name" v=".*"/>
</match>
<output>
<copy-unmatched/>
<tag k="highway" v="service"/>
</output>
</translation>
-->
<translation>
<name>Ferry transform</name>
<description>Convert route=ferry+ferry=* to highway=*+ferry=yes </description>
<match mode="and">
<tag k="route" v="ferry"/>
<tag k="ferry" v=".*" match_id="ferry_type"/>
</match>
<output>
<copy-unmatched/>
<tag k="ferry" v="yes"/>
<tag k="highway" from_match="ferry_type"/>
</output>
</translation>
<translation>
<name>default levels for garages</name>
<description>1 level is set for garages by default</description>
<match mode="and">
<tag k="building" v="garages"/>
<notag k="building:levels" v=".*"/>
</match>
<output>
<copy-all/>
<tag k="building:levels" v="1"/>
</output>
</translation>
<translation>
<name>addr_place</name>
<description>addr:place to addr:street</description>
<match mode="and">
<tag k="addr:place" v=".*" match_id="addr_place" />
<notag k="addr:street" v=".*"/>
</match>
<output>
<copy-unmatched/>
<tag k="addr:street" from_match="addr_place" />
</output>
</translation>
</translations>