source: subversion/applications/rendering/nor-hikingmap/layer-symbols-facilities.xml.ent @ 29168

Last change on this file since 29168 was 29092, checked in by vibrog, 7 years ago

Add motorsport symbol to motocross

File size: 7.2 KB
Line 
1<Style name="symbols-facilities">
2
3  <Rule>
4    &maxscale_zoom15;
5    <Filter>[leisure]='playground'</Filter>
6    <PointSymbolizer file="&symbols;/playground.png"/>
7  </Rule>
8  <Rule>
9    &maxscale_zoom15;
10    <Filter>[sport]='motor' or [sport]='motocross' or [highway]='raceway'</Filter>
11    <PointSymbolizer file="&symbols;/motorsport.png"/>
12  </Rule>
13  <Rule>
14    &maxscale_zoom16;
15    <Filter>[leisure]='miniature_golf'</Filter>
16    <PointSymbolizer file="&symbols;/minigolf.png"/>
17  </Rule>
18  <Rule>
19    &maxscale_zoom14;
20    <Filter>[leisure]='golf_course' or [sport]='golf'</Filter>
21    <PointSymbolizer file="&symbols;/golfcourse.png"/>
22  </Rule>
23  <Rule>
24    &maxscale_zoom14;
25    <Filter>[sport]='shooting'</Filter>
26    <PointSymbolizer file="&symbols;/shootingrange.png"/>
27  </Rule>
28  <Rule>
29    &maxscale_zoom15;
30    <Filter>[leisure]='fishing'</Filter>
31    <PointSymbolizer file="&symbols;/fishing.png"/>
32  </Rule>
33
34  <Rule>
35    &maxscale_zoom14;
36    <Filter>[tourism]='camp_site'</Filter>
37    <PointSymbolizer file="&symbols;/campsite.png"/>
38  </Rule>
39  <Rule>
40    &maxscale_zoom13;
41    <Filter>[tourism]='caravan_site'</Filter>
42    <PointSymbolizer file="&symbols;/caravansite.png"/>
43  </Rule>
44
45  <Rule>
46    &maxscale_zoom16;
47    <Filter>[amenity]='drinking_water' or [natural]='spring' or [waterway]='water_point'</Filter>
48    <PointSymbolizer file="&symbols;/drinkingwater.png"/>
49  </Rule>
50  <Rule>
51    &maxscale_zoom16;
52    <Filter>[amenity]='restaurant' or [amenity]='fast_food' or [amenity]='food_court'</Filter>
53    <PointSymbolizer file="&symbols;/restaurant.png"/>
54  </Rule>
55
56  <Rule>
57    &maxscale_zoom16;
58    <Filter>[tourism]='information'</Filter>
59    <PointSymbolizer file="&symbols;/information.png"/>
60  </Rule>
61  <Rule>
62    &maxscale_zoom15;
63    <Filter>[tourism]='hotel' or [tourism]='motel' or [tourism]='guest_house'</Filter>
64    <PointSymbolizer file="&symbols;/hotel.png"/>
65  </Rule>
66  <Rule>
67    &maxscale_zoom15;
68    <Filter>[tourism]='hostel'</Filter>
69    <PointSymbolizer file="&symbols;/hostel.png"/>
70  </Rule>
71  <Rule>
72    &maxscale_zoom15;
73    <Filter>[tourism]='chalet'</Filter>
74    <PointSymbolizer file="&symbols;/chalet.png"/>
75  </Rule>
76
77  <Rule>
78    &maxscale_zoom16;
79    <Filter>[amenity]='taxi'</Filter>
80    <PointSymbolizer file="&symbols;/taxi.png"/>
81  </Rule>
82  <Rule>
83    &maxscale_zoom16;
84    <Filter>[railway]='subway_entrance'</Filter>
85    <PointSymbolizer file="&symbols;/subway.png"/>
86  </Rule>
87  <Rule>
88    &maxscale_zoom16;
89    <Filter>[amenity]='fuel'</Filter>
90    <PointSymbolizer file="&symbols;/fuel.png"/>
91  </Rule>
92  <Rule>
93    &maxscale_zoom16;
94    <Filter>[amenity]='telephone' or [amenity]='emergency_phone'</Filter>
95    <PointSymbolizer file="&symbols;/telephone.png"/>
96  </Rule>
97
98  <Rule>
99    &maxscale_zoom16;
100    <Filter>[amenity]='ferry_terminal'</Filter>
101    <PointSymbolizer file="&symbols;/ferry.png"/>
102  </Rule>
103  <Rule>
104    &maxscale_zoom16;
105    <Filter>[leisure]='marina'</Filter>
106    <PointSymbolizer file="&symbols;/marina.png"/>
107  </Rule>
108  <Rule>
109    &maxscale_zoom16;
110    <Filter>[leisure]='slipway'</Filter>
111    <PointSymbolizer file="&symbols;/slipway.png"/>
112  </Rule>
113
114  <Rule>
115    &maxscale_zoom16;
116    <Filter>[amenity]='pharmacy'</Filter>
117    <PointSymbolizer file="&symbols;/pharmacy.png"/>
118  </Rule>
119  <Rule>
120    &maxscale_zoom16;
121    <Filter>[amenity]='hospital'</Filter>
122    <PointSymbolizer file="&symbols;/hospital.png"/>
123  </Rule>
124  <Rule>
125    &maxscale_zoom16;
126    <Filter>[amenity]='doctors'</Filter>
127    <PointSymbolizer file="&symbols;/doctors.png"/>
128  </Rule>
129  <Rule>
130    &maxscale_zoom16;
131    <Filter>[amenity]='dentist'</Filter>
132    <PointSymbolizer file="&symbols;/dentist.png"/>
133  </Rule>
134
135  <Rule>
136    &maxscale_zoom16;
137    <Filter>[amenity]='theatre'</Filter>
138    <PointSymbolizer file="&symbols;/theatre.png"/>
139  </Rule>
140  <Rule>
141    &maxscale_zoom16;
142    <Filter>[amenity]='cinema'</Filter>
143    <PointSymbolizer file="&symbols;/cinema.png"/>
144  </Rule>
145  <Rule>
146    &maxscale_zoom16;
147    <Filter>[amenity]='community_centre' or [amenity]='arts_centre' or [leisure]='music_venue'</Filter>
148    <PointSymbolizer file="&symbols;/concerthall.png"/>
149  </Rule>
150  <Rule>
151    &maxscale_zoom16;
152    <Filter>[tourism]='museum'</Filter>
153    <PointSymbolizer file="&symbols;/museum.png"/>
154  </Rule>
155  <Rule>
156    &maxscale_zoom16;
157    <Filter>[tourism]='attraction'</Filter>
158    <PointSymbolizer file="&symbols;/attraction.png"/>
159  </Rule>
160
161  <Rule>
162    &maxscale_zoom16;
163    <Filter>([shop]='supermarket' or [shop]='convenience' or [shop]='mall') and not [amenity]='post_office'</Filter>
164    <PointSymbolizer file="&symbols;/groceries.png"/>
165  </Rule>
166  <Rule>
167    &maxscale_zoom16;
168    <Filter>[amenity]='post_office' and not ([shop]='supermarket' or [shop]='convenience')</Filter>
169    <PointSymbolizer file="&symbols;/postoffice.png"/>
170  </Rule>
171  <Rule>
172    &maxscale_zoom16;
173    <Filter>[amenity]='post_office' and ([shop]='convenience' or [shop]='supermarket')</Filter>
174    <PointSymbolizer file="&symbols;/groceries-postalservices.png"/>
175  </Rule>
176  <Rule>
177    &maxscale_zoom16;
178    <Filter>[shop]='kiosk' or [shop]='ice_cream'</Filter>
179    <PointSymbolizer file="&symbols;/kiosk.png"/>
180  </Rule>
181  <Rule>
182    &maxscale_zoom16;
183    <Filter>[shop]='alcohol' or [shop]='beverages'</Filter>
184    <PointSymbolizer file="&symbols;/alcohol.png"/>
185  </Rule>
186  <Rule>
187    &maxscale_zoom16;
188    <Filter>[amenity]='bank' or [amenity]='atm' or [amenity]='bureau_de_change'</Filter>
189    <PointSymbolizer file="&symbols;/bank.png"/>
190  </Rule>
191  <Rule>
192    &maxscale_zoom16;
193    <Filter>[amenity]='library'</Filter>
194    <PointSymbolizer file="&symbols;/library.png"/>
195  </Rule>
196  <Rule>
197    &maxscale_zoom16;
198    <Filter>[amenity]='police'</Filter>
199    <PointSymbolizer file="&symbols;/police.png"/>
200  </Rule>
201  <Rule>
202    &maxscale_zoom16;
203    <Filter>[amenity]='toilets'</Filter>
204    <PointSymbolizer file="&symbols;/toilets.png"/>
205  </Rule>
206  <Rule>
207    &maxscale_zoom16;
208    <Filter>[amenity]='waste_basket' or [amenity]='waste_disposal' or [amenity]='recycling'</Filter>
209    <PointSymbolizer file="&symbols;/waste.png"/>
210  </Rule>
211
212</Style>
213
214<Layer name="facilities" status="on" srs="&osm2pgsql_projection;">
215  <StyleName>symbols-facilities</StyleName>
216  <Datasource>
217    <Parameter name="table">
218    (select *
219    from &prefix;_point
220    where amenity is not null
221       or shop is not null
222       or sport is not null
223       or "natural" in ('spring')
224       or waterway='water_point'
225       or railway in ('station','subway_entrance','halt','stop')
226       or tourism in ('museum','attraction','hotel','motel','hostel','chalet','camp_site','caravan_site')
227       or leisure in ('playground','golf_course','miniature_golf','fishing','marina','slipway')
228    ) as facilities</Parameter>
229    &datasource-settings;
230  </Datasource>
231</Layer>
232<Layer name="facilities-poly" status="on" srs="&osm2pgsql_projection;">
233  <StyleName>symbols-facilities</StyleName>
234  <Datasource>
235    <Parameter name="table">
236    (select *
237    from &prefix;_polygon
238    where amenity is not null
239       or shop is not null
240       or sport is not null
241       or highway='raceway'
242       or tourism in ('museum','attraction','hotel','motel','hostel','chalet','camp_site','caravan_site')
243       or leisure in ('playground','golf_course','miniature_golf','fishing','marina')
244    ) as facilities</Parameter>
245    &datasource-settings;
246  </Datasource>
247</Layer>
Note: See TracBrowser for help on using the repository browser.