Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Contents of /trunk/xml/routino-tagging.xml
Parent Directory
|
Revision Log
Revision 897 -
(show annotations)
(download)
(as text)
Fri Nov 11 14:29:13 2011 UTC (13 years, 4 months ago) by amb
File MIME type: application/xml
File size: 21721 byte(s)
Fri Nov 11 14:29:13 2011 UTC (13 years, 4 months ago) by amb
File MIME type: application/xml
File size: 21721 byte(s)
Add some more tagging rules from the UK error.log file.
1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | |
3 | <!-- ============================================================ |
4 | An XML format file containing Routino tagging rules |
5 | |
6 | Part of the Routino routing software. |
7 | ============================================================ |
8 | This file Copyright 2010-2011 Andrew M. Bishop |
9 | |
10 | This program is free software: you can redistribute it and/or modify |
11 | it under the terms of the GNU Affero General Public License as published by |
12 | the Free Software Foundation, either version 3 of the License, or |
13 | (at your option) any later version. |
14 | ============================================================ --> |
15 | |
16 | <routino-tagging xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
17 | xsi:noNamespaceSchemaLocation="http://www.routino.org/xml/routino-tagging.xsd"> |
18 | |
19 | <!-- -------------------- Node rules -------------------- --> |
20 | |
21 | <node> |
22 | |
23 | <!-- Note: The default is that all transport types are allowed past a barrier; |
24 | access must be specified to disallow each transport type. --> |
25 | |
26 | <!-- Barriers --> |
27 | |
28 | <if k="barrier" v="bollard"> |
29 | <output k="motorcar" v="no"/> |
30 | <output k="goods" v="no"/> |
31 | <output k="hgv" v="no"/> |
32 | <output k="psv" v="no"/> |
33 | |
34 | <unset k="barrier"/> |
35 | </if> |
36 | |
37 | <if k="barrier" v="kissing_gate"> |
38 | <set v="foot_only"/> |
39 | </if> |
40 | |
41 | <if k="barrier" v="stile"> |
42 | <set v="foot_only"/> |
43 | </if> |
44 | |
45 | <if k="barrier" v="v_stile"> |
46 | <set v="foot_only"/> |
47 | </if> |
48 | |
49 | <if k="barrier" v="turnstile"> |
50 | <set v="foot_only"/> |
51 | </if> |
52 | |
53 | <if k="barrier" v="footgate"> |
54 | <set v="foot_only"/> |
55 | </if> |
56 | |
57 | <if k="barrier" v="squeeze"> |
58 | <set v="foot_only"/> |
59 | </if> |
60 | |
61 | <if k="barrier" v="foot_only"> |
62 | <output k="horse" v="no"/> |
63 | <output k="wheelchair" v="no"/> |
64 | <output k="bicycle" v="no"/> |
65 | <output k="moped" v="no"/> |
66 | <output k="motorbike" v="no"/> |
67 | <output k="motorcar" v="no"/> |
68 | <output k="goods" v="no"/> |
69 | <output k="hgv" v="no"/> |
70 | <output k="psv" v="no"/> |
71 | |
72 | <unset k="barrier"/> |
73 | </if> |
74 | |
75 | <if k="barrier" v="cycle_barrier"> |
76 | <output k="horse" v="no"/> |
77 | <output k="wheelchair" v="no"/> |
78 | <output k="bicycle" v="no"/> |
79 | <output k="moped" v="no"/> |
80 | <output k="motorbike" v="no"/> |
81 | <output k="motorcar" v="no"/> |
82 | <output k="goods" v="no"/> |
83 | <output k="hgv" v="no"/> |
84 | <output k="psv" v="no"/> |
85 | |
86 | <unset k="barrier"/> |
87 | </if> |
88 | |
89 | <if k="barrier" v="horse_barrier"> |
90 | <output k="horse" v="no"/> |
91 | |
92 | <unset k="barrier"/> |
93 | </if> |
94 | |
95 | <if k="barrier" v="cattle_grid"> |
96 | <output k="horse" v="no"/> |
97 | |
98 | <unset k="barrier"/> |
99 | </if> |
100 | |
101 | <if k="barrier" v="car_trap"> |
102 | <output k="moped" v="no"/> |
103 | <output k="motorbike" v="no"/> |
104 | <output k="motorcar" v="no"/> |
105 | <output k="goods" v="no"/> |
106 | <output k="hgv" v="no"/> |
107 | <output k="psv" v="no"/> |
108 | |
109 | <unset k="barrier"/> |
110 | </if> |
111 | |
112 | <!-- Barriers that are too generic but listed to stop errors --> |
113 | |
114 | <if k="barrier" v="gate"> <unset k="barrier"/></if> |
115 | <if k="barrier" v="entrance"> <unset k="barrier"/></if> |
116 | <if k="barrier" v="lift_gate"><unset k="barrier"/></if> |
117 | <if k="barrier" v="block"> <unset k="barrier"/></if> |
118 | |
119 | <if k="barrier"> |
120 | <logerror/> |
121 | </if> |
122 | |
123 | <!-- Normalisation of access tags --> |
124 | |
125 | <if v="designated" ><set v="yes"/></if> |
126 | <if v="permissive" ><set v="yes"/></if> |
127 | <if v="destination"><set v="yes"/></if> |
128 | <if v="true" ><set v="yes"/></if> |
129 | |
130 | <if v="private" ><set v="no"/></if> |
131 | <if v="limited" ><set v="no"/></if> |
132 | |
133 | <!-- Generic access permissions for all transport types (to override defaults) --> |
134 | |
135 | <if k="access"> |
136 | <set k="noaccess" v="yes"/> |
137 | </if> |
138 | |
139 | <if k="access" v="yes"> |
140 | <set k="noaccess" v="no"/> |
141 | </if> |
142 | |
143 | <if k="noaccess" v="yes"> |
144 | <output k="foot" v="no"/> |
145 | <output k="horse" v="no"/> |
146 | <output k="wheelchair" v="no"/> |
147 | <output k="bicycle" v="no"/> |
148 | <output k="moped" v="no"/> |
149 | <output k="motorbike" v="no"/> |
150 | <output k="motorcar" v="no"/> |
151 | <output k="goods" v="no"/> |
152 | <output k="hgv" v="no"/> |
153 | <output k="psv" v="no"/> |
154 | </if> |
155 | |
156 | <!-- Generic access permissions for classes of transport types --> |
157 | |
158 | <if k="motor_vehicle"> |
159 | <output k="moped"/> |
160 | <output k="motorbike"/> |
161 | <output k="motorcar"/> |
162 | <output k="goods"/> |
163 | <output k="hgv"/> |
164 | <output k="psv"/> |
165 | </if> |
166 | |
167 | <if k="vehicle"> |
168 | <output k="bicycle"/> |
169 | <output k="moped"/> |
170 | <output k="motorbike"/> |
171 | <output k="motorcar"/> |
172 | <output k="goods"/> |
173 | <output k="hgv"/> |
174 | <output k="psv"/> |
175 | </if> |
176 | |
177 | <!-- Specific access rules (to override the generic ones) --> |
178 | |
179 | <if k="foot" ><output/></if> |
180 | <if k="horse" ><output/></if> |
181 | <if k="wheelchair"><output/></if> |
182 | <if k="bicycle" ><output/></if> |
183 | <if k="moped" ><output/></if> |
184 | <if k="motorbike" ><output/></if> |
185 | <if k="motorcar" ><output/></if> |
186 | <if k="goods" ><output/></if> |
187 | <if k="hgv" ><output/></if> |
188 | <if k="psv" ><output/></if> |
189 | |
190 | |
191 | <!-- Mini-roundabouts --> |
192 | |
193 | <if k="highway" v="mini_roundabout"> |
194 | <output/> |
195 | </if> |
196 | |
197 | </node> |
198 | |
199 | <!-- -------------------- Way rules -------------------- --> |
200 | |
201 | <way> |
202 | |
203 | <!-- Note: The default is that no transport type is allowed on any highway; |
204 | access must be specified to allow each transport type. --> |
205 | |
206 | <if k="highway"> |
207 | <output/> |
208 | </if> |
209 | |
210 | <if> |
211 | <set k="not_highway" v="yes"/> |
212 | </if> |
213 | |
214 | <if k="highway"> |
215 | <unset k="not_highway"/> |
216 | </if> |
217 | |
218 | <!-- Highway types (includes default access and default properties) --> |
219 | |
220 | <if k="highway" v="motorway_link"> |
221 | <set v="motorway"/> |
222 | </if> |
223 | |
224 | <if k="highway" v="motorway"> |
225 | <output k="highway"/> |
226 | |
227 | <output k="motorbike" v="yes"/> |
228 | <output k="motorcar" v="yes"/> |
229 | <output k="goods" v="yes"/> |
230 | <output k="hgv" v="yes"/> |
231 | <output k="psv" v="yes"/> |
232 | |
233 | <output k="paved" v="yes"/> |
234 | <output k="multilane" v="yes"/> |
235 | <output k="oneway" v="yes"/> |
236 | </if> |
237 | |
238 | <if k="highway" v="trunk_link"> |
239 | <set v="trunk"/> |
240 | </if> |
241 | |
242 | <if k="highway" v="trunk"> |
243 | <output k="highway"/> |
244 | |
245 | <output k="bicycle" v="yes"/> |
246 | <output k="moped" v="yes"/> |
247 | <output k="motorbike" v="yes"/> |
248 | <output k="motorcar" v="yes"/> |
249 | <output k="goods" v="yes"/> |
250 | <output k="hgv" v="yes"/> |
251 | <output k="psv" v="yes"/> |
252 | |
253 | <output k="paved" v="yes"/> |
254 | </if> |
255 | |
256 | <if k="highway" v="primary_link"> |
257 | <set v="primary"/> |
258 | </if> |
259 | |
260 | <if k="highway" v="primary"> |
261 | <output k="highway"/> |
262 | |
263 | <output k="foot" v="yes"/> |
264 | <output k="horse" v="yes"/> |
265 | <output k="wheelchair" v="no"/> |
266 | <output k="bicycle" v="yes"/> |
267 | <output k="moped" v="yes"/> |
268 | <output k="motorbike" v="yes"/> |
269 | <output k="motorcar" v="yes"/> |
270 | <output k="goods" v="yes"/> |
271 | <output k="hgv" v="yes"/> |
272 | <output k="psv" v="yes"/> |
273 | |
274 | <output k="paved" v="yes"/> |
275 | </if> |
276 | |
277 | <if k="highway" v="secondary_link"> |
278 | <set v="secondary"/> |
279 | </if> |
280 | |
281 | <if k="highway" v="secondary"> |
282 | <output k="highway"/> |
283 | |
284 | <output k="foot" v="yes"/> |
285 | <output k="horse" v="yes"/> |
286 | <output k="wheelchair" v="yes"/> |
287 | <output k="bicycle" v="yes"/> |
288 | <output k="moped" v="yes"/> |
289 | <output k="motorbike" v="yes"/> |
290 | <output k="motorcar" v="yes"/> |
291 | <output k="goods" v="yes"/> |
292 | <output k="hgv" v="yes"/> |
293 | <output k="psv" v="yes"/> |
294 | |
295 | <output k="paved" v="yes"/> |
296 | </if> |
297 | |
298 | <if k="highway" v="tertiary_link"> |
299 | <set v="tertiary"/> |
300 | </if> |
301 | |
302 | <if k="highway" v="tertiary"> |
303 | <output k="highway"/> |
304 | |
305 | <output k="foot" v="yes"/> |
306 | <output k="horse" v="yes"/> |
307 | <output k="wheelchair" v="yes"/> |
308 | <output k="bicycle" v="yes"/> |
309 | <output k="moped" v="yes"/> |
310 | <output k="motorbike" v="yes"/> |
311 | <output k="motorcar" v="yes"/> |
312 | <output k="goods" v="yes"/> |
313 | <output k="hgv" v="yes"/> |
314 | <output k="psv" v="yes"/> |
315 | |
316 | <output k="paved" v="yes"/> |
317 | </if> |
318 | |
319 | <if k="highway" v="minor"> |
320 | <set k="highway" v="unclassified"/> |
321 | </if> |
322 | |
323 | <if k="highway" v="road"> |
324 | <set k="highway" v="unclassified"/> |
325 | </if> |
326 | |
327 | <if k="highway" v="unclassified"> |
328 | <output k="highway"/> |
329 | |
330 | <output k="foot" v="yes"/> |
331 | <output k="horse" v="yes"/> |
332 | <output k="wheelchair" v="yes"/> |
333 | <output k="bicycle" v="yes"/> |
334 | <output k="moped" v="yes"/> |
335 | <output k="motorbike" v="yes"/> |
336 | <output k="motorcar" v="yes"/> |
337 | <output k="goods" v="yes"/> |
338 | <output k="hgv" v="yes"/> |
339 | <output k="psv" v="yes"/> |
340 | |
341 | <output k="paved" v="yes"/> |
342 | </if> |
343 | |
344 | <if k="highway" v="living_street"> |
345 | <set k="highway" v="residential"/> |
346 | </if> |
347 | |
348 | <if k="highway" v="residential"> |
349 | <output k="highway"/> |
350 | |
351 | <output k="foot" v="yes"/> |
352 | <output k="horse" v="yes"/> |
353 | <output k="wheelchair" v="yes"/> |
354 | <output k="bicycle" v="yes"/> |
355 | <output k="moped" v="yes"/> |
356 | <output k="motorbike" v="yes"/> |
357 | <output k="motorcar" v="yes"/> |
358 | <output k="goods" v="yes"/> |
359 | <output k="hgv" v="yes"/> |
360 | <output k="psv" v="yes"/> |
361 | |
362 | <output k="paved" v="yes"/> |
363 | </if> |
364 | |
365 | <if k="highway" v="services"> |
366 | <set k="highway" v="service"/> |
367 | </if> |
368 | |
369 | <if k="highway" v="layby"> |
370 | <set k="highway" v="service"/> |
371 | </if> |
372 | |
373 | <if k="highway" v="service"> |
374 | <output k="highway"/> |
375 | |
376 | <output k="foot" v="yes"/> |
377 | <output k="horse" v="yes"/> |
378 | <output k="wheelchair" v="yes"/> |
379 | <output k="bicycle" v="yes"/> |
380 | <output k="moped" v="yes"/> |
381 | <output k="motorbike" v="yes"/> |
382 | <output k="motorcar" v="yes"/> |
383 | <output k="goods" v="yes"/> |
384 | <output k="hgv" v="yes"/> |
385 | <output k="psv" v="yes"/> |
386 | |
387 | <output k="paved" v="yes"/> |
388 | </if> |
389 | |
390 | <if k="highway" v="byway"> |
391 | <set k="highway" v="track"/> |
392 | </if> |
393 | |
394 | <if k="highway" v="unsurfaced"> |
395 | <set k="highway" v="track"/> |
396 | </if> |
397 | |
398 | <if k="highway" v="unpaved"> |
399 | <set k="highway" v="track"/> |
400 | </if> |
401 | |
402 | <if k="highway" v="track"> |
403 | <output k="highway"/> |
404 | |
405 | <output k="foot" v="yes"/> |
406 | <output k="horse" v="yes"/> |
407 | <output k="bicycle" v="yes"/> |
408 | </if> |
409 | |
410 | <if k="tracktype" v="grade1"> |
411 | <output k="paved" v="yes"/> |
412 | </if> |
413 | |
414 | <if k="highway" v="cycleway"> |
415 | <output k="highway"/> |
416 | |
417 | <output k="foot" v="yes"/> |
418 | <output k="wheelchair" v="yes"/> |
419 | <output k="bicycle" v="yes"/> |
420 | |
421 | <output k="paved" v="yes"/> |
422 | </if> |
423 | |
424 | <if k="highway" v="footway"> |
425 | <set k="highway" v="path"/> |
426 | </if> |
427 | |
428 | <if k="highway" v="bridleway"> |
429 | <set k="highway" v="path"/> |
430 | |
431 | <output k="horse" v="yes"/> |
432 | <output k="bicycle" v="yes"/> |
433 | </if> |
434 | |
435 | <if k="highway" v="pedestrian"> |
436 | <set k="highway" v="path"/> |
437 | |
438 | <output k="paved" v="yes"/> |
439 | </if> |
440 | |
441 | <if k="highway" v="walkway"> |
442 | <set k="highway" v="path"/> |
443 | |
444 | <output k="paved" v="yes"/> |
445 | </if> |
446 | |
447 | <if k="highway" v="path"> |
448 | <output k="highway"/> |
449 | |
450 | <output k="foot" v="yes"/> |
451 | <output k="wheelchair" v="yes"/> |
452 | </if> |
453 | |
454 | <if k="highway" v="steps"> |
455 | <output k="highway"/> |
456 | |
457 | <output k="foot" v="yes"/> |
458 | </if> |
459 | |
460 | <if k="junction" v="roundabout"> |
461 | <output k="oneway" v="yes"/> |
462 | </if> |
463 | |
464 | <if k="route" v="ferry"> |
465 | <output k="highway" v="ferry"/> |
466 | </if> |
467 | |
468 | <!-- Normalisation of access tags --> |
469 | |
470 | <if v="designated" ><set v="yes"/></if> |
471 | <if v="permissive" ><set v="yes"/></if> |
472 | <if v="destination"><set v="yes"/></if> |
473 | <if v="true" ><set v="yes"/></if> |
474 | <if v="public" ><set v="yes"/></if> |
475 | <if v="official" ><set v="yes"/></if> |
476 | |
477 | <if v="private" ><set v="no"/></if> |
478 | |
479 | <!-- Generic access permissions for all transport types (to override defaults) --> |
480 | |
481 | <if k="access"> |
482 | <set k="noaccess" v="yes"/> |
483 | </if> |
484 | |
485 | <if k="access" v="yes"> |
486 | <set k="noaccess" v="no"/> |
487 | </if> |
488 | |
489 | <if k="noaccess" v="yes"> |
490 | <output k="foot" v="no"/> |
491 | <output k="horse" v="no"/> |
492 | <output k="wheelchair" v="no"/> |
493 | <output k="bicycle" v="no"/> |
494 | <output k="moped" v="no"/> |
495 | <output k="motorbike" v="no"/> |
496 | <output k="motorcar" v="no"/> |
497 | <output k="goods" v="no"/> |
498 | <output k="hgv" v="no"/> |
499 | <output k="psv" v="no"/> |
500 | </if> |
501 | |
502 | <!-- Generic access permissions for classes of transport types --> |
503 | |
504 | <if k="motor_vehicle"> |
505 | <output k="moped"/> |
506 | <output k="motorbike"/> |
507 | <output k="motorcar"/> |
508 | <output k="goods"/> |
509 | <output k="hgv"/> |
510 | <output k="psv"/> |
511 | </if> |
512 | |
513 | <if k="vehicle"> |
514 | <output k="bicycle"/> |
515 | <output k="moped"/> |
516 | <output k="motorbike"/> |
517 | <output k="motorcar"/> |
518 | <output k="goods"/> |
519 | <output k="hgv"/> |
520 | <output k="psv"/> |
521 | </if> |
522 | |
523 | <!-- Other access permissions (e.g. UK) --> |
524 | |
525 | <if k="designation" v="restricted_byway"> |
526 | <output k="foot" v="yes"/> |
527 | <output k="horse" v="yes"/> |
528 | <output k="wheelchair" v="yes"/> |
529 | <output k="bicycle" v="yes"/> |
530 | |
531 | <unset k="designation"/> |
532 | </if> |
533 | |
534 | <if k="designation" v="public_byway"> |
535 | <set v="byway_open_to_all_traffic"/> |
536 | </if> |
537 | |
538 | <if k="designation" v="byway"> |
539 | <set v="byway_open_to_all_traffic"/> |
540 | </if> |
541 | |
542 | <if k="designation" v="byway_open_to_all_traffic"> |
543 | <output k="foot" v="yes"/> |
544 | <output k="horse" v="yes"/> |
545 | <output k="wheelchair" v="yes"/> |
546 | <output k="bicycle" v="yes"/> |
547 | <output k="moped" v="yes"/> |
548 | <output k="motorbike" v="yes"/> |
549 | <output k="motorcar" v="yes"/> |
550 | |
551 | <unset k="designation"/> |
552 | </if> |
553 | |
554 | <if k="designation" v="permissive_bridleway"> |
555 | <set v="bridleway"/> |
556 | </if> |
557 | |
558 | <if k="designation" v="public_bridleway"> |
559 | <set v="bridleway"/> |
560 | </if> |
561 | |
562 | <if k="designation" v="bridleway"> |
563 | <output k="foot" v="yes"/> |
564 | <output k="horse" v="yes"/> |
565 | <output k="wheelchair" v="yes"/> |
566 | <output k="bicycle" v="yes"/> |
567 | |
568 | <unset k="designation"/> |
569 | </if> |
570 | |
571 | <if k="designation" v="public_cycleway"> |
572 | <output k="foot" v="yes"/> |
573 | <output k="wheelchair" v="yes"/> |
574 | <output k="bicycle" v="yes"/> |
575 | |
576 | <unset k="designation"/> |
577 | </if> |
578 | |
579 | <if k="designation" v="permissive_footpath"> |
580 | <set v="footpath"/> |
581 | </if> |
582 | |
583 | <if k="designation" v="public_footpath"> |
584 | <set v="footpath"/> |
585 | </if> |
586 | |
587 | <if k="designation" v="footpath"> |
588 | <output k="foot" v="yes"/> |
589 | <output k="wheelchair" v="yes"/> |
590 | |
591 | <unset k="designation"/> |
592 | </if> |
593 | |
594 | <if k="not_highway"> |
595 | <unset k="designation"/> |
596 | </if> |
597 | |
598 | <if k="designation"> |
599 | <logerror/> |
600 | </if> |
601 | |
602 | <!-- Specific access rules (to override the generic ones) --> |
603 | |
604 | <if k="bicycle" v="pedestrianShared"> |
605 | <set v="yes"/> |
606 | </if> |
607 | |
608 | <if k="bicycle" v="shared"> |
609 | <set v="yes"/> |
610 | </if> |
611 | |
612 | <if k="foot" ><output/></if> |
613 | <if k="horse" ><output/></if> |
614 | <if k="wheelchair"><output/></if> |
615 | <if k="bicycle" ><output/></if> |
616 | <if k="moped" ><output/></if> |
617 | <if k="motorbike" ><output/></if> |
618 | <if k="motorcar" ><output/></if> |
619 | <if k="goods" ><output/></if> |
620 | <if k="hgv" ><output/></if> |
621 | <if k="psv" ><output/></if> |
622 | |
623 | <!-- Normalisation of property tags --> |
624 | |
625 | <if k="surface" v="paved"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
626 | <if k="surface" v="sealed"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
627 | <if k="surface" v="concrete"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
628 | <if k="surface" v="cement"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
629 | <if k="surface" v="asphalt"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
630 | <if k="surface" v="tarmac"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
631 | <if k="surface" v="tar_and_chip"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
632 | <if k="surface" v="metalled"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
633 | <if k="surface" v="paving_stones"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
634 | <if k="surface" v="bricks"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
635 | <if k="surface" v="brick"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
636 | <if k="surface" v="setts"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
637 | <if k="surface" v="metal"> <set k="paved" v="yes"/> <unset k="surface"/> </if> |
638 | |
639 | <if k="surface" v="unpaved"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
640 | <if k="surface" v="unsealed"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
641 | <if k="surface" v="grass"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
642 | <if k="surface" v="grass_paver"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
643 | <if k="surface" v="ground"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
644 | <if k="surface" v="earth"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
645 | <if k="surface" v="dirt"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
646 | <if k="surface" v="soil"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
647 | <if k="surface" v="mud"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
648 | <if k="surface" v="stones"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
649 | <if k="surface" v="stone"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
650 | <if k="surface" v="gravel"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
651 | <if k="surface" v="sand"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
652 | <if k="surface" v="cobblestone"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
653 | <if k="surface" v="pebbles"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
654 | <if k="surface" v="pebblestone"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
655 | <if k="surface" v="compacted"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
656 | <if k="surface" v="hardcore"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
657 | <if k="surface" v="bark"> <set k="paved" v="no"/> <unset k="surface"/> </if> |
658 | |
659 | <if k="not_highway"> |
660 | <unset k="surface"/> |
661 | </if> |
662 | |
663 | <if k="surface"> |
664 | <logerror/> |
665 | </if> |
666 | |
667 | <if k="lanes"> |
668 | <set k="multilane" v="yes"/> |
669 | </if> |
670 | |
671 | <if k="lanes" v="1"> |
672 | <set k="multilane" v="no"/> |
673 | </if> |
674 | |
675 | <!-- Specific property rules (to override the default ones) --> |
676 | |
677 | <if k="paved" ><output/></if> |
678 | <if k="multilane"><output/></if> |
679 | |
680 | <if k="bridge" v="arch"> <set v="yes"/></if> |
681 | <if k="bridge" v="bascule"> <set v="yes"/></if> |
682 | <if k="bridge" v="drawbridge"> <set v="yes"/></if> |
683 | <if k="bridge" v="footbridge"> <set v="yes"/></if> |
684 | <if k="bridge" v="gangway"> <set v="yes"/></if> |
685 | <if k="bridge" v="humpback"> <set v="yes"/></if> |
686 | <if k="bridge" v="lifting"> <set v="yes"/></if> |
687 | <if k="bridge" v="stepping_stones"> <set v="yes"/></if> |
688 | <if k="bridge" v="suspension"> <set v="yes"/></if> |
689 | <if k="bridge" v="swing"> <set v="yes"/></if> |
690 | <if k="bridge" v="viaduct"> <set v="yes"/></if> |
691 | |
692 | <if k="bridge"><output/></if> |
693 | |
694 | <if k="tunnel" v="underpass"> <set v="yes"/></if> |
695 | |
696 | <if k="tunnel"><output/></if> |
697 | |
698 | <!-- The "footroute" and "bicycleroute" properties can be set here, |
699 | but normally they are set by the relation rules. --> |
700 | |
701 | <!-- Output the restriction tags --> |
702 | |
703 | <if k="oneway"><output/></if> |
704 | |
705 | <if k="maxspeed"><output/></if> |
706 | |
707 | <if k="maxweight"><output/></if> |
708 | <if k="maxheight"><output/></if> |
709 | <if k="maxwidth" ><output/></if> |
710 | <if k="maxlength"><output/></if> |
711 | |
712 | <!-- Output the name and reference tags --> |
713 | |
714 | <if k="name"><output/></if> |
715 | <if k="ref" ><output/></if> |
716 | |
717 | </way> |
718 | |
719 | <!-- -------------------- Relation rules -------------------- --> |
720 | |
721 | <relation> |
722 | |
723 | <if k="type"> |
724 | <output/> |
725 | </if> |
726 | |
727 | <!-- Copy route relations --> |
728 | |
729 | <if k="route" v="foot"> |
730 | <output k="footroute" v="yes"/> |
731 | </if> |
732 | |
733 | <if k="route" v="walking"> |
734 | <output k="footroute" v="yes"/> |
735 | </if> |
736 | |
737 | <if k="route" v="hiking"> |
738 | <output k="footroute" v="yes"/> |
739 | </if> |
740 | |
741 | <if k="route" v="foot;bicycle"> |
742 | <output k="footroute" v="yes"/> |
743 | <output k="bicycleroute" v="yes"/> |
744 | </if> |
745 | |
746 | <if k="route" v="bicycle;foot"> |
747 | <output k="footroute" v="yes"/> |
748 | <output k="bicycleroute" v="yes"/> |
749 | </if> |
750 | |
751 | <if k="route" v="bicycle"> |
752 | <output k="bicycleroute" v="yes"/> |
753 | </if> |
754 | |
755 | <!-- Pass through turn relations --> |
756 | |
757 | <if k="restriction"> |
758 | <output/> |
759 | </if> |
760 | |
761 | <if k="except"> |
762 | <output/> |
763 | </if> |
764 | |
765 | </relation> |
766 | |
767 | </routino-tagging> |
Properties
Name | Value |
---|---|
cvs:description | Default version of the Routino tag transformation rules. |