]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <!DOCTYPE Map [ | |
3 | <!ENTITY % entities SYSTEM "inc/entities.xml.inc"> | |
4 | %entities; | |
5 | ]> | |
6 | <Map background-color="transparent" srs="&srs900913;" minimum-version="2.0.0" buffer-size="512" maximum-extent="-20037508.342789244,-20037508.342780735,20037508.342789244,20037508.342780709"> | |
7 | &fontset-settings; | |
8 | <Style name="text"> | |
9 | <Rule> | |
10 | <Filter>[campusbuilding]='lecture hall'</Filter> | |
11 | &maxscale_zoom17; | |
12 | <TextSymbolizer size="9" fill="#006600" fontset-name="book-fonts" halo-radius="1" wrap-width="34" placement="interior">[nameshort]</TextSymbolizer> | |
13 | </Rule> | |
14 | <Rule> | |
15 | <Filter>[leisure]='hackerspace'</Filter> | |
16 | &maxscale_zoom17; | |
17 | <!-- wrap-width=10 damit wir kompatibel mit dem deutschen stil sind, so dass wir deren text nur mit identischem text ueberlagern --> | |
18 | <TextSymbolizer size="9" fill="#006600" fontset-name="book-fonts" halo-radius="1" wrap-width="10" placement="interior">[name]</TextSymbolizer> | |
19 | </Rule> | |
20 | </Style> | |
21 | ||
22 | <Style name="gebaeudenummernfamos"> | |
23 | <Rule> | |
24 | &maxscale_zoom17; | |
25 | <TextSymbolizer size="9" fill="#009090" fontset-name="book-fonts" halo-radius="1" wrap-width="99" placement="interior">[name]</TextSymbolizer> | |
26 | </Rule> | |
27 | </Style> | |
28 | ||
29 | <Style name="subwaylines" filter-mode="first"> | |
30 | <Rule> | |
31 | &maxscale_zoom10; | |
32 | <Filter>([ref] = 'Waterloo & City')</Filter> | |
33 | <LineSymbolizer stroke="#88d0c4" stroke-width="3" /> | |
34 | <TextSymbolizer fill="#88d0c4" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
35 | </Rule> | |
36 | <Rule> | |
37 | &maxscale_zoom10; | |
38 | <Filter>([ref] = 'Victoria')</Filter> | |
39 | <LineSymbolizer stroke="#0a9cda" stroke-width="3" /> | |
40 | <TextSymbolizer fill="#0a9cda" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
41 | </Rule> | |
42 | <Rule> | |
43 | &maxscale_zoom10; | |
44 | <Filter>([ref] = 'Piccadilly')</Filter> | |
45 | <LineSymbolizer stroke="#094fa3" stroke-width="3" /> | |
46 | <TextSymbolizer fill="#094fa3" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
47 | </Rule> | |
48 | <Rule> | |
49 | &maxscale_zoom10; | |
50 | <Filter>([ref] = 'Northern')</Filter> | |
51 | <LineSymbolizer stroke="#000000" stroke-width="3" /> | |
52 | <TextSymbolizer fill="#000000" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
53 | </Rule> | |
54 | <Rule> | |
55 | &maxscale_zoom10; | |
56 | <Filter>([ref] = 'Metropolitan')</Filter> | |
57 | <LineSymbolizer stroke="#91005a" stroke-width="3" /> | |
58 | <TextSymbolizer fill="#91005a" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
59 | </Rule> | |
60 | <Rule> | |
61 | &maxscale_zoom10; | |
62 | <Filter>([ref] = 'Jubilee')</Filter> | |
63 | <LineSymbolizer stroke="#949699" stroke-width="3" /> | |
64 | <TextSymbolizer fill="#949699" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
65 | </Rule> | |
66 | <Rule> | |
67 | <MaxScaleDenominator>750000</MaxScaleDenominator> | |
68 | <Filter>([ref] = 'Hammersmith & City')</Filter> | |
69 | <LineSymbolizer stroke="#f491a8" offset="2" stroke-dasharray="8, 5" stroke-width="3" /> | |
70 | <TextSymbolizer fill="#f491a8" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
71 | </Rule> | |
72 | <Rule> | |
73 | &maxscale_zoom10; | |
74 | <Filter>([ref] = 'District')</Filter> | |
75 | <LineSymbolizer stroke="#00a166" stroke-width="3" /> | |
76 | <TextSymbolizer fill="#00a166" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
77 | </Rule> | |
78 | <Rule> | |
79 | &maxscale_zoom10; | |
80 | <Filter>([ref] = 'Circle')</Filter> | |
81 | <LineSymbolizer stroke="#ffe02b" offset="2" stroke-dasharray="8, 5" stroke-width="3" /> | |
82 | <TextSymbolizer fill="#ffe02b" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
83 | </Rule> | |
84 | <Rule> | |
85 | &maxscale_zoom10; | |
86 | <Filter>([ref] = 'Central')</Filter> | |
87 | <LineSymbolizer stroke="#f15b2e" stroke-width="3" /> | |
88 | <TextSymbolizer fill="#f15b2e" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
89 | </Rule> | |
90 | <Rule> | |
91 | &maxscale_zoom10; | |
92 | <Filter>([ref] = 'Bakerloo')</Filter> | |
93 | <LineSymbolizer stroke="#ae6017" stroke-width="3" /> | |
94 | <TextSymbolizer fill="#ae6017" placement="line" fontset-name="book-fonts" size="9" dy="-6" vertical-alignment="middle" halo-radius="1" halo-fill="#ffffff" minimum-distance="200" ><![CDATA[[ref]]]></TextSymbolizer> | |
95 | </Rule> | |
96 | </Style> | |
97 | ||
98 | <Layer name="amenity-points" status="on" srs="&osm2pgsql_projection;"> | |
99 | <StyleName>points</StyleName> | |
100 | <Datasource> | |
101 | <Parameter name="table"> | |
102 | (select way,amenity,access | |
103 | from &prefix;_point | |
104 | where amenity is not null | |
105 | ) as points</Parameter> | |
106 | &datasource-settings; | |
107 | </Datasource> | |
108 | </Layer> | |
109 | <Layer name="amenity-points-poly" status="on" srs="&osm2pgsql_projection;"> | |
110 | <StyleName>points</StyleName> | |
111 | <Datasource> | |
112 | <Parameter name="table"> | |
113 | (select way,amenity,access | |
114 | from &prefix;_polygon | |
115 | where amenity is not null | |
116 | ) as points</Parameter> | |
117 | &datasource-settings; | |
118 | </Datasource> | |
119 | </Layer> | |
120 | ||
121 | ||
122 | <Layer name="text" status="on" srs="&osm2pgsql_projection;"> | |
123 | <StyleName>text</StyleName> | |
124 | <Datasource> | |
125 | <Parameter name="table"> | |
126 | (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'yes'::text as point | |
127 | from &prefix;_point | |
128 | where amenity is not null | |
129 | or tags is not null | |
130 | ) as text | |
131 | </Parameter> | |
132 | &datasource-settings; | |
133 | </Datasource> | |
134 | </Layer> | |
135 | <Layer name="text-poly" status="on" srs="&osm2pgsql_projection;"> | |
136 | <StyleName>text</StyleName> | |
137 | <Datasource> | |
138 | <Parameter name="table"> | |
139 | (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'no'::text as point | |
140 | from &prefix;_polygon | |
141 | where amenity is not null | |
142 | or tags is not null | |
143 | ) as text | |
144 | </Parameter> | |
145 | &datasource-settings; | |
146 | </Datasource> | |
147 | </Layer> | |
148 | ||
149 | <Layer name="subwaylines" status="on" srs="&osm2pgsql_projection;"> | |
150 | <StyleName>subwaylines</StyleName> | |
151 | <Datasource> | |
152 | <Parameter name="table"><![CDATA[(SELECT way, ref, osm_id FROM planet_osm_line WHERE route='subway') AS subwayroutes]]></Parameter> | |
153 | &datasource-settings; | |
154 | </Datasource> | |
155 | </Layer> | |
156 | ||
157 | <Layer name="gebaeudenummernfamos" status="on" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"> | |
158 | <StyleName>gebaeudenummernfamos</StyleName> | |
159 | <Datasource> | |
160 | <Parameter name="type">geojson</Parameter> | |
161 | <Parameter name="file">buildingnumbers.geojson</Parameter> | |
162 | </Datasource> | |
163 | </Layer> | |
164 | ||
165 | </Map> |