-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBrazil-preset.xml
executable file
·310 lines (310 loc) · 14.8 KB
/
Brazil-preset.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<?xml version="1.0" encoding="utf-8" ?>
<annotations author="Aun 'Skippern' Johnsen" version="0.1" description="Brazilian Tagging Preset" shortdescription="Brazil">
<chunk id="rodovia">
<combo key="network" text="Network" use_last_as_default="true" required="true" >
<list_entry value="BR" short_description="Federal Highway"/>
<list_entry value="BR:AC" short_description="Acre State Highway"/>
<list_entry value="BR:AL" short_description="Alagoas State Highway"/>
<list_entry value="BR:AP" short_description="Amapá State Highway"/>
<list_entry value="BR:AM" short_description="Amazonas State Highway"/>
<list_entry value="BR:BA" short_description="Bahia State Highway"/>
<list_entry value="BR:CE" short_description="Ceará State Highway"/>
<list_entry value="BR:DF" short_description="Destrito Federal Highway"/>
<list_entry value="BR:ES" short_description="Espírito Santo State Highway"/>
<list_entry value="BR:GO" short_description="Goiás State Highway"/>
<list_entry value="BR:MA" short_description="Maranhão State Highway"/>
<list_entry value="BR:MT" short_description="Mato Grosso State Highway"/>
<list_entry value="BR:MS" short_description="Mato Grosso do Sul State Highway"/>
<list_entry value="BR:MG" short_description="Minas Gerais State Highway"/>
<list_entry value="BR:PA" short_description="Pará State Highway"/>
<list_entry value="BR:PB" short_description="Paraiba State Highway"/>
<list_entry value="BR:PR" short_description="Paraná State Highway"/>
<list_entry value="BR:PE" short_description="Pernambuco State Highway"/>
<list_entry value="BR:PI" short_description="Piaui State Highway"/>
<list_entry value="BR:RJ" short_description="Rio de Janeiro State Highway"/>
<list_entry value="BR:RN" short_description="Rio Grande do Norte State Highway"/>
<list_entry value="BR:RS" short_description="Rio Grande do Sul State Highway"/>
<list_entry value="BR:RO" short_description="Rondônia State Highway"/>
<list_entry value="BR:RR" short_description="Roraima State Highway"/>
<list_entry value="BR:SC" short_description="Santa Catarina State Highway"/>
<list_entry value="BR:SP" short_description="São Paulo State Highway"/>
<list_entry value="BR:SE" short_description="Sergipe State Highway"/>
<list_entry value="BR:TO" short_description="Tocatins State Highway"/>
</combo>
</chunk>
<chunk id="road_attributes">
<combo key="lanes" text="Lanes">
<list_entry value="1"/>
<list_entry value="2"/>
<list_entry value="3"/>
<list_entry value="4"/>
<list_entry value="5"/>
<list_entry value="6"/>
</combo>
<space/>
<text key="maxspeed" text="Max. speed (km/h)"/>
<text key="maxheight" text="Max. height"/>
<text key="maxweight" text="Max. weight"/>
<space/>
<check key="bridge" text="Bridge"/>
<check key="tunnel" text="Tunnel"/>
<check key="oneway" text="Oneway"/>
<check key="lit" text="Lit"/>
<check key="cutting" text="Cutting"/>
<check key="embankment" text="Embankment"/>
<check key="passing_places" text="Passing Places"/>
<check key="lit" text="Streetlights"/>
<space/>
<combo key="incline" text="Incline">
<list_entry value="10%"/>
<list_entry value="-10%"/>
<list_entry value="10º"/>
<list_entry value="-10º"/>
<list_entry value="up"/>
<list_entry value="down"/>
</combo>
<text key="width" text="Width"/>
<combo key="overtaking" text="Overtaking">
<list_entry value="yes"/>
<list_entry value="no"/>
<list_entry value="forward"/>
<list_entry value="backward"/>
</combo>
</chunk>
<chunk id="surface">
<combo key="surface" text="Surface" use_last_as_default="true">
<list_entry value="paved"/>
<list_entry value="unpaved"/>
<list_entry value="asfalt"/>
<list_entry value="cobblestone"/>
<list_entry value="concrete"/>
<list_entry value="earth"/>
<list_entry value="sand"/>
</combo>
</chunk>
<group name="Brazil" pt.name="Brasil" pt_BR.name="Brasil" icon="http://upload.wikimedia.org/wikipedia/commons/thumb/0/05/Flag_of_Brazil.svg/22px-Flag_of_Brazil.svg.png">
<item name="Highway Network" icon="presets/motorway.png" type="way,closedway,relation">
<label text="Edit Highway Network"
pt.text="Editar rede de Rodovia"/>
<space />
<combo key="highway" text="Highway" use_last_as_default="true" required="true">
<list_entry value="motorway"/>
<list_entry value="motorway_link"/>
<list_entry value="trunk"/>
<list_entry value="trunk_link"/>
<list_entry value="primary"/>
<list_entry value="primary_link"/>
<list_entry value="secundary"/>
<list_entry value="secundary_link"/>
<list_entry value="tertiary"/>
<list_entry value="tertiary_link"/>
<list_entry value="unclassified"/>
</combo>
<text key="name" text="Name" default="" delete_if_empty="true" />
<text key="ref" text="Reference" default="" delete_if_empty="true" />
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
<optional>
<reference ref="surface"/>
</optional>
</item>
<item name="Duplicada" icon="presets/trunk.png" type="way,closedway,relation">
<label text="DNIT class duplicated highway"
pt.text="DNIT classe rodovia duplicada" />
<key key="highway" value="trunk"/>
<key key="oneway" value="true"/>
<key key="surface" value="paved" match="none"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
</item>
<item name="Pivementada" icon="presets/way_primary.png" type="way,closedway,relation">
<label text="DNIT class paved highway"
pt.text="DNIT classe rodovia pivementada" />
<key key="highway" value="primary"/>
<key key="surface" value="paved" match="none"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
</item>
<item name="Pivementada (inferior)" icon="presets/way_secondary.png" type="way,closedway,relation">
<label text="DNIT class paved highway (without shoulder)"
pt.text="DNIT classe rodovia pivementada (sem acostamento)" />
<key key="highway" value="secondary" />
<key key="surface" value="paved" match="none"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
</item>
<item name="Implantada" icon="presets/way_tertiary.png" type="way,closedway,relation">
<label text="DNIT class implemented highway"
pt.text="DNIT classe rodovia implantada" />
<key key="highway" value="tertiary"/>
<key key="surface" value="unpaved" match="none"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
</item>
<item name="Leitao Natural" icon="presets/way_unclassified.png" type="way,closedway,relation">
<label text="DNIT class highway of natural track"
pt.text="DNIT classe rodovia leitao natural" />
<key key="highway" value="unclassified"/>
<key key="surface" value="unpaved" match="none"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
<reference ref="road_attributes"/>
</item>
<item name="Planejada" icon="presets/construction.png" type="way,closedway,relation">
<label text="DNIT planned highways"
pt.text="DNIT rodovias planejada"/>
<key key="highway" value="proposed"/>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<reference ref="rodovia"/>
</item>
<item name="Junction" icon="presets/roundabout.png" type="way,closedway">
<label text="Junctions"/>
<link href="http://wiki.openstreetmap.org/wiki/Key:junction"
pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Key:junction" />
<combo key="highway" text="Highway" required="true" match="none">
<list_entry value="motorway"/>
<list_entry value="motorway_link"/>
<list_entry value="trunk"/>
<list_entry value="trunk_link"/>
<list_entry value="primary"/>
<list_entry value="primary_link"/>
<list_entry value="secundary"/>
<list_entry value="secundary_link"/>
<list_entry value="tertiary"/>
<list_entry value="tertiary_link"/>
<list_entry value="unclassified"/>
<list_entry value="residential"/>
<list_entry value="service"/>
</combo>
<combo key="junction" text="Junction" required="true" match="key">
<list_entry value="yes"/>
<list_entry value="roundabout"/>
<list_entry value="jughandle"/>
<list_entry value="ramp"/>
<list_entry value="cloverleaf"/>
<list_entry value="approach"/>
<list_entry value="diamond"/>
<list_entry value="trumpet"/>
</combo>
<text key="name" text="Name"/>
<text key="ref" text="Reference"/>
<check key="supervised" text="Supervised" default="off"/>
</item>
<item name="Fuel" icon="presets/fuel.png" type="node,closedway">
<link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=fuel"
pt.href="http://wiki.openstreetmap.org/wiki/Pt:Tag:amenity=fuel"
pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:amenity=fuel" />
<label text="Edit Fuel" />
<key key="amenity" value="fuel" />
<combo key="brand" text="Brand">
<list_entry value="Petrobras"/>
<list_entry value="Ale"/>
<list_entry value="Ipiranga"/>
<list_entry value="Esso"/>
<list_entry value="Shell"/>
<list_entry value="Independent"/>
</combo>
<text key="name" text="Name" />
<text key="operator" text="Operator" />
<combo key="opening_hours" text="Opening Hours" values="24/7,Mo-Fr 08:30-20:00,Tu-Su 08:00-15:00;Sa 08:00-12:00" />
<combo key="shop" text="With shop">
<list_entry value="yes"/>
<list_entry value="convenience"/>
<list_entry value="kiosk"/>
<list_entry value="no"/>
</combo>
<label text="Fuel types:" />
<check key="fuel:diesel" text="Diesel" default="off" />
<check key="fuel:biodiesel" text="Bio Diesel" default="off" />
<check key="fuel:octane_87" text="Octane 87 (Comum, Ativada)" default="off" />
<check key="fuel:octane_91" text="Octane 91 (Premium)" default="off" />
<check key="fuel:octane_95" text="Octane 95 (Podium)" default="off" />
<check key="fuel:ethanol" text="Ethanol" default="off" />
<check key="fuel:cng" text="GNV (Compressed Natural Gas)" default="off" />
<label text="Check for AKI, (R+M/2), RON, MON or Octane number for gasoline variants."/>
<space/>
<label text="Type of service"/>
<check key="self_service" text="Self Service" default="off" />
<label text="Payment types"/>
<check key="payment:cash" text="Cash" default="on" />
<check key="payment:check" text="Check" default="off" />
<check key="payment:debit_cards" text="Debit Cards" default="off" />
<check key="payment:maestro" text="Maestro" default="off" />
<check key="payment:visa_electron" text="Visa Electron" default="off" />
<check key="payment:bankaxess" text="BankAxess" default="off" />
<check key="payment:credit_cards" text="Credit Cards" default="off" />
<check key="payment:mastercard" text="MasterCard" default="off" />
<check key="payment:visa" text="Visa" default="off" />
<check key="payment:american_express" text="American Express" default="off" />
<check key="payment:diners_club" text="Diners Club" default="off" />
</item>
<item name="Love Hotel" pt.name="Motel" pt_BR.name="Motel" icon="https://github.com/Skippern/brasil-josm-preset/raw/master/icons/love_hotel.svg" type="node,closedway">
<link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=love_hotel"
pt.href="http://wiki.openstreetmap.org/wiki/Pt:Tag:amenity=love_hotel"
pt_BR.href="http://wiki.openstreetmap.org/wiki/Pt-br:Tag:amenity=love_hotel" />
<label text="Edit Love Hotel" />
<space />
<key key="amenity" value="love_hotel" />
<key key="tourism" value="motel" />
<text key="name" text="Name" />
<combo key="opening_hours" text="Opening Hours">
<list_entry value="24/7"/>
<list_entry value="Mo-Fr 08:30-20:00"/>
<list_entry value="Tu-Su 08:00-15:00;Sa 08:00-12:00"/>
</combo>
</item>
<item name="Addresses" icon="presets/addresses.png" type="node,way,closedway,relation">
<label text="Edit Annotation/Address"
pt.text="Editar Endreço"
pt_BR.text="Editar Endreço"/>
<space/>
<key key="addr:country" value="BR"/>
<text key="addr:housenumber" text="House number" auto_increment="-2,-1,+1,+2"/>
<text key="addr:housename" text="House name"/>
<text key="addr:place" text="Place or locality name"/>
<text key="addr:street" text="Street name"/>
<text key="addr:suburb" text="Suburb name"/>
<text key="addr:city" text="City name"/>
<combo key="addr:state" text="State name" pt.text="Nome do Estado" pt_BR.text="Nome do Estado" use_last_as_default="true" required="true">
<list_entry value="AC" display_value="Acre"/>
<list_entry value="AL" display_value="Alagoas"/>
<list_entry value="AP" display_value="Amapá"/>
<list_entry value="AM" display_value="Amazonas"/>
<list_entry value="BA" display_value="Bahia"/>
<list_entry value="CE" display_value="Ceará"/>
<list_entry value="DF" display_value="Distrito Federal"/>
<list_entry value="ES" display_value="Espírito Santo"/>
<list_entry value="GO" display_value="Goiás"/>
<list_entry value="MA" display_value="Maranhão"/>
<list_entry value="MT" display_value="Mato Grosso"/>
<list_entry value="MS" display_value="Mato Grosso do Sul"/>
<list_entry value="MG" display_value="Minas Gerais"/>
<list_entry value="PR" display_value="Paraná"/>
<list_entry value="PB" display_value="Paraíba"/>
<list_entry value="PA" display_value="Pará"/>
<list_entry value="PE" display_value="Pernambuco"/>
<list_entry value="PI" display_value="Piauí"/>
<list_entry value="PR" display_value="Rio de Janeiro"/>
<list_entry value="RN" display_value="Rio Grande do Norte"/>
<list_entry value="RS" display_value="Rio Grande do Sul"/>
<list_entry value="RO" display_value="Rondônia"/>
<list_entry value="RR" display_value="Roraima"/>
<list_entry value="SC" display_value="Santa Catarina"/>
<list_entry value="SE" display_value="Sergipe"/>
<list_entry value="SP" display_value="São Paulo"/>
<list_entry value="TO" display_value="Tocatins"/>
</combo>
<text key="addr:postcode" text="Post Code (CEP)" pt.text="CEP" pt_BR.text="CEP"/>
</item>
</group>
</annotations>