source: subversion/applications/rendering/mapnik-german/inc-de/layer-amenity-points.xml.inc @ 27845

Last change on this file since 27845 was 25243, checked in by frederik, 9 years ago

first attempt at committing german map style (written by Beate Braun for her Bachelor Thesis)

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