source: subversion/applications/rendering/nor-hikingmap/hikingmap.xml @ 34655

Last change on this file since 34655 was 29926, checked in by vibrog, 6 years ago

Tweak forest landfill color

File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE Map [
3<!ENTITY % entities SYSTEM "inc/entities.xml.inc">
4<!ENTITY % sharedentities SYSTEM "entities.xml.ent">
5
6<!ENTITY background-color "#F8F8F8"><!-- background (default land) -->
7<!ENTITY forestland-color "#e7f8de"><!-- wood -->
8<!ENTITY farmland-color "#FFC675"><!-- farmland, field, orchard -->
9<!ENTITY openland-color "#FFDE9B"><!-- meadow, recreation ground, park -->
10<!ENTITY roadcore-color "#E7B27E"><!-- roads core, parking, pitch, yard -->
11<!ENTITY urbanarea-color "#C3D3AC"><!-- residential, industrial -->
12<!ENTITY regulatedarea-color "#D8E6C6"><!-- construction, landfill, quarry -->
13<!ENTITY water-color "#87D2E5"><!-- water -->
14<!ENTITY waterline-color "#009DDD"><!-- stream, shoreline -->
15<!ENTITY naturearea-color "#007D33">
16<!ENTITY trail-color "#000"><!-- path, track, footway, cycleway -->
17<!ENTITY trailblazed-color "#0E3CCC"><!-- trailblazes, #007AC8 -->
18
19%sharedentities;
20%entities;
21]>
22
23<Map bgcolor="&water-color;" srs="&osm2pgsql_projection;"
24     minimum_version="0.7.1">
25  &fontset-settings;
26
27<Style name="trails">
28  <Rule>
29    <Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
30    &maxscale_zoom10;
31    &minscale_zoom11;
32    <LineSymbolizer>
33      <CssParameter name="stroke">&trailblazed-color;</CssParameter>
34      <CssParameter name="stroke-linejoin">round</CssParameter>
35      <CssParameter name="stroke-linecap">round</CssParameter>
36      <CssParameter name="stroke-width">1</CssParameter>
37      <CssParameter name="stroke-dasharray">4,4</CssParameter>
38    </LineSymbolizer>
39  </Rule>
40  <Rule>
41    <Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
42    &maxscale_zoom12;
43    &minscale_zoom13;
44    <LineSymbolizer>
45      <CssParameter name="stroke">&trailblazed-color;</CssParameter>
46      <CssParameter name="stroke-linejoin">round</CssParameter>
47      <CssParameter name="stroke-linecap">round</CssParameter>
48      <CssParameter name="stroke-width">2.5</CssParameter>
49      <CssParameter name="stroke-dasharray">1,6</CssParameter>
50    </LineSymbolizer>
51  </Rule>
52  <Rule>
53    <Filter>[trailblazed] = 'yes' or [marked_trail] = 'blue'</Filter>
54    &maxscale_zoom14;
55    <LineSymbolizer>
56      <CssParameter name="stroke">&trailblazed-color;</CssParameter>
57      <CssParameter name="stroke-linejoin">round</CssParameter>
58      <CssParameter name="stroke-linecap">round</CssParameter>
59      <CssParameter name="stroke-width">5</CssParameter>
60      <CssParameter name="stroke-dasharray">1,12</CssParameter>
61    </LineSymbolizer>
62  </Rule>
63</Style>
64
65&layer-world;
66&layer-landscape;
67&layer-linefeatures;
68&layer-buildings;
69&layer-roads;
70&layer-nationalpark;
71
72<Layer name="trails" status="on" srs="&osm2pgsql_projection;">
73  <StyleName>trails</StyleName>
74  <Datasource>
75    <Parameter name="table">
76    (select way,trailblazed,marked_trail
77     from &prefix;_line
78     where highway is not null
79    ) as trails
80    </Parameter>
81    &datasource-settings;
82  </Datasource>
83</Layer>
84
85&layer-roadnames;
86&layer-powerlines;
87&layer-symbols-facilities;
88&layer-symbols-hiking;
89&layer-text-water;
90&layer-areatext;
91&layer-placenames;
92</Map>
Note: See TracBrowser for help on using the repository browser.