-
Notifications
You must be signed in to change notification settings - Fork 5
/
routing_settless.xml
executable file
·1385 lines (1238 loc) · 58.8 KB
/
routing_settless.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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8" ?>
<osmand_routing_config defaultProfile="car">
<!-- The profile for cyclists -->
<routingProfile name="bicycle" baseProfile="bicycle" restrictionsAware="true" minDefaultSpeed="2" maxDefaultSpeed="33"
leftTurn="4" rightTurn="2" followSpeedLimitations="false" onewayAware="true" heuristicCoefficient="1.4">
<!-- <attribute name="relaxNodesIfStartDistSmallCoeff" value="2.5"/> -->
<!-- New ROUTING API -->
<!-- <parameter id="driving_style" name="Driving style" description="Safe, fast or balanced driving" type="numeric" values="0,1,2" valueDescriptions="Safety,Balance,Speed"/>-->
<!-- <parameter id="relief_smoothness_factor" name="Relief smoothness factor" description="More plains or more hills" type="numeric" values="0,1,2" valueDescriptions="More plains,Balance,More hills"/>-->
<parameter id="driving_style_safety" group="driving_style" name="Safety" description="" type="boolean"/>
<parameter id="driving_style_balance" group="driving_style" name="Balance" description="" type="boolean" default="true"/>
<parameter id="driving_style_speed" group="driving_style" name="Speed" description="" type="boolean"/>
<parameter id="relief_smoothness_factor_more_plains" group="relief_smoothness_factor" name="More plains" description="" type="boolean"/>
<parameter id="relief_smoothness_factor_plains" group="relief_smoothness_factor" name="Plains" description="" type="boolean" default="true"/>
<parameter id="relief_smoothness_factor_hills" group="relief_smoothness_factor" name="Hills" description="" type="boolean"/>
<parameter id="avoid_unpaved" name="Avoid unpaved roads" description="Avoid unpaved roads" type="boolean"/>
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
<parameter id="avoid_stairs" name="Avoid stairs" description="Avoid stairs" type="boolean"/>
<parameter id="avoid_borders" name="Avoid border crossing" description="Avoid crossing a border into another country" type="boolean"/>
<parameter id="allow_motorway" name="Allow motorways" description="Allow motorways" type="boolean"/>
<parameter id="avoid_sett" name="Strongly prefer asphalt, concrete and paving stones" description="Tries to route around sett and cobblestone, ideal if riding with a cycling cart" type="boolean"/>
<parameter id="surface_exploring" name="Route via unknown surfaces" description="Route as much via surfaces that are not mapped yet, in order to map them" type="boolean"/>
<parameter id="height_obstacles" name="Use elevation data" description="Use terrain elevation data provided by SRTM, ASTER and EU-DEM" type="boolean"/>
<way attribute="access">
<select value="-1" t="osmand_change" v="delete"/>
<if param="allow_motorway">
<select value="-1" t="access" v="no"/>
<select value="-1" t="access" v="private"/>
<select value="-1" t="motorroad" v="yes"/>
<select value="-1" t="bicycle" v="no"/>
<select value="-1" t="vehicle" v="no"/>
<select value="1" t="highway" v="motorway"/>
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<!-- line above: I have deleted this line, it concerned motorroads.
These have already been excluded above (which is the right choice). -->
</if>
<select value="-1" t="route" v="ferry">
<if param="avoid_ferries"/>
</select>
<select value="-1" t="highway" v="steps">
<if param="avoid_stairs"/>
</select>
<select value="-1" t="highway" v="motorway"/>
<select value="-1" t="highway" v="motorway_link"/>
<select value="-1" t="motorroad" v="yes"/>
<!-- lines above: These lines should be moved here
to make sure that motorways are excluded if they
are not explicitly allowed by the user.-->
<select value="-1" t="highway" v="elevator"/>
<select value="-1" t="highway" v="construction"/>
<select value="-1" t="construction" v="yes"/>
<select value="-1" t="bicycle" v="no"/>
<select value="1" t="bicycle" v="yes"/>
<select value="1" t="bicycle" v="permissive"/>
<select value="1" t="bicycle" v="designated"/>
<select value="1" t="bicycle" v="destination"/>
<select value="1" t="bicycle" v="official"/>
<select value="1" t="bicycle" v="use_sidepath"/>
<select value="1" t="bicycle" v="dismount"/>
<if param="driving_style_safety">
<select value="-1" t="highway" v="trunk"/>
<select value="-1" t="highway" v="trunk_link"/>
</if>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<!-- a user indicated a trunk road in England that was a
a necessary link. So only in safety style trunk is excluded now. -->
<select value="-1" t="sac_scale" v="demanding_mountain_hiking"/>
<select value="-1" t="sac_scale" v="alpine_hiking"/>
<select value="-1" t="sac_scale" v="demanding_alpine_hiking"/>
<select value="-1" t="sac_scale" v="difficult_alpine_hiking"/>
<select value="-1" t="mtb:scale" v="5"/>
<select value="-1" t="mtb:scale" v="6"/>
<select value="1" t="vehicle" v="agricultural"/>
<select value="1" t="vehicle" v="forestry"/>
<select value="1" t="vehicle" v="yes"/>
<select value="1" t="vehicle" v="permissive"/>
<select value="1" t="vehicle" v="designated"/>
<select value="1" t="vehicle" v="destination"/>
<select value="-1" t="access" v="no"/>
<select value="-1" t="access" v="private"/>
<select value="1" t="access" v="agricultural"/>
<select value="1" t="access" v="forestry"/>
<select value="1" t="access" v="yes"/>
<select value="1" t="access" v="permissive"/>
<select value="1" t="highway" v="cycleway"/>
<select value="1" t="route_bicycle"/>
<!-- Two lines above: These have to be before the vehicle=no command -->
<select value="-1" t="vehicle" v="no"/>
<select value="-1" t="crossing" v="no"/>
<select value="1" t="highway" v="primary"/>
<select value="1" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="road"/>
<select value="1" t="highway" v="residential"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="service"/>
<select value="1" t="highway" v="track"/>
<select value="1" t="highway" v="path"/>
<select value="1" t="highway" v="footway"/>
<select value="1" t="highway" v="living_street"/>
<select value="1" t="highway" v="pedestrian"/>
<select value="1" t="highway" v="byway"/>
<select value="1" t="highway" v="platform"/>
<select value="1" t="highway" v="services"/>
<select value="1" t="highway" v="bridleway"/>
<select value="1" t="highway" v="steps"/>
<select value="1" t="route" v="ferry"/>
<select value="-1"/>
</way>
<way attribute="oneway">
<select value="0" t="cycleway" v="opposite_lane"/>
<select value="0" t="cycleway" v="opposite_track"/>
<select value="0" t="cycleway" v="opposite_share_busway"/>
<select value="0" t="cycleway" v="opposite"/>
<select value="0" t="oneway:bicycle" v="no"/>
<select value="1" t="oneway:bicycle" v="yes"/>
<select value="1" t="oneway" v="yes"/>
<select value="1" t="oneway" v="1"/>
<select value="-1" t="oneway" v="-1"/>
<select value="1" t="roundabout" v="yes"/>
<select value="1" t="junction" v="roundabout"/>
</way>
<way attribute="speed" type="speed">
<select value="1.3" t="highway" v="steps"/>
<select value="3" t="route" v="ferry"/>
<select value="6" t="bicycle" v="dismount"/>
<if param="driving_style_speed">
<select value="19" t="highway" v="motorway"/>
<select value="19" t="highway" v="motorway_link"/>
<select value="19" t="highway" v="trunk"/>
<select value="19" t="highway" v="trunk_link"/>
<select value="19" t="highway" v="primary"/>
<select value="19" t="highway" v="primary_link"/>
<select value="19" t="highway" v="secondary"/>
<select value="19" t="highway" v="secondary_link"/>
<select value="19" t="highway" v="tertiary"/>
<select value="19" t="highway" v="tertiary_link"/>
<select value="21" t="route_bicycle"/>
<!-- Line above: Command should be moved up here, to be applied more
often. If a residential way is marked route bicycle, this higher value will
now apply. The same for all the categories that follow. This makes
sense even in speed style, because if you stay away from main roads,
you avoid traffic lights (and thus save time). So main roads will be
avoided if there is an official cycle route nearby (should be fast). -->
<!-- Line above: Is there a possibility to EXCLUDE this command if avoid unpaved is set? -->
<select value="19" t="highway" v="residential"/>
<select value="18" t="highway" v="unclassified"/>
<select value="33" t="highway" v="cycleway"/>
<select value="33" t="path_bicycle_designated"/>
<select value="28" t="bicycle" v="designated"/>
<select value="8.5" t="highway" v="track"/>
<select value="7" t="highway" v="footway"/>
<select value="6" t="highway" v="path"/>
</if>
<select value="6" t="highway" v="motorway"/>
<select value="6" t="highway" v="motorway_link"/>
<select value="7" t="highway" v="trunk"/>
<select value="7" t="highway" v="trunk_link"/>
<select value="20" t="cycleway" v="sidepath"/>
<!-- Line above: This tag is used for cycleways along main
roads. These need to be downgraded before the 31 kmh
for bicycle designated are set. -->
<ifnot param="avoid_unpaved">
<select value="31" t="bicycle" v="designated"/>
</ifnot>
<if param="avoid_sett">
<select value="5" t="surface" v="sett"/>
<select value="5" t="surface" v="sett:belgian_fan"/>
<select value="5" t="surface" v="cobblestone"/>
</if>
<if param="surface_exploring">
<select value="1" t="surface" />
</if>
<!-- Lines above: This fixed value for bicycle=designated will not be applied in
"avoid unpaved" mode. Reason: The kmh value that we set here is fixed, it can not
be downgraded later. Generally, it makes sense to set a fixed value here for
bicycle=designated. Otherwise there would be one major error: The combination of
designated AND asphalt (frequently found ) would get a much lower value than just
designated alone. -->
<if param="driving_style_safety">
<select value="7" t="highway" v="primary"/>
<select value="7" t="highway" v="primary_link"/>
<select value="9" t="highway" v="secondary"/>
<select value="9" t="highway" v="secondary_link"/>
<select value="14" t="highway" v="tertiary"/>
<select value="14" t="highway" v="tertiary_link"/>
<select value="18" t="highway" v="residential"/>
<select value="24" t="highway" v="cycleway"/>
<select value="27" t="route_bicycle"/>
<!-- The integration of "bicycle routes" offers great possibilities.
But still there are many examples where Osmand can even find
a better alternative. Now, three choices help to combine the
strengths of the existing routing with bicycle routes:
First, if a path, track or footway is a cycle route, it gets a big upgrade.
Second, bicycle routes that lead over main roads are not upgraded. They
are normally not especially safe or attractive. Example: In Berlin, one
cycle route is on "Heerstrasse" which is not good for cycling at all. And
for some cycle routes in Berlin and Vienna there are better alternatives.
Third, there are even some unpaved bicycle routes. These get a downgrade
later. And if a bicycle route has no surface tag, there is a slight risk that
it is unpaved. Therefore, it will be downgraded a little bit. -->
<select value="22" t="highway" v="track"/>
<select value="20" t="highway" v="path"/>
<select value="19" t="highway" v="footway"/>
</if>
<select value="10" t="highway" v="primary"/>
<select value="10" t="highway" v="primary_link"/>
<select value="13" t="highway" v="secondary"/>
<select value="13" t="highway" v="secondary_link"/>
<select value="18" t="highway" v="tertiary"/>
<select value="18" t="highway" v="tertiary_link"/>
<select value="25.0" t="route_bicycle"/>
<select value="23" t="highway" v="residential"/>
<select value="24" t="highway" v="cycleway"/>
<select value="23" t="highway" v="unclassified"/>
<select value="11" t="highway" v="service"/>
<select value="22" t="highway" v="track"/>
<select value="19" t="highway" v="path"/>
<select value="15" t="highway" v="footway"/>
<select value="19" t="highway" v="road"/>
<select value="24" t="highway" v="living_street"/>
<select value="8" t="highway" v="pedestrian"/>
<select value="10" t="highway" v="byway"/>
<select value="2" t="highway" v="platform"/>
<select value="2" t="highway" v="services"/>
<select value="2" t="highway" v="bridleway"/>
<select value="20" t="cyclestreet" v="yes"/>
<select value="14.5"/>
</way>
<way attribute="obstacle_srtm_alt_speed">
<if param="height_obstacles">
<gt value1="-100" value2=":incline">
<select value="-1" t="osmand_highway_integrity_brouting_low" v="yes"/>
<select value="-1" t="highway" v="path"/>
<select value="-1" t="highway" v="track"/>
</gt>
<gt value1="-25" value2=":incline">
<select value="180" t="osmand_highway_integrity_brouting_low" v="yes"/>
<select value="180" t="highway" v="path"/>
<select value="170" t="highway" v="track"/>
</gt>
<gt value1="-17" value2=":incline">
<select value="150" t="osmand_highway_integrity_brouting_low" v="yes"/>
<select value="150" t="highway" v="path"/>
<select value="140" t="highway" v="track"/>
</gt>
<gt value1="-9" value2=":incline">
<select value="30" t="osmand_highway_integrity_brouting_low" v="yes"/>
<select value="30" t="highway" v="path"/>
<select value="25" t="highway" v="track"/>
</gt>
<gt value1="-3" value2=":incline">
<select value="2" t="osmand_highway_integrity_brouting_low" v="yes"/>
<select value="2" t="highway" v="path"/>
<select value="2" t="highway" v="track"/>
</gt>
<if param="relief_smoothness_factor_more_plains">
<gt value1="3" value2=":incline">
<select value="2"/>
</gt>
<gt value1="7" value2=":incline">
<select value="12"/>
</gt>
<gt value1="13" value2=":incline">
<select value="30"/>
</gt>
<gt value1="25" value2=":incline">
<select value="50"/>
</gt>
<select value="74"/>
</if>
<if param="relief_smoothness_factor_hills">
<gt value1="0" value2=":incline">
<select value="128"/>
</gt>
<gt value1="3" value2=":incline">
<select value="64"/>
</gt>
<gt value1="7" value2=":incline">
<select value="17"/>
</gt>
<gt value1="13" value2=":incline">
<select value="10"/>
</gt>
<gt value1="25" value2=":incline">
<select value="8"/>
</gt>
<select value="2"/>
</if>
<gt value1="3" value2=":incline">
<select value="2"/>
</gt>
<gt value1="7" value2=":incline">
<select value="8"/>
</gt>
<gt value1="13" value2=":incline">
<select value="16"/>
</gt>
<gt value1="25" value2=":incline">
<select value="32"/>
</gt>
<select value="48"/>
</if>
</way>
<way attribute="priority">
<select value="0.1" t="bicycle" v="private"/>
<select value="0.2" t="bicycle" v="destination"/>
<!-- <select value="0.05" t="access" v="private"/>-->
<select value="0.3" t="indoor" v="yes"/>
<select value="0.1" t="barrier" v="debris"/>
<select value="0.1" t="bicycle" v="use_sidepath"/>
<if param="avoid_unpaved">
<select value="0.3" t="osmand_highway_integrity_brouting" v="3"/>
<select value="0.28" t="osmand_highway_integrity_brouting" v="4"/>
<select value="0.27" t="osmand_highway_integrity_brouting" v="5"/>
<select value="0.25" t="osmand_highway_integrity_brouting" v="6"/>
<select value="0.2" t="osmand_highway_integrity_brouting" v="7"/>
<select value="0.15" t="osmand_highway_integrity_brouting" v="8"/>
<select value="0.1" t="osmand_highway_integrity_brouting" v="9"/>
<select value="0.05" t="osmand_highway_integrity_brouting" v="10"/>
<!-- <select value="0.4" t="tracktype" v="grade2"/>
<select value="0.1" t="tracktype" v="grade3"/>
<select value="0.1" t="tracktype" v="grade4"/>
<select value="0.1" t="tracktype" v="grade5"/>
<select value="0.1" t="surface" v="unpaved"/>
<select value="0.4" t="surface" v="compacted"/>
<select value="0.1" t="surface" v="dirt"/>
<select value="0.1" t="surface" v="earth"/>
<select value="0.1" t="surface" v="gravel"/>
<select value="0.4" t="surface" v="fine_gravel"/>
<select value="0.1" t="surface" v="grass"/>
<select value="0.1" t="surface" v="ground"/>
<select value="0.1" t="surface" v="mud"/>
<select value="0.1" t="surface" v="pebblestone"/>
<select value="0.1" t="surface" v="sand"/>-->
<select value="0.1" t="mtb:scale" v="1"/>
<select value="0.1" t="mtb:scale" v="2"/>
<select value="0.1" t="class:bicycle:mtb" v="-1"/>
<!-- <select value="0.6" t="surface" v="wood"/>-->
</if>
<select value="1.0" t="segregated" v="yes"/>
<select value="1.0" t="bicycle" v="dismount"/>
<select value="1.0" t="cycleway" v="sidepath"/>
<select value="0.3" t="footway" v="sidewalk"/>
<!-- Following lines: I would suggest to change
the order, according to the following scheme:
1.) First step: Downgrade all the ways that have a really bad
surface (mud, grade5 etc). Those should be downgraded in any
case (no matter if path/primary/cycleway/etc). Also,
"cobblestone" should already be downgraded here (otherwise,
it would be ignored too often, for example because it is
overruled by "bicycle=yes").
2.) Upgrade cycle lanes and cycle tracks. Normally, those are
paved (great), but they go along main roads, so I suggest a
factor of 1.6/1.5 (which is already a big upgrade).
3.) Assign a neutral factor to main roads. These are
normally paved, but often, there is no tag for the surface:
It makes no sense to upgrade only those main roads that just
happen to be tagged with paved, asphalt, etc.
4.) Upgrade all tracks, paths etc with a paved surface.
Very important to do this before "bicycle=yes" (etc).
Example: In parks, forests or fields, tracks are often
tagged with bicycle=yes. But only a few tracks are tagged
as paved. So it is important to check the "paved" first,
so that paved / asphalt tracks gets a priority. Otherwise,
all tracks with bicycle=yes would be treated the same.
5.) Only in "avoid unpaved" mode: Downgrade all paths and tracks
now, even if they might later be marked bicycle=yes/official/etc.
6.) Upgrade all ways that are tagged bicycle=yes/official etc.
(this should only be done after the distinction between
unpaved and paved/asphalt/etc )
7.) Downgrade difficult surfaces such as sand, grass etc.
This is done late, because sand / grass are not necessarily
very bad. A tag like "sand" is often put for compacted surfaces.
So if a sand way is marked "bicycle=yes" before, it should be good.
Accordingly, some tags that lead only to a slight upgrade are also
put here.
8.) Downgrade paths, tracks etc. If up to now, no surface or bicycle
tag has been detected, the path has a certain risk of having a bad
surface (we just do not know). To make sure, all smaller ways are
downgraded now.-->
<select value="0.1" t="sac_scale" v="mountain_hiking"/>
<select value="0.9" t="class:bicycle:mtb" v="3"/>
<select value="0.8" t="class:bicycle:mtb" v="2"/>
<select value="0.7" t="class:bicycle:mtb" v="1"/>
<select value="0.1" t="class:bicycle:mtb" v="-1"/>
<select value="0.3" t="mtb:scale" v="1"/>
<select value="0.2" t="mtb:scale" v="2"/>
<select value="0.1" t="mtb:scale" v="3"/>
<select value="0.05" t="mtb:scale" v="4"/>
<select value="0.5" t="tracktype" v="grade5"/>
<select value="0.2" t="smoothness" v="horrible"/>
<select value="0.15" t="smoothness" v="very_horrible"/>
<select value="0.1" t="smoothness" v="impassable"/>
<select value="0.61" t="osmand_highway_integrity_brouting" v="5"/>
<select value="0.4" t="osmand_highway_integrity_brouting" v="6"/>
<select value="0.3" t="osmand_highway_integrity_brouting" v="7"/>
<select value="0.2" t="osmand_highway_integrity_brouting" v="8"/>
<select value="0.1" t="osmand_highway_integrity_brouting" v="9"/>
<select value="0.05" t="osmand_highway_integrity_brouting" v="10"/>
<select value="0.65" t="surface" v="cobblestone"/>
<select value="1.5" t="cycleway" v="lane"/>
<select value="1.5" t="cycleway" v="opposite_lane"/>
<select value="1.1" t="cycleway" v="share_busway"/>
<select value="1.6" t="cycleway" v="track"/>
<select value="1.6" t="cycleway" v="opposite_track"/>
<select value="0.9" t="cycleway" v="shared"/>
<select value="0.9" t="cycleway" v="shared_lane"/>
<select value="1.0" t="highway" v="primary"/>
<select value="1.0" t="highway" v="secondary"/>
<select value="1.0" t="highway" v="tertiary"/>
<select value="1.0" t="highway" v="service"/>
<select value="1.35" t="surface" v="asphalt"/>
<select value="1.35" t="surface" v="paved"/>
<select value="1.35" t="surface" v="concrete"/>
<select value="1.30" t="surface" v="paving_stones"/>
<select value="1.35" t="osmand_highway_integrity_brouting" v="0"/>
<select value="1.3" t="osmand_highway_integrity_brouting" v="1"/>
<if param="avoid_unpaved">
<select value="0.3" t="highway" v="footway"/>
<select value="0.3" t="highway" v="track"/>
<select value="0.2" t="highway" v="path"/>
</if>
<if param="avoid_sett">
<select value="0.01" t="surface" v="sett"/>
<select value="0.01" t="surface" v="sett:belgian_fan"/>
<select value="0.01" t="surface" v="cobblestone"/>
</if>
<if param="surface_exploring">
<select value="0.0001" t="surface"/>
</if>
<select value="1.25" t="highway" v="cycleway"/>
<!-- I have downgraded cycleways here and upgraded their
kmh value at the same time. First, cycleways with
asphalt yes should get a slight upgrade (there are also
cycleways with compacted). Second, the end value for
cycleways should be lower than the value for paths and
footways with bicycle designated. Cycleways are often
along main roads, whereas the attractive ways for
bicycles (in parks or along rivers) are normally tagged
bicycle=designated or yes. -->
<select value="1.8" t="bicycle" v="official"/>
<select value="1.8" t="bicycle" v="designated"/>
<select value="1.3" t="bicycle" v="yes"/>
<!-- the value for bicycle=yes needs to be smaller than the
values for paved and asphalt. Reason: Often you have areas with
several paths that are tagged bicycle yes, but only some of these
paths are also tagged paved. In that case, the paved paths should
get a higher priority. -->
<select value="1.1" t="surface" v="compacted"/>
<select value="1.1" t="surface" v="fine_gravel"/>
<select value="1.0" t="surface" v="wood"/>
<select value="1.1" t="osmand_highway_integrity_brouting" v="2"/>
<select value="0.92" t="osmand_highway_integrity_brouting" v="3"/>
<select value="0.8" t="osmand_highway_integrity_brouting" v="4"/>
<select value="1.3" t="smoothness" v="excellent"/>
<select value="1.0" t="smoothness" v="good"/>
<select value="0.9" t="smoothness" v="intermediate"/>
<select value="1.3" t="tracktype" v="grade1"/>
<select value="1.15" t="tracktype" v="grade2"/>
<select value="1.0" t="tracktype" v="grade3"/>
<select value="0.7" t="tracktype" v="grade4"/>
<select value="0.9" t="surface" v="gravel"/>
<select value="0.8" t="surface" v="unpaved"/>
<select value="0.8" t="smoothness" v="bad"/>
<select value="0.50" t="surface" v="dirt"/>
<select value="0.45" t="surface" v="sand"/>
<select value="0.75" t="surface" v="earth"/>
<select value="0.65" t="surface" v="grass"/>
<select value="0.75" t="surface" v="ground"/>
<select value="0.5" t="surface" v="mud"/>
<select value="0.5" t="smoothness" v="very_bad"/>
<select value="1.2" t="route_bicycle"/>
<!-- If a part of a bicycle route has a surface tag, it will have
been upgraded or downgraded up to this point. The value
1.2 here is applied to all bicycle routes with no surface tag. -->
<select value="1.25" t="highway" v="residential"/>
<!-- New: The factor for residential is better placed here, so that we can
first downgrade all residential that are tagged with a bad surface.
Overpass shows many cases of residential with sand, unpaved, etc.
And: Even in big cities, the surface of residential is often not tagged
at all. So residential roads that have no surface tag, now get a slightly
lower value than those with asphalt or paved. The value of 1.25 is
right because it should be close to the 1.35 for paved. Reason: Many
residential roads still have no surface tag at all. Most of them are
asphalt (but we do not know for sure). So, they should be downgraded
a bit (to take into account that they might be unpaved), but not too much
(because most of them will still be paved). -->
<select value="1.25" t="highway" v="living_street"/>
<select value="1.25" t="highway" v="unclassified"/>
<select value="1.0" t="highway" v="road"/>
<select value="0.75" t="highway" v="footway"/>
<select value="0.7" t="highway" v="track"/>
<select value="0.6" t="highway" v="path"/>
<if param="driving_style_speed">
<select value="1.4" t="highway" v="motorway"/>
<select value="1.3" t="highway" v="motorway_link"/>
<select value="1.4" t="highway" v="trunk"/>
<select value="1.3" t="highway" v="trunk_link"/>
</if>
<select value="0.5" t="highway" v="motorway"/>
<select value="0.5" t="highway" v="motorway_link"/>
<select value="0.5" t="highway" v="trunk"/>
<select value="0.5" t="highway" v="trunk_link"/>
<select value="10" t="cyclestreet" v="yes"/>
</way>
<point attribute="obstacle_time">
<select value="10" t="barrier" v="cycle_barrier"/>
<select value="15" t="barrier" v="gate"/>
<select value="20" t="barrier" v="lift_gate"/>
<select value="20" t="barrier" v="swing_gate"/>
<select value="15" t="barrier" v="log"/>
<select value="5" t="barrier"/>
<select value="30" t="highway" v="traffic_signals"/>
<select value="10" t="crossing" v="unmarked"/>
<select value="5" t="crossing" v="uncontrolled"/>
<select value="20" t="crossing" v="traffic_signals"/>
<select value="15" t="highway" v="stop"/>
<select value="7" t="highway" v="give_way"/>
<select value="200" t="ford"/>
<select value="25" t="railway" v="crossing"/>
<select value="25" t="railway" v="level_crossing"/>
</point>
<point attribute="obstacle">
<if param="avoid_borders">
<select value="-1" t="barrier" v="border_control"/>
</if>
<if param="driving_style_safety">
<select value="16" t="crossing" v="traffic_signals"/>
<select value="16" t="crossing" v="island;traffic_signals"/>
<select value="27" t="highway" v="traffic_signals"/>
</if>
<!-- Lines above: These values are only a workaround. They apply until
one issue is resolved: The triple counting of traffic lights at main
junctions. This can hopefully be resolved within map rendering.
Any combination of values that we put here (into the routing.xml)
leads to routing errors. The above is only a compromise to minimize
those errors.-->
<select value="9" t="crossing" v="traffic_signals"/>
<select value="1" t="crossing" v="uncontrolled"/>
<select value="3" t="crossing" v="unmarked"/>
<select value="1" t="crossing" v="island"/>
<!-- Lines above: These values should not get too high, because
in maps, crossing=island is often combined with either two nodes
"crossing=unmarked" or two nodes "crossing=traffic_signals".
So, often you get triple counting here as well. And the crossing
of a main road very often cannot get a penalty at all: Often,
a crossing is not marked as a crossing and this makes it impossible
to apply any penalty. So it would make no sense to just apply a high
penalty on some cases. -->
<select value="5" t="crossing" v="island;traffic_signals"/>
<select value="19" t="highway" v="traffic_signals"/>
<select value="55" t="highway" v="steps"/>
<select value="15" t="bicycle" v="dismount"/>
<select value="240" t="route" v="ferry"/>
<select value="200" t="ford" v="yes"/>
<select value="-1" t="bicycle" v="no"/>
<select value="1" t="bicycle" v="yes"/>
<select value="1" t="bicycle" v="permissive"/>
<select value="1" t="bicycle" v="designated"/>
<select value="1" t="bicycle" v="official"/>
<select value="1" t="vehicle" v="no"/>
<select value="1" t="vehicle" v="agricultural"/>
<select value="1" t="vehicle" v="forestry"/>
<select value="1" t="vehicle" v="yes"/>
<select value="1" t="vehicle" v="permissive"/>
<select value="1" t="vehicle" v="designated"/>
<select value="-1" t="access" v="no"/>
<select value="1" t="access" v="agricultural"/>
<select value="1" t="access" v="forestry"/>
<select value="1" t="access" v="yes"/>
<select value="1" t="access" v="permissive"/>
<select value="-1" t="crossing" v="no"/>
</point>
<way attribute="penalty_transition">
<if param="driving_style_balance">
<select value="1" t="highway" v="trunk"/>
<select value="2" t="highway" v="trunk_link"/>
<select value="3" t="highway" v="primary"/>
<select value="4" t="highway" v="primary_link"/>
<select value="6" t="highway" v="secondary"/>
<select value="7" t="highway" v="secondary_link"/>
<select value="20" t="highway" v="tertiary"/>
<select value="26" t="highway" v="tertiary_link"/>
<select value="50" t="highway" v="residential"/>
<select value="50" t="highway" v="living_street"/>
<select value="52" t="highway" v="service"/>
<select value="58" t="highway" v="track"/>
<select value="60" t="highway" v="footway"/>
<select value="65" t="highway" v="path"/>
<select value="70"/>
</if>
<if param="driving_style_speed">
<select value="3" t="highway" v="trunk"/>
<select value="4" t="highway" v="trunk_link"/>
<select value="7" t="highway" v="primary"/>
<select value="8" t="highway" v="primary_link"/>
<select value="10" t="highway" v="secondary"/>
<select value="12" t="highway" v="secondary_link"/>
<select value="80" t="highway" v="tertiary"/>
<select value="51" t="highway" v="tertiary_link"/>
<select value="52" t="highway" v="residential"/>
<select value="52" t="highway" v="living_street"/>
<select value="85" t="highway" v="service"/>
<select value="86" t="highway" v="track"/>
<select value="87" t="highway" v="footway"/>
<select value="87" t="highway" v="path"/>
<select value="90"/>
</if>
</way>
</routingProfile>
<routingProfile name="car" baseProfile="car" restrictionsAware="true" minDefaultSpeed="45.0" maxDefaultSpeed="130.0"
leftTurn="5" rightTurn="5" roundaboutTurn="5" onewayAware="true">
<!--
<attribute name="heuristicCoefficient" value="1.5" />
-->
<!-- NEW ROUTING API -->
<!-- <parameter id="prefer_motorway" name="Prefer motorways" description="Prefer motorways" type="boolean"/> -->
<!-- <parameter id="no_new_routing" name="Do not use v1.9 routing" description="Do not use v1.9 routing" type="boolean"/> -->
<parameter id="short_way" name="Short way" description="Short way" type="boolean"/>
<parameter id="avoid_toll" name="Avoid toll roads" description="Avoid toll roads" type="boolean"/>
<parameter id="avoid_unpaved" name="Avoid unpaved roads" description="Avoid unpaved roads" type="boolean"/>
<parameter id="avoid_ferries" name="Avoid ferries" description="Avoid ferries" type="boolean"/>
<parameter id="avoid_shuttle_train" name="Avoid Shuttle Trains" description="Avoid Shuttle Trains" type="boolean"/>
<parameter id="avoid_motorway" name="Avoid motorways" description="Avoid motorways" type="boolean"/>
<parameter id="avoid_borders" name="Avoid border crossing" description="Avoid crossing a border into another country" type="boolean"/>
<parameter id="avoid_ice_roads_fords" name="Avoid ice roads, fords" description="Avoid ice roads and fords" type="boolean"/>
<parameter id="allow_private" name="Allow private access" description="Allow access to private areas" type="boolean"/>
<parameter id="weight" name="Weight" description="Weight" type="numeric" values="0,1500,3000,3500,5000,7500,10000,15000,20000,40000" valueDescriptions="-,1.5t,3t,3.5t,5t,7.5t,10t,15t,20t,40t"/>
<parameter id="height" name="Height" description="Height" type="numeric" values="0,1.5,2,2.5,3,3.5,4" valueDescriptions="-,1.5m,2m,2.5m,3m,3.5m,4m"/>
<parameter id="g_gouver" name="Allow Gouvernementstraat" description="Ignore knip" type="boolean" />
<way attribute="access">
<if parameter="g_gouver">
<select value="1" t="name" v="Gouvernementstraat"/>
</if>
<select value="-1" t="osmand_change" v="delete"/>
<select value="-1" t="highway" v="construction"/>
<select value="-1" t="construction" v="yes"/>
<select value="-1" t="highway" v="motorway">
<if param="avoid_motorway"/>
</select>
<select value="-1" t="ice_road" v="yes">
<if param="avoid_ice_roads_fords"/>
</select>
<select value="-1" t="winter_road" v="yes">
<if param="avoid_ice_roads_fords"/>
</select>
<select value="-1" t="ford" v="yes">
<if param="avoid_ice_roads_fords"/>
</select>
<select value="-1" t="toll" v="yes">
<if param="avoid_toll"/>
</select>
<select value="-1" t="route" v="ferry">
<if param="avoid_ferries"/>
</select>
<select value="-1" t="route" v="shuttle_train">
<if param="avoid_shuttle_train"/>
</select>
<if param="avoid_unpaved">
<select value="-1" t="highway" v="track"/>
<select value="-1" t="surface" v="unpaved"/>
<select value="-1" t="surface" v="compacted"/>
<select value="-1" t="surface" v="dirt"/>
<select value="-1" t="surface" v="gravel"/>
<select value="-1" t="surface" v="fine_gravel"/>
<select value="-1" t="surface" v="grass"/>
<select value="-1" t="surface" v="ground"/>
<select value="-1" t="surface" v="mud"/>
<select value="-1" t="surface" v="pebblestone"/>
<select value="-1" t="surface" v="sand"/>
<!-- <select value="-1" t="surface" v="wood"/>-->
<select value="-1" t="smoothness" v="very_bad"/>
<select value="-1" t="smoothness" v="horrible"/>
<select value="-1" t="smoothness" v="very_horrible"/>
<select value="-1" t="smoothness" v="impassable"/>
</if>
<select value="-1" t="motorcar" v="no"/>
<select value="-1" t="motorcar" v="agricultural"/>
<select value="-1" t="motorcar" v="forestry"/>
<select value="1" t="motorcar" v="yes"/>
<if param="allow_private">
<select value="1" t="motorcar" v="private"/>
</if>
<select value="-1" t="motorcar" v="private"/>
<select value="1" t="motorcar" v="permissive"/>
<select value="1" t="motorcar" v="designated"/>
<select value="1" t="motorcar" v="destination"/>
<select value="1" t="motorcar" v="customers"/>
<select value="1" t="motorcar" v="official"/>
<select value="-1" t="motor_vehicle" v="no"/>
<select value="-1" t="motor_vehicle" v="agricultural"/>
<select value="-1" t="motor_vehicle" v="forestry"/>
<select value="1" t="motor_vehicle" v="yes"/>
<if param="allow_private">
<select value="1" t="motor_vehicle" v="private"/>
</if>
<select value="-1" t="motor_vehicle" v="private"/>
<select value="1" t="motor_vehicle" v="permissive"/>
<select value="1" t="motor_vehicle" v="designated"/>
<select value="1" t="motor_vehicle" v="destination"/>
<select value="1" t="motor_vehicle" v="customers"/>
<select value="1" t="motor_vehicle" v="official"/>
<select value="-1" t="vehicle" v="no"/>
<select value="-1" t="vehicle" v="agricultural"/>
<select value="-1" t="vehicle" v="forestry"/>
<select value="1" t="vehicle" v="yes"/>
<if param="allow_private">
<select value="1" t="vehicle" v="private"/>
</if>
<select value="-1" t="vehicle" v="private"/>
<select value="1" t="vehicle" v="permissive"/>
<select value="1" t="vehicle" v="designated"/>
<select value="1" t="vehicle" v="destination"/>
<select value="1" t="vehicle" v="customers"/>
<select value="-1" t="access" v="no"/>
<select value="-1" t="access" v="agricultural"/>
<select value="-1" t="access" v="forestry"/>
<select value="-1" t="access" v="emergency"/>
<select value="1" t="access" v="yes"/>
<if param="allow_private">
<select value="1" t="access" v="private"/>
</if>
<select value="-1" t="access" v="private"/>
<select value="1" t="access" v="permissive"/>
<select value="1" t="access" v="destination"/>
<select value="1" t="access" v="customers"/>
<!-- introduce special tag motorcycle ! --><!-- What is special in it? It is a defined value and used in the database -->
<!-- <select value="-1" t="motorcycle" v="no"/>-->
<select value="-1" t="barrier" v="bollard"/>
<select value="-1" t="barrier" v="chain"/>
<select value="-1" t="barrier" v="debris"/>
<select value="-1" t="barrier" v="block"/>
<select value="-1" t="maxweight">
<gt value1=":weight" value2="$maxweight" type="weight"/>
</select>
<select value="-1" t="maxheight">
<gt value1=":height" value2="$maxheight" type="length"/>
</select>
<select value="1" t="highway" v="motorway"/>
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="1" t="highway" v="trunk_link"/>
<select value="1" t="highway" v="primary"/>
<select value="1" t="highway" v="primary_link"/>
<select value="1" t="highway" v="secondary"/>
<select value="1" t="highway" v="secondary_link"/>
<select value="1" t="highway" v="tertiary"/>
<select value="1" t="highway" v="tertiary_link"/>
<select value="1" t="highway" v="unclassified"/>
<select value="1" t="highway" v="road"/>
<select value="1" t="highway" v="residential"/>
<select value="1" t="highway" v="track"/>
<select value="1" t="highway" v="service"/>
<select value="1" t="highway" v="living_street"/>
<select value="1" t="route" v="ferry"/>
<select value="1" t="route" v="shuttle_train"/>
<select value="-1"/>
</way>
<way attribute="oneway">
<select value="1" t="oneway" v="yes"/>
<select value="1" t="oneway" v="1"/>
<select value="-1" t="oneway" v="-1"/>
<select value="1" t="roundabout"/>
<select value="1" t="junction" v="roundabout"/>
</way>
<way attribute="penalty_transition">
<!-- cost in time when you change the route from motorway to primary or from primary
to living_street, but not other way around. Calculated as difference between values -->
<!--
<if param="no_new_routing">
<select value="0"/>
</if>
-->
<if param="short_way">
<select value="0" t="highway" v="motorway"/>
<select value="5" t="highway" v="motorway_link"/>
<select value="5" t="highway" v="trunk"/>
<select value="10" t="highway" v="trunk_link"/>
<select value="10" t="highway" v="primary"/>
<select value="15" t="highway" v="primary_link"/>
<select value="15" t="highway" v="secondary"/>
<select value="20" t="highway" v="secondary_link"/>
<select value="20" t="highway" v="tertiary"/>
<select value="25" t="highway" v="tertiary_link"/>
<select value="40" t="highway" v="service"/>
<select value="25"/>
</if>
<select value="0" t="highway" v="motorway"/>
<select value="10" t="highway" v="motorway_link"/>
<select value="10" t="highway" v="trunk"/>
<select value="15" t="highway" v="trunk_link"/>
<select value="50" t="highway" v="primary"/>
<select value="60" t="highway" v="primary_link"/>
<select value="100" t="highway" v="secondary"/>
<select value="110" t="highway" v="secondary_link"/>
<select value="130" t="highway" v="tertiary"/>
<select value="139" t="highway" v="tertiary_link"/>
<select value="185" t="highway" v="residential"/>
<select value="230" t="highway" v="service"/>
<select value="200"/>
<!--
<select value="" t="highway" v="road"/>
<select value="" t="highway" v="residential"/>
<select value="" t="highway" v="track"/>
<select value="" t="highway" v="unclassified"/>
<select value="" t="highway" v="service"/>
<select value="" t="highway" v="living_street"/>
<select value="" t="route" v="ferry"/>-->
</way>
<way attribute="speed" type="speed">
<!-- shortway handled internally -->
<select value="$maxspeed:practical" t="maxspeed:practical"/>
<select value="$maxspeed:advisory" t="maxspeed:advisory"/>
<select value="$maxspeed" t="maxspeed"/>
<!-- most important backbone roads -->
<select value="110" t="highway" v="motorway"/>
<select value="110" t="highway" v="motorway_link"/>
<select value="100" t="highway" v="trunk"/>
<select value="75" t="highway" v="trunk_link"/>
<!-- generally linking larger towns -->
<select value="65" t="highway" v="primary"/>
<select value="50" t="highway" v="primary_link"/>
<!-- generally linking smaller towns and villages -->
<select value="60" t="highway" v="secondary"/>
<select value="50" t="highway" v="secondary_link"/>
<!-- important urban roads -->
<select value="45" t="highway" v="tertiary"/>
<select value="40" t="highway" v="tertiary_link"/>
<!-- Some values of "abutters" mean the road is inside a place,
so cap the speed even if it is a high level road (below). -->
<!--
<select value="30" t="abutters" v="residential"/>
<select value="30" t="abutters" v="commercial"/>
<select value="30" t="abutters" v="retail"/>
<select value="30" t="abutters" v="industrial"/>
<select value="30" t="abutters" v="mixed"/>
-->
<!-- roads with speeds lower than 50 and those that we want to ignore abutters
must be placed before the "abutters" block below. -->
<!-- lowest form of grid network, usually 90% of urban roads -->
<select value="35" t="highway" v="unclassified"/>
<!-- road = no type, no review and may be not accurate -->
<select value="35" t="highway" v="road"/>
<select value="35" t="highway" v="residential"/>
<select value="15" t="highway" v="track"/>
<select value="30" t="highway" v="service"/>
<select value="25" t="highway" v="living_street"/>
<select value="15" t="route" v="ferry"/>
<select value="60" t="route" v="shuttle_train"/>
</way>
<way attribute="priority">
<!-- not working fine -->
<!--
<if param="prefer_motorway">
<select value="1.2" t="highway" v="motorway"/>
<select value="1.1" t="highway" v="motorway_link"/>
<select value="1.2" t="highway" v="trunk"/>
<select value="1.1" t="highway" v="trunk_link"/>
</if> -->
<!-- access deprioritize -->
<select t="tracktype" v="grade5" value="0.2"/>
<select t="motorcar" v="private" value="0.15"/>
<select t="motorcar" v="destination" value="0.15"/>
<select t="motorcar" v="delivery" value="0.15"/>
<select t="motorcar" v="customers" value="0.15"/>
<select t="motor_vehicle" v="private" value="0.15"/>
<select t="motor_vehicle" v="destination" value="0.15"/>
<select t="motor_vehicle" v="delivery" value="0.15"/>
<select t="motor_vehicle" v="customers" value="0.15"/>
<select t="vehicle" v="private" value="0.15"/>
<select t="vehicle" v="destination" value="0.15"/>
<select t="vehicle" v="delivery" value="0.15"/>
<select t="vehicle" v="customers" value="0.15"/>
<select t="access" v="private" value="0.15"/>
<select t="access" v="destination" value="0.15"/>
<select t="access" v="delivery" value="0.15"/>
<select t="access" v="customers" value="0.15"/>
<select value="0.3" t="smoothness" v="very_bad"/>
<select value="0.15" t="smoothness" v="horrible"/>
<select value="0.1" t="smoothness" v="very_horrible"/>
<select value="0.05" t="smoothness" v="impassable"/>
<select value="1.1" t="highway" v="motorway"/>
<!-- make links slightly smaller so in connections they will not be used -->
<select value="1" t="highway" v="motorway_link"/>
<select value="1" t="highway" v="trunk"/>
<select value="0.9" t="highway" v="trunk_link"/>
<!-- generally linking larger towns. -->
<select value="1.0" t="highway" v="primary"/>
<select value="0.95" t="highway" v="primary_link"/>
<!-- generally linking smaller towns and villages -->
<select value="0.95" t="highway" v="secondary"/>