-
Notifications
You must be signed in to change notification settings - Fork 1
/
model.xml
436 lines (385 loc) · 20.3 KB
/
model.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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<?xml version="1.0" encoding="UTF-8"?>
<presets xmlns="http://josm.openstreetmap.de/ropod-tagging-preset-1.0" author="Lakshadeep Naik">
<chunk id="surface_smoothness">
<combo key="surface:smoothness" text="Smoothness" values_searchable="true">
<list_entry value="excellent" short_description="Thin Rollers: rollerblade, skateboard"/>
<list_entry value="good" short_description="Thin Wheels: racing bike"/>
<list_entry value="intermediate" short_description="Wheels: city bike, wheelchair, scooter"/>
<list_entry value="bad" short_description="Robust Wheels: trekking bike, car, rickshaw"/>
<list_entry value="impassable" short_description="No wheeled vehicle"/>
</combo>
</chunk>
<chunk id="surface">
<combo key="surface" text="Surface" values="paved,unpaved,asphalt,concrete,metal,wood,paving_stones,cobblestone,gravel,pebblestone,compacted,grass_paver,grass,sand,ground,sett,carpet,tiles,vinyl,laminate"/>
</chunk>
<chunk id="internet">
<combo key="internet" text="Internet access" values="yes,no,wired,wireless"/>
<combo key="internet:ssid" text="SSID for WiFi networks"/>
</chunk>
<chunk id="wall_material">
<combo key="wall:material" text="Wall material" values="plaster,concrete,brick,wood,stone,glass,timber_framing,metal,other"/>
</chunk>
<chunk id="door_material">
<combo key="door:material" text="Wall material" values="plaster,concrete,brick,wood,stone,glass,timber_framing,metal,other"/>
</chunk>
<chunk id="access">
<combo key="access" text="Access" values="yes,no,private,permissive,customers"/>
</chunk>
<chunk id="level">
<text key="level" text="Level" />
</chunk>
<group name="LoD1: Viewing indoor world on OSM">
<item name="Building" type="closedway">
<label text="Used for representing geographical and other basic information about the building" />
<text key="building" text="Usage" />
<text key="name" text="Name" />
<text key="addr:city" text="City" />
<text key="addr:country" text="Country" />
<text key="height" text="Height (in m)" />
<text key="min-level" text="Minimum level" />
<text key="max-level" text="Maximum level" />
<text key="non-existent-levels" text="Non existent levels" />
<text key="building:color" text="Building color" />
<text key="building:material" text="Building material" />
</item>
<item name="Wall" type="closedway">
<label text="Used for representing geometrical and perceptual information about the wall" />
<key key="indoor" value="wall" />
<text key="height" text="Height (in m)" />
<text key="min-height" text="Min-height (in m)" value="0" />
<reference ref="level"/>
<reference ref="wall_material"/>
</item>
<item name="Room" type="closedway">
<label text="Used for representing geometry, surface properties of the room and other basic information" />
<key key="indoor" value="room" />
<text key="ref" text="Ref" />
<text key="room" text="Usage of room" />
<reference ref="access"/>
<reference ref="surface"/>
<reference ref="surface_smoothness"/>
<reference ref="internet"/>
<reference ref="level"/>
</item>
<item name="Area" type="closedway">
<label text="Used for representing geometry, surface properties of the area and other basic information" />
<key key="indoor" value="area" />
<text key="area" text="Usage of area" />
<text key="ref" text="Ref" />
<reference ref="surface"/>
<reference ref="surface_smoothness"/>
<reference ref="internet"/>
<reference ref="level"/>
</item>
<item name="Corridor" type="closedway">
<label text="Used for representing geometry, surface properties of the corridor and other basic information" />
<key key="indoor" value="corridor" />
<text key="ref" text="Ref" />
<reference ref="surface"/>
<reference ref="surface_smoothness"/>
<reference ref="internet"/>
<reference ref="level"/>
</item>
<item name="Elevator" type="closedway">
<label text="Used for representing geometry of the elevator" />
<text key="ref" text="Ref" />
<combo key="indoor" text="indoor" values="yes,room,area"/>
<key key="levels" text="Levels connected by elevator" />
</item>
<item name="Stairs" type="closedway">
<label text="Used for representing geometry of the stairs" />
<text key="ref" text="Ref" />
<combo key="indoor" text="indoor" values="yes,no,room,area"/>
<text key="levels" text="Levels connected by stairs" />
</item>
<item name="Door" type="closedway">
<label text="Used for representing geometry of the door along with its perception and navigation properties" />
<key key="indoor" value="door"/>
<combo key="door" text="Type of door" values="hinged,sliding,revolving,folding,trapdoor,overhead,loading-dock,yes,no"/>
<combo key="door:automatic" text="Door automatic" values="yes,no"/>
<combo key="door:direction" text="Door direction" values_searchable="true">
<list_entry value="inside" short_description="while entering it opens with direction of movement"/>
<list_entry value="outside" short_description="while entering it opens against direction of movement"/>
<list_entry value="both" short_description="both directions possible"/>
</combo>
<text key="step_count" text="Step count" />
<check key="always_closed" text="Always closed?" default="off" />
<check key="double_doors" text="Double doors?" default="off" />
<reference ref="level"/>
</item>
</group>
<group name="LoD2: Planning global navigation routes">
<item name="horizontal" type="way">
<label text="Used for planning navigation routes on a given floor" />
<text key="highway" text="highway" value="footway" />
<combo key="oneway" text="oneway" values="yes,no"/>
<optional>
<text key="lanes" text="lanes" />
<text key="lanes:forward" text="forward lanes" />
<text key="lanes:backward" text="backward lanes" />
<text key="lanes:forward:speed" text="forward lanes max speed" />
<text key="lanes:backward:speed" text="backward lanes max speed" />
</optional>
<reference ref="level"/>
</item>
<item name="vertical" type="node">
<label text="Used for planning navigation routes across the floors" />
<combo key="highway" text="highway" values="elevator,escalator,stairs,ramp"/>
<text key="levels" text="Connected levels" />
<optional>
<combo key="conveying" text="Conveying" values="yes,no"/>
<text key="stair:length" text="Length of step(in m)" />
<text key="stair:width" text="Width of single step (in m)" />
<text key="stair:height" text="Height of single step (in m)" />
<combo key="ramp:stroller" text="Ramp stroller" values="yes,no"/>
<text key="ramp:incline" text="Ramp incline (in degrees)" />
<text key="ramp:length" text="Length of step(in m)" />
</optional>
</item>
</group>
<group name="LoD3: Planning robot local navigation routes">
<item name="Local area" type="closedway">
<label text="Used for modeling local trafic rules for robot" />
<text key="indoor" value="local-area" />
<text key="behaviour" text="behaviour" />
<text key="ref" text="Ref" />
<reference ref="level"/>
</item>
<item name="Connection" type="way">
<label text="Used for planning local robot navigation " />
<text key="highway" text="highway" value="localway" />
<combo key="oneway" text="oneway" values="yes,no"/>
<optional>
<text key="lanes" text="lanes" />
<text key="lanes:forward" text="forward lanes" />
<text key="lanes:backward" text="backward lanes" />
<text key="lanes:forward:speed" text="forward lanes max speed" />
<text key="lanes:backward:speed" text="backward lanes max speed" />
</optional>
<reference ref="level"/>
</item>
</group>
<group name="LoD4: Modeling robot perception features">
<item name="WLAN" type="node">
<label text="Used for representing position and properties of wifi access points" />
<text key="WLAN_ssid" text="WLAN ssid" />
<optional>
<reference ref="access"/>
</optional>
<reference ref="level"/>
</item>
<item name="window" type="node">
<label text="Used for representing geometry of the window along with its perception properties" />
<text key="indoor" value="window" />
<text key="height" text="Height (in m)" />
<text key="width" text="Width (in m)" />
<text key="breast" text="Breast (in m) (height from ground)" />
<combo key="shape" text="Shape" values="rectangle,circle,roundtop" />
<text key="window:panes" text="Panes (eg. 3X2,2X2 etc.)" />
<check key="window:shutter" text="Shutter" default="off" />
<combo key="window:material" text="Window material" values="glass,glass_brick,stained_glass,plastic" />
<combo key="window:color" text="Window color" />
<combo key="frame:material" text="Frame material" values="wood,steel,aluminium" />
<text key="frame:color" text="Frame colour" />
<reference ref="level"/>
</item>
<item name="feature" type="node">
<label text="Used for representing other features such as electric switch boards, light source etc." />
<combo key="indoor" text="indoor" values="fire_extinguisher,electric_switch,poster,navigation_sign,waste_basket,light_source,other" />
<text key="height" text="Height (in m)" />
<text key="width" text="Width (in m)" />
<text key="breast" text="breast (in m) (height from ground)" />
<optional>
<combo key="shape" text="shape" values="rectangle,circle,roundtop,triangle" />
<text key="color" text="colour" />
</optional>
<reference ref="level"/>
</item>
<item name="Wall side" type="relation">
<label text="Used for describing properties of the wall side" />
<text key="ref" text="Wall side identifier" />
<text key="type" text="type" />
<text key="color" text="Color" />
<reference ref="wall_material"/>
<roles>
<role key="corner" text="corner" type="node" />
<role key="feature" text="feature" requisite="optional" type="node" />
</roles>
</item>
<item name="Door side" type="relation">
<label text="Used for describing properties of the door side" />
<text key="ref" text="Door side identifier" />
<text key="color" text="color" />
<combo key="door:handle" text="Door handle" values="knob,lever,crash-bar,ring,hole"/>
<reference ref="door_material"/>
<text key="type" text="type" />
<roles>
<role key="corner" text="corner" type="node" />
<role key="feature" text="feature" requisite="optional" type="node" />
</roles>
</item>
</group>
<group name="LoD5: Linking it all together (creating hierarchies)">
<item name="Building" type="relation">
<label text="Used for linking geometry, topology of the building and also the robot behaviour and perception models" />
<text key="ref" text="Building identifier" />
<text key="type" text="type" />
<roles>
<role key="level" text="level" type="relation" />
<role key="elevator" text="elevator" requisite="optional" type="relation" />
<role key="stairs" text="stairs" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="behaviour" text="behaviour" type="relation" />
<role key="perception_feature" text="perception-feature" type="relation" />
</roles>
</item>
<item name="Level" type="relation">
<label text="Used for linking geometrical and topological models of all the indoor elements on a particular floor" />
<text key="ref" text="Level identifier" />
<text key="name" text="Level name (optional)" />
<text key="height" text="Level height (in m)" />
<text key="type" text="type" />
<roles>
<role key="room" text="room" requisite="optional" type="relation" />
<role key="area" text="area" requisite="optional" type="relation" />
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="global_connection" text="connection" requisite="optional" type="way" />
<role key="corridor" text="corridor" requisite="optional" type="relation" />
<role key="wlan" text="wlan" requisite="optional" type="node" />
</roles>
</item>
<item name="Local area" type="relation">
<label text="Used for linking geometry and topology of local area" />
<text key="ref" text="Local area identifier" />
<text key="type" text="type" />
<roles>
<role key="topology" text="topology" requisite="optional" type="node" />
<role key="geometry" text="geometry" type="closedway" />
</roles>
</item>
<item name="Elevator" type="relation">
<label text="Used for linking doors and walls of the elevator along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Elevator identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Stairs/Ramp" type="relation">
<label text="Used for linking doors and walls of the stairs along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Stairs identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="relation,node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Room" type="relation">
<label text="Used for linking doors and walls of the room along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Room identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="pillar" text="pillar" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Area" type="relation">
<label text="Used for linking doors and walls of the area along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Area identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="pillar" text="pillar" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="relation,node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Corridor" type="relation">
<label text="Used for linking doors and walls of the corridor along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Corridor identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="pillar" text="pillar" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="relation,node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Junction" type="relation">
<label text="Used for linking doors and walls of the junction along with its geometrical and topological models, connection routes and features" />
<text key="ref" text="Junction identifier" />
<text key="type" text="type" />
<roles>
<role key="door" text="door" requisite="optional" type="relation" />
<role key="wall" text="wall" requisite="optional" type="relation" />
<role key="pillar" text="pillar" requisite="optional" type="relation" />
<role key="geometry" text="geometry" type="closedway" />
<role key="topology" text="topology" type="relation,node" />
<role key="local_connection" text="connection" requisite="optional" type="way" />
<role key="recovery_connection" text="Recovery connection" requisite="optional" type="way" />
<role key="feature" text="feature" requisite="optional" type="node" />
<role key="local_area" text="Local area" requisite="optional" type="relation" />
</roles>
</item>
<item name="Wall" type="relation">
<label text="Used for linking geometry of the wall, its sides and corners" />
<text key="ref" text="Wall identifier" />
<text key="type" text="type" />
<roles>
<role key="geometry" text="geometry" type="way" />
<role key="corner" text="corner" type="node" />
<role key="side" text="side" requisite="optional" type="relation" />
</roles>
</item>
<item name="Pillar" type="relation">
<label text="Used for linking geometry of the pillar" />
<text key="ref" text="Pillar identifier" />
<text key="type" text="type" />
<roles>
<role key="geometry" text="geometry" type="way" />
</roles>
</item>
<item name="Door" type="relation">
<label text="Used for linking geometry and topology of the door along with its 2 sides and hinge if applicable" />
<text key="ref" text="Door identifier" />
<text key="type" text="type" />
<roles>
<role key="side" text="side" requisite="optional" type="relation" />
<role key="hinge" text="hinge" requisite="optional" type="node" />
<role key="geometry" text="geometry" type="way" />
<role key="topology" text="topology" type="node" />
</roles>
</item>
</group>
</presets>