-
Notifications
You must be signed in to change notification settings - Fork 5
/
enduro.render.xml
4843 lines (4581 loc) · 240 KB
/
enduro.render.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"?>
<renderingStyle name="Enduro" depends="" defaultColor="#000000" version="2">
<!-- style pour l'utilisation offroad en véhicule motorisé par cricri, vous pouvez me trouver sur le forum https://www.terre-bitume.org/ sous le pseudo "cricri" ou sur cette adresse grosmono500@hotmail.com -->
<!-- ajouts depuis "default" pour test sur IOS-->
<renderingProperty attr="appMode" name="Rendering mode" description="Map optimization for respective User Profile" type="string" possibleValues=""/> <!-- linked to profiles -->
<renderingProperty attr="baseAppMode" name="Default Rendering mode" description="Map optimization for respective User Profile based on base (parent) profile" type="string" possibleValues="default, car, bicycle, pedestrian, public_transport, boat, ski"/>
<renderingProperty attr="balisage" name="cacher balisages" description="cacher balisages" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="track" name="cacher chemin sans info" description="cacher chemin sans info" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="lessDetailed" name="moins de détails" description="moins de détails" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="arriereplan" name="en cas de carte arrière plan" description="ajoute un contour noir" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="difficulte" name="cacher difficulté" description="cacher difficulté" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="ign" name="comme IGN" description="comme IGN" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="hideAccess" name="Hide access restrictions" description="Hide access type" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="gris" name="niveaux de gris" description="niveaux de gris" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="piste" name="couleur piste" description="couleur piste" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="comment" name="cacher commentaires" description="cacher commentaires" type="boolean" possibleValues="" category="enduro"/>
<renderingProperty attr="hideUnderground" name="Hide underground objects" description="Hide underground objects" type="boolean" possibleValues="" category="hide"/>
<renderingProperty attr="hideBuildings" name="Hide buildings" description="Hide buildings" type="boolean" possibleValues="" category="hide"/>
<renderingProperty attr="hideWaterPolygons" name="Hide water" description="Hide water polygons" type="boolean" possibleValues="" category="hide"/>
<renderingProperty attr="noPolygons" name="Hide polygons" description="Make all areal land features on map transparent" type="boolean" possibleValues="" category="hide"/>
<renderingProperty attr="noAdminboundaries" name="Hide boundaries" description="Suppress display of admin levels 5-9" type="boolean" possibleValues="" category="hide"/>
<renderingProperty attr="currentTrackColor" name="Current GPX color" description="Color of the currently recording track" type="string" possibleValues="red,orange,lightblue,blue,purple,translucent_red,translucent_orange,translucent_lightblue,translucent_blue,translucent_purple" defaultValueDescription="default"/>
<renderingProperty attr="currentTrackWidth" name="Current GPX width" description="Width of the currently recording track" type="string" possibleValues="thin,medium,bold" defaultValueDescription="default"/>
<renderingProperty attr="contourLines" name="Show contour lines" description="Select minimum zoom level to display in map if available. Separate contour file may be needed."
type="string" possibleValues="disabled,16,15,14,13,12,11" defaultValueDescription="default13" category="details"/>
<renderingProperty attr="contourColorScheme" name="Contour lines color scheme" description="Contour lines color scheme" type="string" possibleValues="white,yellow,green,light_brown,brown,dark_brown,red" defaultValueDescription="default"/>
<renderingProperty attr="contourWidth" name="Contour lines width" description="Contour lines width" type="string" possibleValues="thin,medium,thick" defaultValueDescription="default"/>
<renderingProperty attr="contourDensity" name="Contour lines density" description="Contour lines density" type="string" possibleValues="low,medium_w,high" defaultValueDescription="default"/>
<renderingProperty attr="legend" name="Legend" type="boolean" possibleValues="" category="ui_hidden"/>
<!-- pour OpenGL -->
<renderingProperty attr="engine_v1" type="boolean"/>
<renderingConstant name="highwayOnewayIconBig" value="oneway_black_semitransparent_big"/><!-- osmc_black_triangle oneway_gray_big oneway_blue_big oneway_black_semitransparent_big-->
<renderingAttribute name="waterwayArrows">
<case attrIntValue="0"/>
</renderingAttribute>
<renderingAttribute name="defaultColor">
<!-- next line should should make background transparent for underlays to be visible, but this curretnly does not work as desired -->
<!-- To change default color completely you should do that also for tag="place" value="island" and tag="natural" value="land" (search this file) -->
<case noPolygons="true" attrColorValue="#00000000"/>
<case nightMode="true" attrColorValue="#000000">
<case lessDetailed="true" attrColorValue="#000000">
<apply gris="true" attrColorValue="#101f26"/>
</case>
</case>
<case lessDetailed="true" attrColorValue="#F9F9Ef"/>
<case gris="true" attrColorValue="#f0f0f0"/>
<case attrColorValue="#F9F9Ef"/>
</renderingAttribute>
<renderingAttribute name="rulerCircle">
<!-- color - circle color
strokeWidth - circle width
shadowRadius - circle shadow radius
shadowColor - circle shadow color
strokeWidth_2 - dummy for text color
color_2 - text color
strokeWidth_3 - text shadow radius
color_3 - text shadow color
-->
<case color="#99000000" strokeWidth="1" shadowRadius="4" shadowColor="#99ffffff" strokeWidth_2="" color_2="#000000" strokeWidth_3="5" color_3="#ffffff">
<apply_if nightMode="true" color="#99ffffff" strokeWidth="1" shadowRadius="3" shadowColor="#66000000" strokeWidth_2="" color_2="#ffffff" strokeWidth_3="5" color_3="#000000"/>
</case>
</renderingAttribute>
<renderingAttribute name="rulerCircleAlt">
<case color="#99ffffff" strokeWidth="1" shadowRadius="3" shadowColor="#66000000" strokeWidth_2="" color_2="#ffffff" strokeWidth_3="5" color_3="#000000">
<apply_if nightMode="false" color="#99000000" strokeWidth="1" shadowRadius="4" shadowColor="#99ffffff" strokeWidth_2="" color_2="#000000" strokeWidth_3="5" color_3="#ffffff"/>
</case>
</renderingAttribute>
<renderingAttribute name="rulerLine">
<case color="#ff0000" strokeWidth="6" pathEffect="10_5">
</case>
</renderingAttribute>
<renderingAttribute name="rulerLineFont">
<!-- color - font color
strokeWidth -
color_2 - stroke color
strokeWidth_2 - font stroke width
-->
<case color="#ff0000" strokeWidth="" color_2="#99ffffff" strokeWidth_2="8">
<apply_if nightMode="true" color="#ff0000" color_2="#99000000"/>
</case>
</renderingAttribute>
<renderingAttribute name="measureDistanceLine"><!-- ligne planif itineraire -->
<case color="#66ff00ff" strokeWidth="16" />
<apply_if nightMode="true" color="#66ff00ff"/>
</renderingAttribute>
<renderingAttribute name="markerGuideline">
<case color="#555555" strokeWidth="24" />
<apply_if nightMode="true" color="#55ff55" color_2="#aa66ff"/>
</renderingAttribute>
<renderingAttribute name="markerPlanRouteline">
<!-- color - straight line color
strokeWidth - straight line
color_2 - route line
strokeWidth_2 - route line
-->
<case color="#536dfe" strokeWidth="12" color_2="#CC536dfe" strokeWidth_2="24" />
<apply_if nightMode="true" color="#536dfe" color_2="#CC536dfe"/>
</renderingAttribute>
<renderingAttribute name="rulerLine">
<case color="#ff0000" strokeWidth="24" />
</renderingAttribute>
<renderingAttribute name="measureDistanceLine">
<case color="#ff0000" strokeWidth="24" />
</renderingAttribute>
<renderingAttribute name="shadowRendering">
<!-- 0 - no shadow, 1 - one step, 2 - blur shadow, 3 - solid shadow -->
<!-- next line ensures bridges stand out ok -->
<case minzoom="14" nightMode="false" attrIntValue="3" shadowColor="#969696"/>
<case minzoom="14" attrIntValue="3" shadowColor="#464646"/>
<case minzoom="8" maxzoom="13" attrIntValue="3" shadowColor="#969696"/>
<case attrIntValue="0"/>
</renderingAttribute>
<renderingAttribute name="osmcBlackColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcBlueColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcGreenColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcRedColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcYellowColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcOrangeColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcBrownColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcPurpleColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcPinkColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcTealColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<renderingAttribute name="osmcDefaultColor">
<case attrColorValue="#00ff00ff"/>
</renderingAttribute>
<!-- couleur guidage-->
<!-- color used for route line color for iOS #882a4bd1 -->
<!-- color_0 used for route line stroke color -->
<!-- color_2 used for route direction arrows -->
<!-- color_3 used for turn arrows on the route -->
<renderingAttribute name="route" >
<case color_0="#00000000" strokeWidth_0="12" color="#336600ff" strokeWidth="12" color_2="#000000" strokeWidth_2="12" color_3="#000000" strokeWidth_3="12">
<apply_if nightMode="true" color="#00000000" color_2="#ffffff" color_3="#ffffff"/>
</case>
</renderingAttribute>
<renderingAttribute name="gpx">
<switch>
<case currentTrackColor="red" color="#ff0000"/>
<case currentTrackColor="orange" color="#ff7200"/>
<case currentTrackColor="lightblue" color="#2ec6ff"/>
<case currentTrackColor="blue" color="#4e4eff"/>
<case currentTrackColor="purple" color="#a71de1"/>
<case currentTrackColor="translucent_red" color="#66ff0000"/>
<case currentTrackColor="translucent_orange" color="#66ff7200"/>
<case currentTrackColor="translucent_lightblue" color="#6600ffff"/>
<case currentTrackColor="translucent_blue" color="#664e4eff"/>
<case currentTrackColor="translucent_purple" color="#66a71de1"/>
<case color="#66ff00ff" />
<apply cap="ROUND">
<case currentTrackWidth="thin">
<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
<apply_if minzoom="6" strokeWidth="8"/>
</case>
<case currentTrackWidth="medium">
<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
<apply_if minzoom="6" maxzoom="11" strokeWidth="3"/>
<apply_if minzoom="12" strokeWidth="15"/>
</case>
<case currentTrackWidth="bold">
<apply_if minzoom="3" maxzoom="5" strokeWidth="1"/>
<apply_if minzoom="6" maxzoom="7" strokeWidth="3"/>
<apply_if minzoom="8" maxzoom="9" strokeWidth="5"/>
<apply_if minzoom="10" maxzoom="11" strokeWidth="7"/>
<apply_if minzoom="12" maxzoom="13" strokeWidth="9"/>
<apply_if minzoom="14" maxzoom="15" strokeWidth="13"/>
<apply_if minzoom="16" maxzoom="17" strokeWidth="18"/>
<apply_if minzoom="18" maxzoom="19" strokeWidth="24"/>
<apply_if minzoom="20" strokeWidth="30"/>
</case>
<case strokeWidth="24"/>
</apply>
</switch>
</renderingAttribute>
<renderingAttribute name="polygonMinSizeToDisplay">
<!-- Minimum polygon size in pixels -->
<case lessDetailed="true" attrIntValue="75"/>
<case attrIntValue="500">
<apply_if minzoom="14" attrIntValue="5"/>
</case>
</renderingAttribute>
<renderingAttribute name="roadDensityZoomTile">
<!-- 8 (=1 pixel tile) down to 0 (=large tile) -->
<case minzoom="15" attrIntValue="4"/>
<case attrIntValue="3"/>
</renderingAttribute>
<renderingAttribute name="roadsDensityLimitPerTile">
<!-- Number of roads to display per tile -->
<case lessDetailed="true" attrIntValue="30"/><!--
<case maxzoom="13" attrIntValue="30"/>-->
<case attrIntValue="55"/>
</renderingAttribute>
<renderingAttribute name="defaultSymbolPathSpacing">
<case attrFloatValue="5"/>
</renderingAttribute>
<renderingAttribute name="defaultBlockPathSpacing">
<case attrFloatValue="100"/>
</renderingAttribute>
<renderingAttribute name="globalPathPadding">
<case attrFloatValue="0"/>
</renderingAttribute>
<!-- couleur chemin -->
<renderingAttribute name="piste">
<case lessDetailed="true" attrColorValue="#bfaf9f" >
<apply_if nightMode="true" attrColorValue="#886633" />
</case>
<case arriereplan="true" attrColorValue="#cc9900" />
<case piste="true" attrColorValue="#ff00ff">
<apply_if nightMode="true" attrColorValue="#ff00ff" />
</case>
<case nightMode="true" attrColorValue="#cc9966"/>
<case ign="true" attrColorValue="#114411"/>
<case maxzoom="12" attrColorValue="#663300"/>
<case attrColorValue="#996600"/>
</renderingAttribute>
<renderingAttribute name="chemin">
<case nightMode="true" attrColorValue="#00bb55"/>
<case arriereplan="true" attrColorValue="#00ff00" />
<case ign="true" attrColorValue="#114411"/>
<case maxzoom="13" attrColorValue="#558855"/>
<case attrColorValue="#008800"/>
</renderingAttribute>
<renderingAttribute name="sentier">
<case arriereplan="true" attrColorValue="#afafaf" />
<case nightMode="true" attrColorValue="#cccccc"/>
<case ign="true" attrColorValue="#114411"/>
<case maxzoom="14" attrColorValue="#444444"/>
<case attrColorValue="#000000"/>
</renderingAttribute>
<renderingAttribute name="pieton">
<case arriereplan="true" attrColorValue="#afafaf" />
<case nightMode="true" attrColorValue="#afcc4f4f"/>
<case ign="true" attrColorValue="#114411"/>
<switch>
<case attrColorValue="#afff3333"/>
</switch>
</renderingAttribute>
<renderingAttribute name="cycleway">
<case attrColorValue="#0000cc"/>
</renderingAttribute>
<renderingAttribute name="interdit">
<case lessDetailed="true" attrColorValue="#ff9999" >
<apply_if nightMode="true" attrColorValue="#660000"/>
</case>
<case nightMode="true" attrColorValue="#cc4f4f"/>
<case arriereplan="true" attrColorValue="#ff6666"/>
<case ign="true" attrColorValue="#ff3333">
<apply_if noPolygons="true" attrColorValue="#ff6666"/>
</case>
<switch>
<case attrColorValue="#ff3333"/>
</switch>
</renderingAttribute>
<!-- couverture sol -->
<renderingAttribute name="foret">
<case gris="true" attrColorValue="#c9d6c9"/><!-- cfd6cf -->
<case attrColorValue="#dce6d0"/><!-- cfd9c6-->
</renderingAttribute>
<renderingAttribute name="broussaille">
<case gris="true" attrColorValue="#dcdfd9"/><!-- dcdcdc -->
<case attrColorValue="#e9efd9"/><!-- dfdfcf-->
</renderingAttribute>
<renderingAttribute name="vigne">
<case gris="true" attrColorValue="#ece0e6"/><!-- ececec -->
<case attrColorValue="#Fcefff"/><!-- Ffe0ff -->
</renderingAttribute>
<renderingAttribute name="culture">
<case gris="true" >
<case attrColorValue="#f0f0f0"/><!-- f0f0f0 -->
</case>
<case attrColorValue="#F9F9Ef"/><!-- FFF6E6 -->
</renderingAttribute>
<renderingAttribute name="herbe">
<case gris="true" attrColorValue="#e6ece6"/><!-- efefef -->
<case attrColorValue="#e3f6e3"/><!-- f3ffe3 -->
</renderingAttribute>
<renderingAttribute name="eau">
<case nightMode="true" attrColorValue="#114477"/>
<case attrColorValue="#80b0ff"/><!-- 8fbfff -->
</renderingAttribute>
<!-- trait chemin -->
<renderingAttribute name="piste_trait">
<case maxzoom="11" attrFloatValue="0">
<apply_if lessDetailed="true" attrFloatValue="0"/>
</case>
<case maxzoom="12" attrFloatValue="1">
<apply_if lessDetailed="true" attrFloatValue="0"/>
</case>
<case maxzoom="13" attrFloatValue="1.5">
<apply_if lessDetailed="true" attrFloatValue="0"/>
</case>
<case maxzoom="14" attrFloatValue="2.0">
<apply_if lessDetailed="true" attrFloatValue="0"/>
</case>
<case maxzoom="15" attrFloatValue="2.5">
<apply_if lessDetailed="true" attrFloatValue="3.5"/>
</case>
<case maxzoom="16" attrFloatValue="3">
<apply_if lessDetailed="true" attrFloatValue="4"/>
</case>
<case minzoom="17" attrFloatValue="3.5">
<apply_if lessDetailed="true" attrFloatValue="4.5"/>
</case>
<case minzoom="18" attrFloatValue="4.0">
<apply_if lessDetailed="true" attrFloatValue="5"/>
</case>
</renderingAttribute>
<renderingAttribute name="chemin_trait">
<case maxzoom="12" attrFloatValue="0"/>
<case maxzoom="13" attrFloatValue="1.5"/>
<case maxzoom="14" attrFloatValue="2.0"/>
<case maxzoom="15" attrFloatValue="2.5"/>
<case maxzoom="16" attrFloatValue="3"/>
<case minzoom="17" attrFloatValue="3.5"/>
<case minzoom="18" attrFloatValue="4.0"/>
</renderingAttribute>
<renderingAttribute name="chemin_trait_ign">
<case noPolygons="false" maxzoom="12" attrFloatValue="0"/>
<case noPolygons="false" maxzoom="13" attrFloatValue="1.5"/>
<case noPolygons="true" maxzoom="13" attrFloatValue="0"/>
<case noPolygons="false" maxzoom="14" attrFloatValue="1.8"/>
<case noPolygons="true" maxzoom="14" attrFloatValue="1.8"/>
<case noPolygons="false" maxzoom="15" attrFloatValue="2.1"/>
<case noPolygons="true" maxzoom="15" attrFloatValue="2.5"/>
<case noPolygons="false" maxzoom="16" attrFloatValue="2.4"/>
<case noPolygons="true" maxzoom="16" attrFloatValue="4.5"/>
<case noPolygons="false" maxzoom="17" attrFloatValue="2.7"/>
<case noPolygons="true" maxzoom="17" attrFloatValue="7.5"/>
<case noPolygons="false" minzoom="18" attrFloatValue="3.0"/>
<case noPolygons="true" minzoom="18" attrFloatValue="10"/>
</renderingAttribute>
<renderingAttribute name="piste_pointillé">
<case ign="false" maxzoom="12" attrStringValue="5_2"/>
<case ign="false" maxzoom="13" attrStringValue="8_2"/>
<case ign="false" maxzoom="14" attrStringValue="12_3"/>
<case ign="false" maxzoom="15" attrStringValue="16_4"/>
<case ign="false" maxzoom="16" attrStringValue="20_5"/>
<case ign="false" maxzoom="17" attrStringValue="24_6"/>
<case ign="false" minzoom="18" attrStringValue="28_7"/>
</renderingAttribute>
<renderingAttribute name="chemin_pointillé">
<case ign="false" maxzoom="12" attrStringValue=""/>
<case ign="false" maxzoom="13" attrStringValue="8_2"/>
<case ign="false" maxzoom="14" attrStringValue="12_3" />
<case ign="false" maxzoom="15" attrStringValue="16_4" />
<case ign="false" maxzoom="16" attrStringValue="20_5" />
<case ign="false" maxzoom="17" attrStringValue="24_6" />
<case ign="false" minzoom="18" attrStringValue="28_7" />
</renderingAttribute>
<renderingAttribute name="sentier_trait">
<case maxzoom="13" attrFloatValue="1.0"/>
<case maxzoom="14" attrFloatValue="1.5"/>
<case maxzoom="15" attrFloatValue="1.75"/>
<case maxzoom="16" attrFloatValue="2.0"/>
<case maxzoom="17" attrFloatValue="2.25"/>
<case minzoom="18" attrFloatValue="2.5"/>
</renderingAttribute>
<renderingAttribute name="sentier_pointillé">
<case maxzoom="13" attrStringValue="1_2" />
<case maxzoom="14" attrStringValue="4_4" />
<case maxzoom="15" attrStringValue="5_5" />
<case maxzoom="16" attrStringValue="6_6" />
<case maxzoom="17" attrStringValue="7_7" />
<case minzoom="18" attrStringValue="8_8" />
</renderingAttribute>
<renderingConstant name="null" value="#000000"/>
<renderingAttribute name="contourLineColor">
<case contourColorScheme="white" attrColorValue="#16333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
<case contourColorScheme="yellow" attrColorValue="#50aaaa66"/>
<case contourColorScheme="green" attrColorValue="#5066aa66"/>
<case contourColorScheme="light_brown" attrColorValue="#20886633"/>
<case contourColorScheme="brown" attrColorValue="#25886633"/>
<case contourColorScheme="dark_brown" attrColorValue="#30886633"/>
<case contourColorScheme="red" attrColorValue="#50aa6666"/>
<case attrColorValue="#20333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
</renderingAttribute>
<!---->
<renderingAttribute name="contourLineColor50">
<case contourColorScheme="white" attrColorValue="#16333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
<case contourColorScheme="yellow" attrColorValue="#50aaaa66"/>
<case contourColorScheme="green" attrColorValue="#5066aa66"/>
<case contourColorScheme="light_brown" attrColorValue="#20886633"/>
<case contourColorScheme="brown" attrColorValue="#25886633"/>
<case contourColorScheme="dark_brown" attrColorValue="#30886633"/>
<case contourColorScheme="red" attrColorValue="#50aa6666"/>
<case attrColorValue="#20333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
</renderingAttribute>
<renderingAttribute name="contourLineColor100">
<case contourColorScheme="white" attrColorValue="#26333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
<case contourColorScheme="yellow" attrColorValue="#60aaaa66"/>
<case contourColorScheme="green" attrColorValue="#6066aa66"/>
<case contourColorScheme="light_brown" attrColorValue="#30886633"/>
<case contourColorScheme="brown" attrColorValue="#35886633"/>
<case contourColorScheme="dark_brown" attrColorValue="#40886633"/>
<case contourColorScheme="red" attrColorValue="#60aa6666"/>
<case attrColorValue="#30333333">
<apply_if nightMode="true" attrColorValue="#99666666"/>
<apply_if arriereplan="true" attrColorValue="#99000000"/>
</case>
</renderingAttribute>
<!-- pour "depends=default-->
<renderingConstant name="waterwayStreamTextMinZoom" value="18"/>
<renderingConstant name="placeLocalityMinZoom" value="16"/>
<!-- type de route a tester sur iOS (risque de plantage à cause des mots francisés) --><!--
<renderingAttribute name="routeInfo_roadClass">
<case tag="highway" value="motorway" attrColorValue="#000000" attrStringValue="highway_class_motorway"/>
<case tag="highway" value="motorway_link" attrColorValue="#000000" attrStringValue="highway_class_motorway"/>
<case tag="highway" value="trunk" attrColorValue="#000000" attrStringValue="highway_class_motorway"/>
<case tag="highway" value="trunk_link" attrColorValue="#000000" attrStringValue="highway_class_motorway"/>
<case tag="highway" value="primary" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="primary_link" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="secondary" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="secondary_link" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="tertiary" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="tertiary_link" attrColorValue="#000000" attrStringValue="highway_class_state_road"/>
<case tag="highway" value="unclassified" attrColorValue="#000000" attrStringValue="highway_class_road"/>
<case tag="highway" value="road" attrColorValue="#000000" attrStringValue="highway_class_road"/>
<case tag="highway" value="residential" attrColorValue="#000000" attrStringValue="highway_class_road"/>
<case tag="highway" value="living_street" attrColorValue="#000000" attrStringValue="highway_class_road"/>
<case tag="highway" value="service" attrColorValue="#663300" attrStringValue="highway_class_road"/>
<case tag="highway" value="track" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="path" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="pedestrian" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="footway" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="bridleway" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="steps" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case tag="highway" value="cycleway" attrColorValue="$trackColor" attrStringValue="highway_class_path"/>
<case attrColorValue="#ff0000"/>
</renderingAttribute>-->
<!-- routeInfo_tracktype-->
<renderingAttribute name="routeInfo_tracktype"> <!-- dureté de la surface-->
<case additional="smoothness=impassable" attrColorValue="#66ff99" attrStringValue="sentier"/>
<case additional="smoothness=very_horrible" attrColorValue="$chemin" attrStringValue="mauvais chemin"/>
<case additional="smoothness=horrible" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="surface=grass" attrColorValue="$chemin" attrStringValue="mauvais chemin"/>
<case additional="surface=mud" attrColorValue="$chemin" attrStringValue="mauvais chemin"/>
<case additional="surface=sand" attrColorValue="$chemin" attrStringValue="mauvais chemin"/>
<case additional="surface=unpaved" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="surface=ground" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="surface=dirt" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="surface=earth" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="surface=pebblestone" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=gravel" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=paved" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=concrete" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=concrete:lanes" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=concrete:plates" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=paving_stones" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=sett" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=unhewn_cobblestone" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=cobblestone" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=metal" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=wood" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=compacted" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=fine_gravel" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="surface=chipseal" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="tracktype=grade1" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="tracktype=grade2" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="tracktype=grade3" attrColorValue="$piste" attrStringValue="carrossable"/>
<case additional="tracktype=grade4" attrColorValue="$chemin" attrStringValue="chemin"/>
<case additional="tracktype=grade5" attrColorValue="$chemin" attrStringValue="chemin"/>
<case tag="highway" value="unclassified" attrColorValue="#000000" attrStringValue="petite route"/>
<case tag="highway" value="road" attrColorValue="#000000" attrStringValue="petite route"/>
<case tag="highway" value="residential" attrColorValue="#000000" attrStringValue="petite route"/>
<case tag="highway" value="living_street" attrColorValue="#000000" attrStringValue="petite route"/>
<case tag="highway" value="service" attrColorValue="$piste" attrStringValue="carrossable"/>
<case tag="highway" value="track" attrColorValue="$chemin" attrStringValue="chemin"/>
<case tag="highway" value="path" attrColorValue="#66ff99" attrStringValue="sentier"/>
<case tag="highway" value="footway" attrColorValue="#ff0000" attrStringValue="piéton"/>
<case tag="highway" value="bridleway" attrColorValue="#ff0000" attrStringValue="cavalier"/>
<case tag="highway" value="steps" attrColorValue="#ff0000" attrStringValue="escalier"/>
<case tag="highway" value="cycleway" attrColorValue="#0000cc" attrStringValue="piste cyclable"/>
<case tag="highway" value="pedestrian" attrColorValue="#ff0000" attrStringValue="piéton"/>
<case attrColorValue="#000000" attrStringValue="route"/>
</renderingAttribute>
<!-- input layer check tag, value, point, cycle, area -->
<!-- Order should be between 0 and 255 (integer) -->
<!-- output ! objectType point = 1, line = 2, polygon = 3 and order -->
<!-- <order>
ignorePolygonArea - traite les polygones même s'ils sont filtrés par zone
ignorePolygonAsPointArea - traite le polygone comme un point (centre) même s'il est filtré par zone
-->
<order>
<switch>
<!-- Point 101-200-->
<switch area="false" point="true" objectType="1" order="128">
<!-- point has order 128 -->
<case tag="" value=""/>
<case tag="note_tag" value="yes"/>
<case tag="ford" value="yes"/>
<case tag="ford" value="stepping_stones"/>
<case tag="waterway" value="waterfall"/>
<case tag="natural" value="mountain_area" />
<case tag="natural" value="mountain_range" />
<case tag="natural" value="gorge" />
<case tag="natural" value="valley" />
<case tag="abandoned:railway" value="station"/>
<case tag="abandoned:aeroway" value=""/>
<case tag="region:type" value="mountain_area" />
<case tag="natural" value="volcano">
<apply_if maxzoom="12" additional="volcano:type=mud" order="-1"/>
</case>
<case tag="natural" value="peak">
<apply_if additional="ele_limit=200" maxzoom="12" order="-1"/>
<apply_if additional="ele_limit=500" maxzoom="11" order="-1"/>
</case>
<case tag="barrier" value="">
<apply_if lessDetailed="true" maxzoom="14" order="-1"/>
</case>
<case maxzoom="18" tag="historic" value="memorial">
<apply_if additional="memorial=stolperstein" order="-1"/>
<apply_if additional="memorial=plaque" order="-1"/>
</case>
<case tag="aerialway" value="station" ignorePolygonAsPointArea="true"/>
<case tag="railway" value="station" ignorePolygonAsPointArea="true">
<apply_if additional="station=subway" order="-1"/>
</case>
<case tag="railway" value="yard" ignorePolygonAsPointArea="true"/>
<switch>
<case tag="railway" value="halt" ignorePolygonAsPointArea="true"/>
<case tag="railway" value="tram_stop" ignorePolygonAsPointArea="true"/>
<case tag="public_transport" value="platform" ignorePolygonAsPointArea="true">
<apply_if additional="disused=yes" order="60"/>
<apply_if maxzoom="16" additional="disused=yes" order="-1"/>
</case>
<apply_if layer="-1" order="-1"/>
</switch>
</switch>
<!-- Polygon 1-10-->
<switch area="true" point="false" addPoint="true" objectType="3" order="10"><!-- aire non close -->
<case tag="leisure" value="nature_reserve" order="10" />
<case tag="boundary" value="national_park" order="-1" />
<case tag="boundary" value="protected_area" order="-1" />
<case tag="man_made" value="breakwater" order="9"/>
<case tag="boundary" value="forest" order="10" />
</switch>
<switch cycle="true" point="false" addPoint="true" objectType="3" order="5"><!-- start and end point are same -->
<case tag="leisure" value="nature_reserve" order="10" />
<case tag="boundary" value="forest" order="10" />
<case tag="boundary" value="national_park" order="-1" />
<case tag="boundary" value="protected_area" order="-1" />
<case tag="note_tag" value="yes" order="10"/>
<case tag="leisure" value="park" order="6"/>
<case tag="leisure" value="sports_centre" order="7"/>
<case tag="leisure" value="pitch" order="11"/>
<case tag="leisure" value="track" order="8"/><!---->
<case tag="leisure" value="" order="10"/>
<case tag="amenity" value="parking" order="10"/>
<case tag="amenity" value="school" order="10"/>
<case tag="amenity" value="fountain" order="11"/>
<case tag="amenity" value="shelter" order="10"/>
<case tag="amenity" value="place_of_worship" ignorePolygonAsPointArea="true"/>
<case tag="boundary" value="forestry_compartment" order="10"/>
<case tag="place" value="region" order="1" ignorePolygonArea="true"/>
<case tag="place" value="locality" order="10" ignorePolygonAsPointArea="true"/>
<switch layer="-1" order="3">
<case tag="natural" value="coastline"/>
<case tag="natural" value="land"/>
<case tag="place" value="island"/>
<case tag="place" value="islet"/>
<case tag="" value=""/>
</switch>
<case tag="barrier" value="" order="10"/><!--
<case tag="barrier" value="wall" />
<case tag="barrier" value="fence" /> ignorePolygonArea="true" -->
<case tag="power" value="plant" order="10"/>
<case tag="power" value="generator" order="10"/>
<case tag="power" value="substation" order="10"/>
<switch>
<case tag="public_transport" value="platform"/>
<case tag="railway" value="halt"/>
<case tag="railway" value="tram_stop"/>
<case tag="railway" value="station" ignorePolygonArea="true"/>
<case tag="railway" value="yard" ignorePolygonArea="true"/>
<apply_if layer="-1" order="-1"/>
</switch>
<switch>
<case tag="area:highway" value="motorway"/>
<case tag="area:highway" value="trunk"/>
<case tag="area:highway" value="primary"/>
<case tag="area:highway" value="secondary"/>
<case tag="area:highway" value="tertiary"/>
<case tag="area:highway" value="pedestrian"/>
<case tag="area:highway" value="service"/>
<case tag="area:highway" value="road"/>
<case tag="area:highway" value="unclassified"/>
<case tag="area:highway" value="service"/>
<case tag="area:highway" value="residential"/>
<case tag="area:highway" value="footway"/>
<case tag="area:highway" value="track"/>
<case tag="area:highway" value="cycleway"/>
<case tag="man_made" value="bridge"/>
<case tag="man_made" value="pier"/>
<case tag="waterway" value="dam"/>
<case tag="waterway" value="weir"/>
<apply order="10"/>
</switch>
<case tag="natural" value="volcano">
<apply_if maxzoom="12" additional="volcano:type=mud" order="-1"/>
</case>
<case tag="region:type" value="mountain_area" ignorePolygonArea="true"/><!--interdit le texte on path !
<case tag="natural" value="valley" ignorePolygonArea="true"/>
<case tag="natural" value="gorge" ignorePolygonArea="true"/>
<case tag="natural" value="mountain_area" ignorePolygonArea="true"/>
<case tag="natural" value="mountain_range" ignorePolygonArea="true"/>
<case tag="natural" value="massif" ignorePolygonArea="true"/>-->
<case tag="natural" value="water" order="10"/>
<case tag="natural" value="sinkhole"/>
<case tag="natural" value="hot_spring"/>
<case tag="natural" value="geyser"/>
<case tag="natural" value="crater"/>
<case tag="natural" value="wetland" order="9"/>
<case tag="natural" value="scrub" order="7"/>
<case tag="natural" value="wood" order="7"/>
<case tag="natural" value="heath" order="8"/>
<case tag="natural" value="grassland" order="8"/>
<case tag="natural" value="stone"/>
<case tag="natural" value="bare_rock" order="9"/>
<case tag="natural" value="crevasse">
<apply_if lessDetailed="true" maxzoom="15" order="-1"/>
</case>
<case tag="landuse" value="residential" order="2"/>
<case tag="landuse" value="farmyard" order="8"/>
<case tag="landuse" value="farmland" order="8"/>
<case tag="landuse" value="grass" order="9"/>
<case tag="landuse" value="vineyard" order="9"/>
<case tag="landuse" value="forest" order="7"/>
<case tag="wood:lost" value="" order="7"/>
<case tag="landuse" value="greenfield" order="8"/>
<case tag="landuse" value="brownfield" order="8"/>
<case tag="landuse" value="reservoir" order="10"/>
<case tag="landuse" value="military" order="10"/>
<case tag="landuse" value="cemetery" order="10"/>
<case tag="landuse" value="construction" order="10"/>
<case tag="landuse" value="quarry" order="9"/>
<case tag="glacial" value="crevasse_zone" order="10"/>
<case tag="waterway" value="dock"/>
<case tag="waterway" value="riverbank" order="9"/>
<case tag="landuse" value="basin" order="10"/>
<case tag="military" value="bunker"/>
<case tag="military" value="barracks"/>
<case tag="sport" value="climbing" order="9"/>
<case tag="man_made" value="storage_tank"/>
<case tag="man_made" value="silo"/>
<case tag="man_made" value="bunker_silo"/>
<case tag="man_made" value="spoil_heap"/>
<case tag="man_made" value="reservoir_covered"/>
<case tag="man_made" value="chimney"/>
<case tag="man_made" value="tower"/>
<case tag="man_made" value="monitoring_station"/>
<case tag="man_made" value="reinforced_slope"/>
<case tag="man_made" value="breakwater" order="9"/>
<case tag="building" value="no" order="-1"/>
<case tag="building" value="" order="10"/>
<case tag="building" value="proposed" order="-1"/>
<case tag="abandoned:building" value="no" order="-1"/>
<case tag="abandoned:building" value="" order="10"/>
<case tag="disused:building" value="no" order="-1"/>
<case tag="disused:building" value="" order="10"/>
<case tag="public_transport" value="platform" order="9" ignorePolygonAsPointArea="true"/>
<case tag="tourism" value="" order="11" ignorePolygonAsPointArea="true"/>
<case tag="military" value="danger_area" order="9"/>
<case tag="historic" value="archaeological_site" order="9"/>
<case tag="historic" value="ruins" order="10"/>
<case tag="geological" value="palaeontological_site" order="9"/>
<case tag="geological" value="outcrop"/>
<case tag="abandoned:place" value="" order="9"/>
<case tag="abandoned:landuse" value="" order="9"/>
<case tag="abandoned:aeroway" value="runway"/>
<case tag="aeroway" value="runway" order="10"/>
<case tag="abandoned:aeroway" value="aerodrome" order="10"/>
<case tag="aerialway" value="station" ignorePolygonArea="true"/>
<case tag="aeroway" value="aerodrome" ignorePolygonArea="true">
<apply_if additional="aerodrome:type=military" order="9"/>
</case>
<case tag="aeroway" value="apron"/>
<case tag="aeroway" value="terminal"/>
<case tag="aeroway" value="helipad"/>
<case tag="railway" value="station" ignorePolygonArea="true"/>
<case tag="railway" value="yard" ignorePolygonArea="true"/>
<case tag="addr:housenumber" value="" ignorePolygonAsPointArea="true"/>
<case tag="" value="" order="0"/>
</switch>
<!-- Line 11-100-->
<switch area="false" addPoint="false" objectType="2" >
<case tag="natural" value="mountain_range" order="100"/>
<case tag="natural" value="valley" order="100"/> <!--non-->
<case tag="natural" value="gorge" order="100"/> <!--oui-->
<case tag="natural" value="ridge" order="100"/> <!--oui-->
<case tag="natural" value="sinkhole" order="100"/> <!--oui-->
<case tag="region:type" value="mountain_area" order="100"/>
</switch>
<switch area="false" addPoint="true" objectType="2" >
<!-- default line --><!--
<case tag="" value="" order="12"/>-->
<case tag="note_tag" value="yes" order="11"/>
<case layer="-1" tag="" value="" order="11"/>
<case tag="leisure" value="track" order="60" ignorePolygonArea="true"/>
<case tag="osmand" value="file_trackline"/>
<case tag="osmand" value="file_routeline"/>
<case tag="admin_level" value="" order="62"/>
<case tag="power" value="line" order="96"/>
<case tag="power" value="minor_line" order="96"/>
<case tag="highway" value="motorway" order="84">
<apply_if additional="layer=1" order="107"/>
<apply_if additional="layer=2" order="137"/>
<apply_if additional="layer=3" order="165"/>
<apply_if additional="layer=-1" order="62"/>
<apply_if additional="layer=-2" order="41"/>
</case>
<case tag="highway" value="motorway_link" order="84">
<apply_if additional="layer=1" order="94"/>
<apply_if additional="layer=2" order="124"/>
<apply_if additional="layer=3" order="152"/>
<apply_if additional="layer=-1" order="49"/>
<apply_if additional="layer=-2" order="25"/>
</case>
<case tag="highway" value="trunk" order="83">
<apply_if additional="layer=1" order="106"/>
<apply_if additional="layer=2" order="136"/>
<apply_if additional="layer=3" order="164"/>
<apply_if additional="layer=-1" order="61"/>
<apply_if additional="layer=-2" order="40"/>
</case>
<case tag="highway" value="trunk_link" order="83">
<apply_if additional="layer=1" order="93"/>
<apply_if additional="layer=2" order="123"/>
<apply_if additional="layer=3" order="151"/>
<apply_if additional="layer=-1" order="48"/>
<apply_if additional="layer=-2" order="24"/>
</case>
<case tag="highway" value="primary" order="82">
<apply_if additional="layer=1" order="105"/>
<apply_if additional="layer=2" order="135"/>
<apply_if additional="layer=3" order="163"/>
<apply_if additional="layer=-1" order="60"/>
<apply_if additional="layer=-2" order="39"/>
</case>
<case tag="highway" value="primary_link" order="82">
<apply_if additional="layer=1" order="92"/>
<apply_if additional="layer=2" order="122"/>
<apply_if additional="layer=3" order="150"/>
<apply_if additional="layer=-1" order="47"/>
<apply_if additional="layer=-2" order="23"/>
</case>
<case tag="highway" value="secondary" order="81">
<apply_if additional="layer=1" order="104"/>
<apply_if additional="layer=2" order="134"/>
<apply_if additional="layer=3" order="162"/>
<apply_if additional="layer=-1" order="59"/>
<apply_if additional="layer=-2" order="38"/>
</case>
<case tag="highway" value="secondary_link" order="81">
<apply_if additional="layer=1" order="91"/>
<apply_if additional="layer=2" order="121"/>
<apply_if additional="layer=3" order="149"/>
<apply_if additional="layer=-1" order="46"/>
<apply_if additional="layer=-2" order="22"/>
</case>
<case tag="highway" value="tertiary" order="80">
<apply_if additional="layer=1" order="103"/>
<apply_if additional="layer=2" order="133"/>
<apply_if additional="layer=3" order="161"/>
<apply_if additional="layer=-1" order="58"/>
<apply_if additional="layer=-2" order="37"/>
</case>
<case tag="highway" value="tertiary_link" order="80">
<apply_if additional="layer=1" order="90"/>
<apply_if additional="layer=2" order="120"/>
<apply_if additional="layer=3" order="148"/>
<apply_if additional="layer=-1" order="45"/>
<apply_if additional="layer=-2" order="21"/>
</case>
<case tag="highway" value="road" order="79">
<apply_if additional="layer=1" order="102"/>
<apply_if additional="layer=2" order="132"/>
<apply_if additional="layer=3" order="160"/>
<apply_if additional="layer=-1" order="57"/>
<apply_if additional="layer=-2" order="36"/>
</case>
<case tag="highway" value="unclassified" order="79">
<apply_if additional="layer=1" order="102"/>
<apply_if additional="layer=2" order="132"/>
<apply_if additional="layer=3" order="160"/>
<apply_if additional="layer=-1" order="57"/>
<apply_if additional="layer=-2" order="36"/>
</case>
<case tag="highway" value="residential" order="78">
<apply_if additional="layer=1" order="101"/>
<apply_if additional="layer=2" order="131"/>
<apply_if additional="layer=3" order="159"/>
<apply_if additional="layer=-1" order="56"/>
<apply_if additional="layer=-2" order="35"/>
</case>
<case tag="highway" value="service" order="78">
<apply_if additional="layer=1" order="101"/>
<apply_if additional="bridge=yes" order="120"/>
<apply_if additional="layer=2" order="131"/>
<apply_if additional="layer=3" order="159"/>
<apply_if additional="layer=-1" order="56"/>
<apply_if additional="layer=-2" order="35"/>
</case>
<case tag="highway" value="living_street" order="77">
<apply_if additional="layer=1" order="100"/>
<apply_if additional="layer=2" order="130"/>
<apply_if additional="layer=3" order="158"/>
<apply_if additional="layer=-1" order="55"/>
<apply_if additional="layer=-2" order="34"/>
</case>
<case tag="highway" value="pedestrian" order="66">
<apply_if additional="layer=1" order="99"/>
<apply_if additional="layer=2" order="129"/>
<apply_if additional="layer=3" order="157"/>
<apply_if additional="layer=-1" order="54"/>
<apply_if additional="layer=-2" order="33"/>
</case>
<case tag="highway" value="escape" order="89"/>
<case tag="highway" value="track" order="63">
<apply_if additional="layer=1" order="111"/>
<apply_if additional="layer=2" order="139"/>
<apply_if additional="layer=3" order="146"/>
<apply_if additional="layer=-1" order="20"/>
<apply_if additional="layer=-2" order="19"/>
</case>
<case tag="highway" value="path" order="62">
<apply_if additional="layer=1" order="110"/>
<apply_if additional="layer=2" order="138"/>
<apply_if additional="layer=3" order="145"/>
<apply_if additional="layer=-1" order="19"/>
<apply_if additional="layer=-2" order="18"/>
</case>
<case tag="highway" value="footway" order="61">
<apply_if additional="layer=1" order="109"/>
<apply_if additional="layer=2" order="137"/>
<apply_if additional="layer=3" order="144"/>
<apply_if additional="layer=-1" order="18"/>
<apply_if additional="layer=-2" order="17"/>
</case>
<case tag="highway" value="cycleway" order="18">
<apply_if additional="layer=1" order="108"/>
<apply_if additional="layer=2" order="136"/>
<apply_if additional="layer=3" order="143"/>
<apply_if additional="layer=-1" order="17"/>
<apply_if additional="layer=-2" order="16"/>
</case>
<case tag="highway" value="steps" order="65"/>
<case tag="abandoned:highway" value="" order="61"/>
<case tag="highway" value="via_ferrata"/>
<case tag="highway" value="raceway" order="85"/>
<case tag="highway" value="bridleway" order="53"/>
<case tag="railway" value="subway" layer="-1" order="-1"/>
<case tag="railway" value="subway" additional="layer=-2" order="-1"/>
<case tag="railway" value="" order="22">
<apply_if additional="layer=1" order="112"/>
<apply_if additional="layer=2" order="140"/>
<apply_if additional="layer=3" order="147"/>
<apply_if additional="layer=-1" order="21"/>
<apply_if additional="layer=-2" order="20"/>
</case>
<case tag="man_made" value="pipeline" order="11"/>
<case tag="man_made" value="cutline" order="8">
<apply_if noPolygons="true" order="-1"/>
</case>
<case tag="man_made" value="reinforced_slope"/>
<case tag="barrier" value="" order="20" ignorePolygonArea="true">
<apply_if layer="-1" order="-1"/>
<apply_if additional="layer=-2" order="-1"/>
</case>
<case tag="natural" value="coastline_broken" order="63"/>
<case tag="natural" value="coastline_line" order="63"/>
<case tag="natural" value="volcano"/>
<case tag="natural" value="cliff" order="20"/>
<case tag="natural" value="slope" order="20"/>
<case tag="natural" value="earth_bank" order="20"/>
<case tag="natural" value="crater"/>
<case tag="natural" value="strait"/>
<case tag="natural" value="fjord"/>
<case tag="natural" value="tree_row" order="11"/>
<case tag="natural" value="crevasse">
<apply_if lessDetailed="true" maxzoom="15" order="-1"/>
</case>
<case tag="geological" value="outcrop"/>
<case tag="ford" value="yes" order="85"/>
<case tag="ford" value="stepping_stones" order="85"/>
<case tag="waterway" value="waterfall" order="80"/>
<case tag="waterway" value="dam" order="19"/>
<case tag="waterway" value="weir" order="19"/>
<case tag="waterway" value="ditch" order="11"/>
<case tag="waterway" value="drain" order="11"/>
<case tag="waterway" value="river" order="11"/>
<case tag="waterway" value="stream" order="11"/>
<case tag="waterway" value="canal" order="11"/>
<case tag="waterway" value="lock_gate" order="19"/>
<case tag="waterway" value="">
<apply_if additional="layer=1" order="89"/>
<apply_if additional="layer=2" order="120"/>
<apply_if additional="layer=3" order="148"/>
<apply_if additional="tunnel=yes" maxzoom="16" order="-1"/>
<apply_if additional="tunnel=flooded" maxzoom="16" order="-1"/>
<apply_if additional="tunnel=avalanche_protector" maxzoom="16" order="-1"/>
<apply_if additional="tunnel=building_passage" maxzoom="16" order="-1"/>
<apply_if additional="tunnel=culvert" maxzoom="16" order="-1"/>
</case>
<case tag="abandoned:aeroway" value="runway"/>
<case tag="aerialway" value="" order="100"/>
<case tag="aerialway" value="station" order="100"/>
<case tag="aeroway" value="runway"/>
<case tag="aeroway" value="" order="62"/>
<case tag="railway" value="station"/>
<case tag="public_transport" value="platform"/>
<case tag="boundary" value="" order="20"/>
<case tag="boundary" value="protected_area" order="79" ignorePolygonArea="true"/><!--
<case tag="boundary" value="national_park" order="81" ignorePolygonArea="true"/>
<case tag="leisure" value="nature_reserve" order="80" />-->