source: subversion/applications/rendering/mapnik/inc/layer-amenity-points.xml.inc @ 23361

Last change on this file since 23361 was 23361, checked in by stevechilton, 9 years ago

add tourism=information #3243

File size: 12.1 KB
Line 
1<Style name="points">
2     <Rule>
3      &maxscale_zoom13;
4      <Filter>[tourism]='alpine_hut'</Filter>
5      <PointSymbolizer file="&symbols;/alpinehut.p.16.png" />
6    </Rule>
7    <Rule>
8      &maxscale_zoom13;
9      <Filter>[amenity]='shelter'</Filter>
10      <PointSymbolizer file="&symbols;/shelter2.p.16.png" />
11    </Rule>
12    <Rule>
13      &maxscale_zoom17;
14      <Filter>[amenity]='atm'</Filter>
15      <PointSymbolizer file="&symbols;/atm2.p.16.png" />
16    </Rule>
17    <Rule>
18      &maxscale_zoom17;
19      <Filter>[amenity]='bank'</Filter>
20      <PointSymbolizer file="&symbols;/bank2.p.16.png" />
21    </Rule>
22    <Rule>
23      &maxscale_zoom17;
24      <Filter>[amenity]='bar'</Filter>
25      <PointSymbolizer file="&symbols;/bar.p.20.png" />
26    </Rule>
27    <Rule>
28      &maxscale_zoom17;
29      <Filter>[amenity]='bicycle_rental'</Filter>
30      <PointSymbolizer file="&symbols;/rental_bicycle.p.20.png" />
31    </Rule>
32    <Rule>
33      &maxscale_zoom16;
34      &minscale_zoom16;
35      <Filter>[amenity]='bus_stop' or [highway]='bus_stop'</Filter>
36      <PointSymbolizer file="&symbols;/bus_stop_small.png" />
37    </Rule>
38    <Rule>
39      &maxscale_zoom17;
40      <Filter>[amenity]='bus_stop' or [highway]='bus_stop'</Filter>
41      <PointSymbolizer file="&symbols;/bus_stop.p.12.png" />
42    </Rule>
43    <Rule>
44      &maxscale_zoom16;
45      <Filter>[amenity]='bus_station'</Filter>
46      <PointSymbolizer file="&symbols;/bus_station.n.16.png" allow_overlap="false"/>
47    </Rule>
48    <Rule>
49    &maxscale_zoom17;
50    <Filter>[highway]='traffic_signals'</Filter>
51    <PointSymbolizer file="&symbols;/traffic_light.png" />
52    </Rule>
53    <Rule>
54      &maxscale_zoom17;
55      <Filter>[amenity]='cafe'</Filter>
56      <PointSymbolizer file="&symbols;/cafe.p.16.png" />
57    </Rule>
58    <Rule>
59      &maxscale_zoom16;
60      <Filter>[tourism]='camp_site'</Filter>
61      <PointSymbolizer file="&symbols;/camping.n.16.png" />
62    </Rule>
63    <Rule>
64      &maxscale_zoom16;
65      <Filter>[highway]='ford'</Filter>
66      <PointSymbolizer file="&symbols;/transport_ford.p.16.png" />
67    </Rule>
68    <Rule>
69      &maxscale_zoom16;
70      <Filter>[tourism]='caravan_site'</Filter>
71      <PointSymbolizer file="&symbols;/caravan_park.p.24.png" />
72    </Rule>
73    <Rule>
74      &maxscale_zoom16;
75      <Filter>[amenity]='car_sharing'</Filter>
76      <PointSymbolizer file="&symbols;/car_share.p.16.png" allow_overlap="false"/>
77    </Rule>
78     <Rule>
79      &maxscale_zoom17;
80      <Filter>[amenity]='cinema'</Filter>
81      <PointSymbolizer file="&symbols;/cinema.p.24.png" />
82    </Rule>
83    <Rule>
84      &maxscale_zoom17;
85      <Filter>[amenity]='fire_station'</Filter>
86      <PointSymbolizer file="&symbols;/firestation.p.16.png" />
87    </Rule>
88    <Rule>
89      &maxscale_zoom17;
90      <Filter>[amenity]='fuel'</Filter>
91      <PointSymbolizer file="&symbols;/fuel.p.16.png" />
92    </Rule>
93    <Rule>
94      &maxscale_zoom17;
95      <Filter>[tourism]='guest_house' or [tourism]='bed_and_breakfast'</Filter>
96      <PointSymbolizer file="&symbols;/guest_house.p.16.png" />
97    </Rule>
98    <Rule>
99      &maxscale_zoom15;
100      <Filter>[amenity]='hospital'</Filter>
101      <PointSymbolizer file="&symbols;/hospital.p.16.png" />
102    </Rule>
103    <Rule>
104      &maxscale_zoom17;
105      <Filter>[tourism]='hostel'</Filter>
106      <PointSymbolizer file="&symbols;/hostel.p.20.png" />
107    </Rule>
108    <Rule>
109      &maxscale_zoom17;
110      <Filter>[tourism]='hotel'</Filter>
111      <PointSymbolizer file="&symbols;/hotel2.p.20.png" />
112    </Rule>
113    <Rule>
114      &maxscale_zoom16;
115      <Filter>[tourism]='information'</Filter>
116      <PointSymbolizer file="&symbols;/information.p.16.png" />
117    </Rule>
118    <Rule>
119      &maxscale_zoom17;
120      <Filter>[amenity]='embassy'</Filter>
121      <PointSymbolizer file="&symbols;/embassy.png" />
122    </Rule>
123    <Rule>
124      &maxscale_zoom17;
125      <Filter>[amenity]='library'</Filter>
126      <PointSymbolizer file="&symbols;/library.p.20.png" />
127    </Rule>
128    <Rule>
129      &maxscale_zoom15;
130      <Filter>[waterway]='lock' or [lock]='yes'</Filter>
131      <PointSymbolizer file="&symbols;/lock_gate.png" />
132    </Rule>
133    <Rule>
134      &maxscale_zoom17;
135      <Filter>[man_made]='mast'</Filter>
136      <PointSymbolizer file="&symbols;/communications.p.20.png" />
137    </Rule>
138    <Rule>
139      &maxscale_zoom17;
140      <Filter>[tourism]='museum'</Filter>
141      <PointSymbolizer file="&symbols;/museum.p.16.png" />
142    </Rule>
143    <Rule>
144      &maxscale_zoom15;
145      <Filter>[amenity]='parking' and ([access] = 'public' or not [access] &lt;&gt; '')</Filter>
146      <PointSymbolizer file="&symbols;/parking.p.16.png" allow_overlap="false"/>
147    </Rule>
148    <Rule>
149      &maxscale_zoom15;
150      <Filter>[amenity]='parking' and ([access] &lt;&gt; '' and not [access] = 'public')</Filter>
151      <PointSymbolizer file="&symbols;/parking_private.p.16.png" allow_overlap="false"/>
152    </Rule>
153    <Rule>
154      &maxscale_zoom17;
155      <Filter>[amenity]='pharmacy'</Filter>
156      <PointSymbolizer file="&symbols;/pharmacy.p.16.png" />
157    </Rule>
158    <Rule>
159      &maxscale_zoom16;
160      <Filter>[amenity]='place_of_worship' and [religion] = 'christian'</Filter>
161      <PointSymbolizer file="&symbols;/christian3.p.14.png" allow_overlap="false"/>
162     </Rule>
163     <Rule>
164      &maxscale_zoom16;
165      <Filter>[amenity]='place_of_worship' and [religion] = 'muslim'</Filter>
166      <PointSymbolizer file="&symbols;/islamic3.p.16.png" allow_overlap="false"/>
167     </Rule>
168     <Rule>
169      &maxscale_zoom16;
170      <Filter>[amenity]='place_of_worship' and [religion] = 'sikh'</Filter>
171      <PointSymbolizer file="&symbols;/sikh3.p.16.png" allow_overlap="false"/>
172     </Rule>
173     <Rule>
174      &maxscale_zoom16;
175      <Filter>[amenity]='place_of_worship' and [religion] = 'jewish'</Filter>
176      <PointSymbolizer file="&symbols;/jewish3.p.16.png" allow_overlap="false"/>
177     </Rule>
178     <Rule>
179      &maxscale_zoom16;
180      <Filter>[amenity]='place_of_worship'</Filter>
181      <PointSymbolizer file="&symbols;/place_of_worship3.p.16.png" allow_overlap="false"/>
182     </Rule>
183     <Rule>
184      &maxscale_zoom17;
185      <Filter>[amenity]='police'</Filter>
186      <PointSymbolizer file="&symbols;/police.p.16.png" />
187    </Rule>
188    <Rule>
189      &maxscale_zoom17;
190      <Filter>[amenity]='post_box'</Filter>
191      <PointSymbolizer file="&symbols;/post_box.p.16.png" />
192    </Rule>
193    <Rule>
194      &maxscale_zoom17;
195      <Filter>[amenity]='post_office'</Filter>
196      <PointSymbolizer file="&symbols;/post_office.p.16.png" />
197    </Rule>
198    <Rule>
199      &maxscale_zoom16;
200      <Filter>[amenity]='pub' or [amenity]='biergarten'</Filter>
201      <PointSymbolizer file="&symbols;/pub.p.16.png" />
202    </Rule>
203    <Rule>
204      &maxscale_zoom16;
205      <Filter>[amenity]='recycling'</Filter>
206      <PointSymbolizer file="&symbols;/recycling.p.16.png" />
207    </Rule>
208    <Rule>
209      &maxscale_zoom17;
210      <Filter>[amenity]='restaurant'</Filter>
211      <PointSymbolizer file="&symbols;/restaurant.p.16.png" />
212    </Rule>
213    <Rule>
214      &maxscale_zoom17;
215      <Filter>[amenity]='fast_food'</Filter>
216      <PointSymbolizer file="&symbols;/fast_food.png" />
217    </Rule>
218    <Rule>
219      &maxscale_zoom17;
220      <Filter>[amenity]='telephone'</Filter>
221      <PointSymbolizer file="&symbols;/telephone.p.16.png" />
222    </Rule>
223    <Rule>
224      &maxscale_zoom17;
225      <Filter>[amenity]='emergency_phone'</Filter>
226      <PointSymbolizer file="&symbols;/sosphone.png" />
227    </Rule>
228    <Rule>
229      &maxscale_zoom17;
230      <Filter>[amenity]='theatre'</Filter>
231      <PointSymbolizer file="&symbols;/theatre.p.20.png" />
232    </Rule>
233    <Rule>
234      &maxscale_zoom17;
235      <Filter>[amenity]='toilets'</Filter>
236      <PointSymbolizer file="&symbols;/toilets.p.20.png" />
237    </Rule>
238    <Rule>
239      &maxscale_zoom17;
240      <Filter>[amenity]='drinking_water'</Filter>
241      <PointSymbolizer file="&symbols;/food_drinkingtap.p.20.png" />
242    </Rule>
243    <Rule>
244      &maxscale_zoom16;
245      <Filter>[amenity]='prison'</Filter>
246      <PointSymbolizer file="&symbols;/amenity_prison.p.20.png" />
247    </Rule>
248    <Rule>
249      &maxscale_zoom16;
250      <Filter>[tourism]='viewpoint'</Filter>
251      <PointSymbolizer file="&symbols;/view_point.p.16.png" />
252    </Rule>
253    <Rule>
254      &maxscale_zoom17;
255      <Filter>[man_made]='water_tower'</Filter>
256      <PointSymbolizer file="&symbols;/tower_water.p.20.png" />
257    </Rule>
258    <Rule>
259      &maxscale_zoom17;
260      <Filter>[historic]='memorial'</Filter>
261      <PointSymbolizer file="&symbols;/tourist_memorial.p.20.png" />
262    </Rule>
263    <Rule>
264      &maxscale_zoom16;
265      <Filter>[historic]='archaeological_site'</Filter>
266      <PointSymbolizer file="&symbols;/tourist_archaeological2.glow.16.png" />
267    </Rule>
268    <Rule>
269      &maxscale_zoom16;
270      <Filter>[shop]='supermarket'</Filter>
271      <PointSymbolizer file="&symbols;/shop_supermarket.p.16.png" />
272    </Rule>
273    <Rule>
274      &maxscale_zoom17;
275      <Filter>[shop]='bakery'</Filter>
276      <PointSymbolizer file="&symbols;/shop_bakery.p.16.png" />
277    </Rule>
278    <Rule>
279      &maxscale_zoom17;
280      <Filter>[shop]='butcher'</Filter>
281      <PointSymbolizer file="&symbols;/shop_butcher.png" />
282    </Rule>
283    <Rule>
284      &maxscale_zoom17;
285      <Filter>[shop]='clothes' or [shop]='fashion'</Filter>
286      <PointSymbolizer file="&symbols;/shop_clothes.p.16.png" />
287    </Rule>
288    <Rule>
289      &maxscale_zoom17;
290      <Filter>[shop]='convenience'</Filter>
291      <PointSymbolizer file="&symbols;/shop_convenience.p.16.png" />
292    </Rule>
293    <Rule>
294      &maxscale_zoom16;
295      <Filter>[shop]='department_store'</Filter>
296      <PointSymbolizer file="&symbols;/department_store.p.16.png" />
297    </Rule>
298    <Rule>
299      &maxscale_zoom17;
300      <Filter>[shop]='doityourself'</Filter>
301      <PointSymbolizer file="&symbols;/shop_diy.p.16.png" />
302    </Rule>
303    <Rule>
304      &maxscale_zoom17;
305      <Filter>[shop]='hairdresser'</Filter>
306      <PointSymbolizer file="&symbols;/shop_hairdresser.p.16.png" />
307    </Rule>
308    <Rule>
309      &maxscale_zoom17;
310      <Filter>[shop]='car'</Filter>
311      <PointSymbolizer file="&symbols;/shopping_car.p.16.png" />
312    </Rule>
313    <Rule>
314      &maxscale_zoom17;
315      <Filter>[shop]='car_repair'</Filter>
316      <PointSymbolizer file="&symbols;/shopping_car_repair.p.16.png" />
317    </Rule>
318    <Rule>
319      &maxscale_zoom17;
320      <Filter>[shop]='bicycle'</Filter>
321      <PointSymbolizer file="&symbols;/shopping_bicycle.p.16.png" />
322    </Rule>
323</Style>
324
325<Layer name="amenity-points" status="on" srs="&osm2pgsql_projection;">
326    <StyleName>points</StyleName>
327    <Datasource>
328      <Parameter name="table">
329      (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic
330      from &prefix;_point
331      where amenity is not null
332         or shop is not null
333         or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','museum','viewpoint','bed_and_breakfast','information')
334         or highway in ('bus_stop','traffic_signals','ford')
335         or man_made in ('mast','water_tower')
336         or historic in ('memorial','archaeological_site')
337         or waterway='lock'
338         or lock='yes'
339      ) as points</Parameter>
340      &datasource-settings;
341    </Datasource>
342</Layer>
343<Layer name="amenity-points-poly" status="on" srs="&osm2pgsql_projection;">
344    <StyleName>points</StyleName>
345    <Datasource>
346      <Parameter name="table">
347      (select way,amenity,shop,tourism,highway,man_made,access,religion,waterway,lock,historic
348      from &prefix;_polygon
349      where amenity is not null
350         or shop is not null
351         or tourism in ('alpine_hut','camp_site','caravan_site','guest_house','hostel','hotel','museum','viewpoint','bed_and_breakfast','information')
352         or highway in ('bus_stop','traffic_signals')
353         or man_made in ('mast','water_tower')
354         or historic in ('memorial','archaeological_site')
355      ) as points</Parameter>
356      &datasource-settings;
357    </Datasource>
358</Layer>
Note: See TracBrowser for help on using the repository browser.