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

Last change on this file since 25646 was 24324, checked in by vibrog, 9 years ago

Hiking map symbol drawing order corrected

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