-
Notifications
You must be signed in to change notification settings - Fork 1
/
hikingmap.xml
92 lines (85 loc) · 3.06 KB
/
hikingmap.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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map [
<!ENTITY % entities SYSTEM "inc/entities.xml.inc">
<!ENTITY % sharedentities SYSTEM "entities.xml.ent">
<!ENTITY background-color "#F8F8F8"><!-- background (default land) -->
<!ENTITY forestland-color "#e7f8de"><!-- wood -->
<!ENTITY farmland-color "#FFC675"><!-- farmland, field, orchard -->
<!ENTITY openland-color "#FFDE9B"><!-- meadow, recreation ground, park -->
<!ENTITY roadcore-color "#E7B27E"><!-- roads core, parking, pitch, yard -->
<!ENTITY urbanarea-color "#C3D3AC"><!-- residential, industrial -->
<!ENTITY regulatedarea-color "#D8E6C6"><!-- construction, landfill, quarry -->
<!ENTITY water-color "#87D2E5"><!-- water -->
<!ENTITY waterline-color "#009DDD"><!-- stream, shoreline -->
<!ENTITY naturearea-color "#007D33">
<!ENTITY trail-color "#000"><!-- path, track, footway, cycleway -->
<!ENTITY trailblazed-color "#0E3CCC"><!-- trailblazes, #007AC8 -->
%sharedentities;
%entities;
]>
<Map bgcolor="&water-color;" srs="&osm2pgsql_projection;"
minimum_version="0.7.1">
&fontset-settings;
<Style name="trails">
<Rule>
<Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
&maxscale_zoom10;
&minscale_zoom11;
<LineSymbolizer>
<CssParameter name="stroke">&trailblazed-color;</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
<CssParameter name="stroke-dasharray">4,4</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
&maxscale_zoom12;
&minscale_zoom13;
<LineSymbolizer>
<CssParameter name="stroke">&trailblazed-color;</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
<CssParameter name="stroke-width">2.5</CssParameter>
<CssParameter name="stroke-dasharray">1,6</CssParameter>
</LineSymbolizer>
</Rule>
<Rule>
<Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
&maxscale_zoom14;
<LineSymbolizer>
<CssParameter name="stroke">&trailblazed-color;</CssParameter>
<CssParameter name="stroke-linejoin">round</CssParameter>
<CssParameter name="stroke-linecap">round</CssParameter>
<CssParameter name="stroke-width">5</CssParameter>
<CssParameter name="stroke-dasharray">1,12</CssParameter>
</LineSymbolizer>
</Rule>
</Style>
&layer-world;
&layer-landscape;
&layer-linefeatures;
&layer-buildings;
&layer-roads;
&layer-nationalpark;
<Layer name="trails" status="on" srs="&osm2pgsql_projection;">
<StyleName>trails</StyleName>
<Datasource>
<Parameter name="table">
(select way,trailblazed,marked_trail
from &prefix;_line
where highway is not null
) as trails
</Parameter>
&datasource-settings;
</Datasource>
</Layer>
&layer-roadnames;
&layer-powerlines;
&layer-symbols-facilities;
&layer-symbols-hiking;
&layer-text-water;
&layer-areatext;
&layer-placenames;
</Map>