Commit | Line | Data |
---|---|---|
548e522c | 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"> | |
538cb976 | 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> | |
380316ef UO |
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> | |
548e522c | 20 | </Style> |
21 | ||
948abd12 UO |
22 | <Style name="subwaylines" filter-mode="first"> |
23 | <Rule> | |
24 | &maxscale_zoom10; | |
25 | <Filter>([ref] = 'Waterloo & City')</Filter> | |
26 | <LineSymbolizer stroke="#88d0c4" stroke-width="3" /> | |
27 | <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> | |
28 | </Rule> | |
29 | <Rule> | |
30 | &maxscale_zoom10; | |
31 | <Filter>([ref] = 'Victoria')</Filter> | |
32 | <LineSymbolizer stroke="#0a9cda" stroke-width="3" /> | |
33 | <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> | |
34 | </Rule> | |
35 | <Rule> | |
36 | &maxscale_zoom10; | |
37 | <Filter>([ref] = 'Piccadilly')</Filter> | |
38 | <LineSymbolizer stroke="#094fa3" stroke-width="3" /> | |
39 | <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> | |
40 | </Rule> | |
41 | <Rule> | |
42 | &maxscale_zoom10; | |
43 | <Filter>([ref] = 'Northern')</Filter> | |
44 | <LineSymbolizer stroke="#000000" stroke-width="3" /> | |
45 | <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> | |
46 | </Rule> | |
47 | <Rule> | |
48 | &maxscale_zoom10; | |
49 | <Filter>([ref] = 'Metropolitan')</Filter> | |
50 | <LineSymbolizer stroke="#91005a" stroke-width="3" /> | |
51 | <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> | |
52 | </Rule> | |
53 | <Rule> | |
54 | &maxscale_zoom10; | |
55 | <Filter>([ref] = 'Jubilee')</Filter> | |
56 | <LineSymbolizer stroke="#949699" stroke-width="3" /> | |
57 | <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> | |
58 | </Rule> | |
59 | <Rule> | |
60 | <MaxScaleDenominator>750000</MaxScaleDenominator> | |
61 | <Filter>([ref] = 'Hammersmith & City')</Filter> | |
62 | <LineSymbolizer stroke="#f491a8" offset="2" stroke-dasharray="8, 5" stroke-width="3" /> | |
63 | <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> | |
64 | </Rule> | |
65 | <Rule> | |
66 | &maxscale_zoom10; | |
67 | <Filter>([ref] = 'District')</Filter> | |
68 | <LineSymbolizer stroke="#00a166" stroke-width="3" /> | |
69 | <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> | |
70 | </Rule> | |
71 | <Rule> | |
72 | &maxscale_zoom10; | |
73 | <Filter>([ref] = 'Circle')</Filter> | |
74 | <LineSymbolizer stroke="#ffe02b" offset="2" stroke-dasharray="8, 5" stroke-width="3" /> | |
75 | <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> | |
76 | </Rule> | |
77 | <Rule> | |
78 | &maxscale_zoom10; | |
79 | <Filter>([ref] = 'Central')</Filter> | |
80 | <LineSymbolizer stroke="#f15b2e" stroke-width="3" /> | |
81 | <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> | |
82 | </Rule> | |
83 | <Rule> | |
84 | &maxscale_zoom10; | |
85 | <Filter>([ref] = 'Bakerloo')</Filter> | |
86 | <LineSymbolizer stroke="#ae6017" stroke-width="3" /> | |
87 | <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> | |
88 | </Rule> | |
89 | </Style> | |
90 | ||
548e522c | 91 | <Layer name="amenity-points" status="on" srs="&osm2pgsql_projection;"> |
92 | <StyleName>points</StyleName> | |
93 | <Datasource> | |
94 | <Parameter name="table"> | |
882e704d | 95 | (select way,amenity,access |
548e522c | 96 | from &prefix;_point |
97 | where amenity is not null | |
548e522c | 98 | ) as points</Parameter> |
99 | &datasource-settings; | |
100 | </Datasource> | |
101 | </Layer> | |
102 | <Layer name="amenity-points-poly" status="on" srs="&osm2pgsql_projection;"> | |
103 | <StyleName>points</StyleName> | |
104 | <Datasource> | |
105 | <Parameter name="table"> | |
882e704d | 106 | (select way,amenity,access |
548e522c | 107 | from &prefix;_polygon |
108 | where amenity is not null | |
548e522c | 109 | ) as points</Parameter> |
110 | &datasource-settings; | |
111 | </Datasource> | |
112 | </Layer> | |
113 | ||
114 | ||
115 | <Layer name="text" status="on" srs="&osm2pgsql_projection;"> | |
116 | <StyleName>text</StyleName> | |
117 | <Datasource> | |
118 | <Parameter name="table"> | |
380316ef | 119 | (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'yes'::text as point |
548e522c | 120 | from &prefix;_point |
121 | where amenity is not null | |
538cb976 | 122 | or tags is not null |
548e522c | 123 | ) as text |
124 | </Parameter> | |
125 | &datasource-settings; | |
126 | </Datasource> | |
127 | </Layer> | |
128 | <Layer name="text-poly" status="on" srs="&osm2pgsql_projection;"> | |
129 | <StyleName>text</StyleName> | |
130 | <Datasource> | |
131 | <Parameter name="table"> | |
380316ef | 132 | (select way,amenity,access,name,leisure,tags->'campusbuilding' as campusbuilding,tags->'name:short' as nameshort,ref,'no'::text as point |
548e522c | 133 | from &prefix;_polygon |
134 | where amenity is not null | |
538cb976 | 135 | or tags is not null |
548e522c | 136 | ) as text |
137 | </Parameter> | |
138 | &datasource-settings; | |
139 | </Datasource> | |
140 | </Layer> | |
948abd12 UO |
141 | |
142 | <Layer name="subwaylines" status="on" srs="&osm2pgsql_projection;"> | |
143 | <StyleName>subwaylines</StyleName> | |
144 | <Datasource> | |
145 | <Parameter name="table"><![CDATA[(SELECT way, ref, osm_id FROM planet_osm_line WHERE route='subway') AS subwayroutes]]></Parameter> | |
146 | &datasource-settings; | |
147 | </Datasource> | |
148 | </Layer> | |
149 | ||
548e522c | 150 | </Map> |