source: subversion/applications/rendering/parking/mapnik/parking-inc-src/layer-parking-lane.xml.inc @ 26204

Last change on this file since 26204 was 24155, checked in by kdrangmeister, 9 years ago

parking source and deploy

File size: 30.6 KB
Line 
1<Style name="parkinglane-left-no">
2    <!-- left parking lane: no_parking -->
3    <Rule>
4        &maxscale_zoom15;
5        &minscale_zoom16;
6        <Filter>[parking:lane:left]='no_parking'</Filter>
7        <LinePatternSymbolizer file="&symbols;/park-ln-nopa.png" type="png" width="16" height="16"></LinePatternSymbolizer>
8    </Rule>
9    <Rule>
10        &maxscale_zoom17;
11        <Filter>[parking:lane:left]='no_parking'</Filter>
12        <LinePatternSymbolizer file="&symbols;/park-ln-nopa.png" type="png" width="16" height="16"></LinePatternSymbolizer>
13    </Rule>
14    <!-- left parking lane: no_stopping -->
15    <Rule>
16        &maxscale_zoom15;
17        &minscale_zoom16;
18        <Filter>[parking:lane:left]='no_stopping'</Filter>
19        <LinePatternSymbolizer file="&symbols;/park-ln-nost.png" type="png" width="16" height="16"></LinePatternSymbolizer>
20    </Rule>
21    <Rule>
22        &maxscale_zoom17;
23        <Filter>[parking:lane:left]='no_stopping'</Filter>
24        <LinePatternSymbolizer file="&symbols;/park-ln-nost.png" type="png" width="16" height="16"></LinePatternSymbolizer>
25    </Rule>
26    <!-- left parking lane: fire_lane -->
27    <Rule>
28        &maxscale_zoom15;
29        &minscale_zoom16;
30        <Filter>[parking:lane:left]='fire_lane'</Filter>
31        <LinePatternSymbolizer file="&symbols;/park-ln-fire.png" type="png" width="16" height="16"></LinePatternSymbolizer>
32    </Rule>
33    <Rule>
34        &maxscale_zoom17;
35        <Filter>[parking:lane:left]='fire_lane'</Filter>
36        <LinePatternSymbolizer file="&symbols;/park-ln-fire.png" type="png" width="16" height="16"></LinePatternSymbolizer>
37    </Rule>
38</Style>
39<Style name="parkinglane-right-no">
40    <!-- right parking lane: no_parking -->
41    <Rule>
42        &maxscale_zoom15;
43        &minscale_zoom16;
44        <Filter>[parking:lane:right]='no_parking'</Filter>
45        <LinePatternSymbolizer file="&symbols;/park-rn-nopa.png" type="png" width="16" height="16"></LinePatternSymbolizer>
46    </Rule>
47    <Rule>
48        &maxscale_zoom17;
49        <Filter>[parking:lane:right]='no_parking'</Filter>
50        <LinePatternSymbolizer file="&symbols;/park-rn-nopa.png" type="png" width="16" height="16"></LinePatternSymbolizer>
51    </Rule>
52    <!-- right parking lane: no_stopping -->
53    <Rule>
54        &maxscale_zoom15;
55        &minscale_zoom16;
56        <Filter>[parking:lane:right]='no_stopping'</Filter>
57        <LinePatternSymbolizer file="&symbols;/park-rn-nost.png" type="png" width="16" height="16"></LinePatternSymbolizer>
58    </Rule>
59    <Rule>
60        &maxscale_zoom17;
61        <Filter>[parking:lane:right]='no_stopping'</Filter>
62        <LinePatternSymbolizer file="&symbols;/park-rn-nost.png" type="png" width="16" height="16"></LinePatternSymbolizer>
63    </Rule>
64    <!-- right parking lane: fire_lane -->
65    <Rule>
66        &maxscale_zoom15;
67        &minscale_zoom16;
68        <Filter>[parking:lane:right]='fire_lane'</Filter>
69        <LinePatternSymbolizer file="&symbols;/park-rn-fire.png" type="png" width="16" height="16"></LinePatternSymbolizer>
70    </Rule>
71    <Rule>
72        &maxscale_zoom17;
73        <Filter>[parking:lane:right]='fire_lane'</Filter>
74        <LinePatternSymbolizer file="&symbols;/park-rn-fire.png" type="png" width="16" height="16"></LinePatternSymbolizer>
75    </Rule>
76</Style>
77
78<Style name="parkinglane-left-inline">
79    <!-- left parking lane: free -->
80    <Rule>
81        &maxscale_zoom15;
82        &minscale_zoom16;
83        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='free'</Filter>
84        <LinePatternSymbolizer file="&symbols;/park-li-free.png" type="png" width="16" height="16"></LinePatternSymbolizer>
85    </Rule>
86    <Rule>
87        &maxscale_zoom17;
88        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='free'</Filter>
89        <LinePatternSymbolizer file="&symbols;/park-li-free.png" type="png" width="16" height="16"></LinePatternSymbolizer>
90    </Rule>
91    <!-- left parking lane: disc -->
92    <Rule>
93        &maxscale_zoom15;
94        &minscale_zoom16;
95        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='disc'</Filter>
96        <LinePatternSymbolizer file="&symbols;/park-li-disc.png" type="png" width="16" height="16"></LinePatternSymbolizer>
97    </Rule>
98    <Rule>
99        &maxscale_zoom17;
100        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='disc'</Filter>
101        <LinePatternSymbolizer file="&symbols;/park-li-disc.png" type="png" width="16" height="16"></LinePatternSymbolizer>
102    </Rule>
103    <!-- left parking lane: ticket -->
104    <Rule>
105        &maxscale_zoom15;
106        &minscale_zoom16;
107        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='ticket'</Filter>
108        <LinePatternSymbolizer file="&symbols;/park-li-fee.png" type="png" width="16" height="16"></LinePatternSymbolizer>
109    </Rule>
110    <Rule>
111        &maxscale_zoom17;
112        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='ticket'</Filter>
113        <LinePatternSymbolizer file="&symbols;/park-li-fee.png" type="png" width="16" height="16"></LinePatternSymbolizer>
114    </Rule>
115    <!-- left parking lane: customers -->
116    <Rule>
117        &maxscale_zoom15;
118        &minscale_zoom16;
119        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='customers'</Filter>
120        <LinePatternSymbolizer file="&symbols;/park-li-cust.png" type="png" width="16" height="16"></LinePatternSymbolizer>
121    </Rule>
122    <Rule>
123        &maxscale_zoom17;
124        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='customers'</Filter>
125        <LinePatternSymbolizer file="&symbols;/park-li-cust.png" type="png" width="16" height="16"></LinePatternSymbolizer>
126    </Rule>
127    <!-- left parking lane: residents -->
128    <Rule>
129        &maxscale_zoom15;
130        &minscale_zoom16;
131        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='residents'</Filter>
132        <LinePatternSymbolizer file="&symbols;/park-li-resi.png" type="png" width="16" height="16"></LinePatternSymbolizer>
133    </Rule>
134    <Rule>
135        &maxscale_zoom17;
136        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='residents'</Filter>
137        <LinePatternSymbolizer file="&symbols;/park-li-resi.png" type="png" width="16" height="16"></LinePatternSymbolizer>
138    </Rule>
139    <!-- left parking lane: private -->
140    <Rule>
141        &maxscale_zoom15;
142        &minscale_zoom16;
143        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='private'</Filter>
144        <LinePatternSymbolizer file="&symbols;/park-li-priv.png" type="png" width="16" height="16"></LinePatternSymbolizer>
145    </Rule>
146    <Rule>
147        &maxscale_zoom17;
148        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='private'</Filter>
149        <LinePatternSymbolizer file="&symbols;/park-li-priv.png" type="png" width="16" height="16"></LinePatternSymbolizer>
150    </Rule>
151    <!-- left parking lane: unknown -->
152    <Rule>
153        &maxscale_zoom15;
154        &minscale_zoom16;
155        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='unknown'</Filter>
156        <LinePatternSymbolizer file="&symbols;/park-li-unkn.png" type="png" width="16" height="16"></LinePatternSymbolizer>
157    </Rule>
158    <Rule>
159        &maxscale_zoom17;
160        <Filter>[parking:lane:left]='inline' and [parking:condition:left]='unknown'</Filter>
161        <LinePatternSymbolizer file="&symbols;/park-li-unkn.png" type="png" width="16" height="16"></LinePatternSymbolizer>
162    </Rule>
163</Style>
164<Style name="parkinglane-right-inline">
165    <!-- right parking lane: free -->
166    <Rule>
167        &maxscale_zoom15;
168        &minscale_zoom16;
169        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='free'</Filter>
170        <LinePatternSymbolizer file="&symbols;/park-ri-free.png" type="png" width="16" height="16"></LinePatternSymbolizer>
171    </Rule>
172    <Rule>
173        &maxscale_zoom17;
174        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='free'</Filter>
175        <LinePatternSymbolizer file="&symbols;/park-ri-free.png" type="png" width="16" height="16"></LinePatternSymbolizer>
176    </Rule>
177    <!-- right parking lane: disc -->
178    <Rule>
179        &maxscale_zoom15;
180        &minscale_zoom16;
181        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='disc'</Filter>
182        <LinePatternSymbolizer file="&symbols;/park-ri-disc.png" type="png" width="16" height="16"></LinePatternSymbolizer>
183    </Rule>
184    <Rule>
185        &maxscale_zoom17;
186        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='disc'</Filter>
187        <LinePatternSymbolizer file="&symbols;/park-ri-disc.png" type="png" width="16" height="16"></LinePatternSymbolizer>
188    </Rule>
189    <!-- right parking lane: ticket -->
190    <Rule>
191        &maxscale_zoom15;
192        &minscale_zoom16;
193        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='ticket'</Filter>
194        <LinePatternSymbolizer file="&symbols;/park-ri-fee.png" type="png" width="16" height="16"></LinePatternSymbolizer>
195    </Rule>
196    <Rule>
197        &maxscale_zoom17;
198        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='ticket'</Filter>
199        <LinePatternSymbolizer file="&symbols;/park-ri-fee.png" type="png" width="16" height="16"></LinePatternSymbolizer>
200    </Rule>
201    <!-- right parking lane: customers -->
202    <Rule>
203        &maxscale_zoom15;
204        &minscale_zoom16;
205        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='customers'</Filter>
206        <LinePatternSymbolizer file="&symbols;/park-ri-cust.png" type="png" width="16" height="16"></LinePatternSymbolizer>
207    </Rule>
208    <Rule>
209        &maxscale_zoom17;
210        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='customers'</Filter>
211        <LinePatternSymbolizer file="&symbols;/park-ri-cust.png" type="png" width="16" height="16"></LinePatternSymbolizer>
212    </Rule>
213    <!-- right parking lane: residents -->
214    <Rule>
215        &maxscale_zoom15;
216        &minscale_zoom16;
217        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='residents'</Filter>
218        <LinePatternSymbolizer file="&symbols;/park-ri-resi.png" type="png" width="16" height="16"></LinePatternSymbolizer>
219    </Rule>
220    <Rule>
221        &maxscale_zoom17;
222        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='residents'</Filter>
223        <LinePatternSymbolizer file="&symbols;/park-ri-resi.png" type="png" width="16" height="16"></LinePatternSymbolizer>
224    </Rule>
225    <!-- right parking lane: private -->
226    <Rule>
227        &maxscale_zoom15;
228        &minscale_zoom16;
229        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='private'</Filter>
230        <LinePatternSymbolizer file="&symbols;/park-ri-priv.png" type="png" width="16" height="16"></LinePatternSymbolizer>
231    </Rule>
232    <Rule>
233        &maxscale_zoom17;
234        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='private'</Filter>
235        <LinePatternSymbolizer file="&symbols;/park-ri-priv.png" type="png" width="16" height="16"></LinePatternSymbolizer>
236    </Rule>
237    <!-- right parking lane: unknown -->
238    <Rule>
239        &maxscale_zoom15;
240        &minscale_zoom16;
241        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='unknown'</Filter>
242        <LinePatternSymbolizer file="&symbols;/park-ri-unkn.png" type="png" width="16" height="16"></LinePatternSymbolizer>
243    </Rule>
244    <Rule>
245        &maxscale_zoom17;
246        <Filter>[parking:lane:right]='inline' and [parking:condition:right]='unknown'</Filter>
247        <LinePatternSymbolizer file="&symbols;/park-ri-unkn.png" type="png" width="16" height="16"></LinePatternSymbolizer>
248    </Rule>
249</Style>
250
251<Style name="parkinglane-left-diagonal">
252    <!-- left parking lane: free -->
253    <Rule>
254        &maxscale_zoom15;
255        &minscale_zoom16;
256        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='free'</Filter>
257        <LinePatternSymbolizer file="&symbols;/park-ld-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
258    </Rule>
259    <Rule>
260        &maxscale_zoom17;
261        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='free'</Filter>
262        <LinePatternSymbolizer file="&symbols;/park-ld-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
263    </Rule>
264    <!-- left parking lane: disc -->
265    <Rule>
266        &maxscale_zoom15;
267        &minscale_zoom16;
268        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='disc'</Filter>
269        <LinePatternSymbolizer file="&symbols;/park-ld-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
270    </Rule>
271    <Rule>
272        &maxscale_zoom17;
273        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='disc'</Filter>
274        <LinePatternSymbolizer file="&symbols;/park-ld-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
275    </Rule>
276    <!-- left parking lane: ticket -->
277    <Rule>
278        &maxscale_zoom15;
279        &minscale_zoom16;
280        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='ticket'</Filter>
281        <LinePatternSymbolizer file="&symbols;/park-ld-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
282    </Rule>
283    <Rule>
284        &maxscale_zoom17;
285        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='ticket'</Filter>
286        <LinePatternSymbolizer file="&symbols;/park-ld-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
287    </Rule>
288    <!-- left parking lane: customers -->
289    <Rule>
290        &maxscale_zoom15;
291        &minscale_zoom16;
292        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='customers'</Filter>
293        <LinePatternSymbolizer file="&symbols;/park-ld-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
294    </Rule>
295    <Rule>
296        &maxscale_zoom17;
297        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='customers'</Filter>
298        <LinePatternSymbolizer file="&symbols;/park-ld-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
299    </Rule>
300    <!-- left parking lane: residents -->
301    <Rule>
302        &maxscale_zoom15;
303        &minscale_zoom16;
304        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='residents'</Filter>
305        <LinePatternSymbolizer file="&symbols;/park-ld-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
306    </Rule>
307    <Rule>
308        &maxscale_zoom17;
309        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='residents'</Filter>
310        <LinePatternSymbolizer file="&symbols;/park-ld-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
311    </Rule>
312    <!-- left parking lane: private -->
313    <Rule>
314        &maxscale_zoom15;
315        &minscale_zoom16;
316        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='private'</Filter>
317        <LinePatternSymbolizer file="&symbols;/park-ld-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
318    </Rule>
319    <Rule>
320        &maxscale_zoom17;
321        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='private'</Filter>
322        <LinePatternSymbolizer file="&symbols;/park-ld-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
323    </Rule>
324    <!-- left parking lane: unknown -->
325    <Rule>
326        &maxscale_zoom15;
327        &minscale_zoom16;
328        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='unknown'</Filter>
329        <LinePatternSymbolizer file="&symbols;/park-ld-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
330    </Rule>
331    <Rule>
332        &maxscale_zoom17;
333        <Filter>[parking:lane:left]='diagonal' and [parking:condition:left]='unknown'</Filter>
334        <LinePatternSymbolizer file="&symbols;/park-ld-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
335    </Rule>
336</Style>
337<Style name="parkinglane-right-diagonal">
338    <!-- right parking lane: free -->
339    <Rule>
340        &maxscale_zoom15;
341        &minscale_zoom16;
342        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='free'</Filter>
343        <LinePatternSymbolizer file="&symbols;/park-rd-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
344    </Rule>
345    <Rule>
346        &maxscale_zoom17;
347        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='free'</Filter>
348        <LinePatternSymbolizer file="&symbols;/park-rd-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
349    </Rule>
350    <!-- right parking lane: disc -->
351    <Rule>
352        &maxscale_zoom15;
353        &minscale_zoom16;
354        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='disc'</Filter>
355        <LinePatternSymbolizer file="&symbols;/park-rd-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
356    </Rule>
357    <Rule>
358        &maxscale_zoom17;
359        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='disc'</Filter>
360        <LinePatternSymbolizer file="&symbols;/park-rd-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
361    </Rule>
362    <!-- right parking lane: ticket -->
363    <Rule>
364        &maxscale_zoom15;
365        &minscale_zoom16;
366        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='ticket'</Filter>
367        <LinePatternSymbolizer file="&symbols;/park-rd-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
368    </Rule>
369    <Rule>
370        &maxscale_zoom17;
371        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='ticket'</Filter>
372        <LinePatternSymbolizer file="&symbols;/park-rd-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
373    </Rule>
374    <!-- right parking lane: customers -->
375    <Rule>
376        &maxscale_zoom15;
377        &minscale_zoom16;
378        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='customers'</Filter>
379        <LinePatternSymbolizer file="&symbols;/park-rd-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
380    </Rule>
381    <Rule>
382        &maxscale_zoom17;
383        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='customers'</Filter>
384        <LinePatternSymbolizer file="&symbols;/park-rd-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
385    </Rule>
386    <!-- right parking lane: residents -->
387    <Rule>
388        &maxscale_zoom15;
389        &minscale_zoom16;
390        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='residents'</Filter>
391        <LinePatternSymbolizer file="&symbols;/park-rd-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
392    </Rule>
393    <Rule>
394        &maxscale_zoom17;
395        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='residents'</Filter>
396        <LinePatternSymbolizer file="&symbols;/park-rd-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
397    </Rule>
398    <!-- right parking lane: private -->
399    <Rule>
400        &maxscale_zoom15;
401        &minscale_zoom16;
402        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='private'</Filter>
403        <LinePatternSymbolizer file="&symbols;/park-rd-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
404    </Rule>
405    <Rule>
406        &maxscale_zoom17;
407        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='private'</Filter>
408        <LinePatternSymbolizer file="&symbols;/park-rd-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
409    </Rule>
410    <!-- right parking lane: unknown -->
411    <Rule>
412        &maxscale_zoom15;
413        &minscale_zoom16;
414        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='unknown'</Filter>
415        <LinePatternSymbolizer file="&symbols;/park-rd-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
416    </Rule>
417    <Rule>
418        &maxscale_zoom17;
419        <Filter>[parking:lane:right]='diagonal' and [parking:condition:right]='unknown'</Filter>
420        <LinePatternSymbolizer file="&symbols;/park-rd-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
421    </Rule>
422</Style>
423
424
425
426
427
428
429
430
431<Style name="parkinglane-left-orthogonal">
432    <!-- left parking lane: free -->
433    <Rule>
434        &maxscale_zoom15;
435        &minscale_zoom16;
436        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='free'</Filter>
437        <LinePatternSymbolizer file="&symbols;/park-lo-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
438    </Rule>
439    <Rule>
440        &maxscale_zoom17;
441        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='free'</Filter>
442        <LinePatternSymbolizer file="&symbols;/park-lo-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
443    </Rule>
444    <!-- left parking lane: disc -->
445    <Rule>
446        &maxscale_zoom15;
447        &minscale_zoom16;
448        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='disc'</Filter>
449        <LinePatternSymbolizer file="&symbols;/park-lo-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
450    </Rule>
451    <Rule>
452        &maxscale_zoom17;
453        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='disc'</Filter>
454        <LinePatternSymbolizer file="&symbols;/park-lo-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
455    </Rule>
456    <!-- left parking lane: ticket -->
457    <Rule>
458        &maxscale_zoom15;
459        &minscale_zoom16;
460        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='ticket'</Filter>
461        <LinePatternSymbolizer file="&symbols;/park-lo-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
462    </Rule>
463    <Rule>
464        &maxscale_zoom17;
465        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='ticket'</Filter>
466        <LinePatternSymbolizer file="&symbols;/park-lo-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
467    </Rule>
468    <!-- left parking lane: customers -->
469    <Rule>
470        &maxscale_zoom15;
471        &minscale_zoom16;
472        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='customers'</Filter>
473        <LinePatternSymbolizer file="&symbols;/park-lo-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
474    </Rule>
475    <Rule>
476        &maxscale_zoom17;
477        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='customers'</Filter>
478        <LinePatternSymbolizer file="&symbols;/park-lo-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
479    </Rule>
480    <!-- left parking lane: residents -->
481    <Rule>
482        &maxscale_zoom15;
483        &minscale_zoom16;
484        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='residents'</Filter>
485        <LinePatternSymbolizer file="&symbols;/park-lo-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
486    </Rule>
487    <Rule>
488        &maxscale_zoom17;
489        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='residents'</Filter>
490        <LinePatternSymbolizer file="&symbols;/park-lo-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
491    </Rule>
492    <!-- left parking lane: private -->
493    <Rule>
494        &maxscale_zoom15;
495        &minscale_zoom16;
496        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='private'</Filter>
497        <LinePatternSymbolizer file="&symbols;/park-lo-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
498    </Rule>
499    <Rule>
500        &maxscale_zoom17;
501        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='private'</Filter>
502        <LinePatternSymbolizer file="&symbols;/park-lo-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
503    </Rule>
504    <!-- left parking lane: unknown -->
505    <Rule>
506        &maxscale_zoom15;
507        &minscale_zoom16;
508        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='unknown'</Filter>
509        <LinePatternSymbolizer file="&symbols;/park-lo-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
510    </Rule>
511    <Rule>
512        &maxscale_zoom17;
513        <Filter>[parking:lane:left]='orthogonal' and [parking:condition:left]='unknown'</Filter>
514        <LinePatternSymbolizer file="&symbols;/park-lo-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
515    </Rule>
516</Style>
517<Style name="parkinglane-right-orthogonal">
518    <!-- right parking lane: free -->
519    <Rule>
520        &maxscale_zoom15;
521        &minscale_zoom16;
522        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='free'</Filter>
523        <LinePatternSymbolizer file="&symbols;/park-ro-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
524    </Rule>
525    <Rule>
526        &maxscale_zoom17;
527        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='free'</Filter>
528        <LinePatternSymbolizer file="&symbols;/park-ro-free.png" type="png" width="16" height="20"></LinePatternSymbolizer>
529    </Rule>
530    <!-- right parking lane: disc -->
531    <Rule>
532        &maxscale_zoom15;
533        &minscale_zoom16;
534        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='disc'</Filter>
535        <LinePatternSymbolizer file="&symbols;/park-ro-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
536    </Rule>
537    <Rule>
538        &maxscale_zoom17;
539        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='disc'</Filter>
540        <LinePatternSymbolizer file="&symbols;/park-ro-disc.png" type="png" width="16" height="20"></LinePatternSymbolizer>
541    </Rule>
542    <!-- right parking lane: ticket -->
543    <Rule>
544        &maxscale_zoom15;
545        &minscale_zoom16;
546        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='ticket'</Filter>
547        <LinePatternSymbolizer file="&symbols;/park-ro-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
548    </Rule>
549    <Rule>
550        &maxscale_zoom17;
551        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='ticket'</Filter>
552        <LinePatternSymbolizer file="&symbols;/park-ro-fee.png" type="png" width="16" height="20"></LinePatternSymbolizer>
553    </Rule>
554    <!-- right parking lane: customers -->
555    <Rule>
556        &maxscale_zoom15;
557        &minscale_zoom16;
558        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='customers'</Filter>
559        <LinePatternSymbolizer file="&symbols;/park-ro-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
560    </Rule>
561    <Rule>
562        &maxscale_zoom17;
563        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='customers'</Filter>
564        <LinePatternSymbolizer file="&symbols;/park-ro-cust.png" type="png" width="16" height="20"></LinePatternSymbolizer>
565    </Rule>
566    <!-- right parking lane: residents --> -->
567    <Rule>
568        &maxscale_zoom15;
569        &minscale_zoom16;
570        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='residents'</Filter>
571        <LinePatternSymbolizer file="&symbols;/park-ro-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
572    </Rule>
573    <Rule>
574        &maxscale_zoom17;
575        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='residents'</Filter>
576        <LinePatternSymbolizer file="&symbols;/park-ro-resi.png" type="png" width="16" height="20"></LinePatternSymbolizer>
577    </Rule>
578    <!-- right parking lane: private -->
579    <Rule>
580        &maxscale_zoom15;
581        &minscale_zoom16;
582        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='private'</Filter>
583        <LinePatternSymbolizer file="&symbols;/park-ro-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
584    </Rule>
585    <Rule>
586        &maxscale_zoom17;
587        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='private'</Filter>
588        <LinePatternSymbolizer file="&symbols;/park-ro-priv.png" type="png" width="16" height="20"></LinePatternSymbolizer>
589    </Rule>
590    <!-- right parking lane: unknown -->
591    <Rule>
592        &maxscale_zoom15;
593        &minscale_zoom16;
594        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='unknown'</Filter>
595        <LinePatternSymbolizer file="&symbols;/park-ro-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
596    </Rule>
597    <Rule>
598        &maxscale_zoom17;
599        <Filter>[parking:lane:right]='orthogonal' and [parking:condition:right]='unknown'</Filter>
600        <LinePatternSymbolizer file="&symbols;/park-ro-unkn.png" type="png" width="16" height="20"></LinePatternSymbolizer>
601    </Rule>
602</Style>
603
604
605<!-- parkinglayers -->
606<Layer name="parkinglane-left" srs="&osm2pgsql_projection;" status="1" clear_label_cache="0">
607    <StyleName>parkinglane-left-diagonal</StyleName>
608    <StyleName>parkinglane-left-orthogonal</StyleName>
609    <StyleName>parkinglane-left-inline</StyleName>
610    <StyleName>parkinglane-left-no</StyleName>
611    <Datasource>
612        <Parameter name="table">
613<!--
614        (select way,(tags->'parking:lane:left') as "parking:lane:left",COALESCE(tags->'parking:condition:left',tags->'parking:condition:both') as "parking:condition:left"
615          from &prefix;_line
616          where (tags ? 'parking:lane:left') AND (tags->'parking:lane:left') in ('diagonal','orthogonal','inline','no_parking','no_stopping','fire_lane')
617        ) as roads
618-->
619        (select way,
620                COALESCE(tags->'parking:lane:left',tags->'parking:lane:both') as "parking:lane:left",
621                COALESCE(tags->'parking:condition:left',tags->'parking:condition:both') as "parking:condition:left"
622                from &prefix;_line
623                where (tags ? 'parking:lane:left') or (tags ? 'parking:lane:both')
624        ) as roads
625        </Parameter>
626        &datasource-settings;
627    </Datasource>
628</Layer>
629
630<Layer name="parkinglane-right" srs="&osm2pgsql_projection;" status="1" clear_label_cache="0">
631    <StyleName>parkinglane-right-diagonal</StyleName>
632    <StyleName>parkinglane-right-orthogonal</StyleName>
633    <StyleName>parkinglane-right-inline</StyleName>
634    <StyleName>parkinglane-right-no</StyleName>
635    <Datasource>
636        <Parameter name="table">
637<!--
638        (select way,(tags->'parking:lane:right') as "parking:lane:right",(tags->'parking:condition:right') as "parking:condition:right"
639          from &prefix;_line
640          where (tags ? 'parking:lane:right') AND (tags->'parking:lane:right') in ('diagonal','orthogonal','inline','no_parking','no_stopping','fire_lane')
641        ) as roads
642-->
643        (select way,
644                COALESCE(tags->'parking:lane:right',tags->'parking:lane:both') as "parking:lane:right",
645                COALESCE(tags->'parking:condition:right',tags->'parking:condition:both') as "parking:condition:right"
646                from &prefix;_line
647                where (tags ? 'parking:lane:right') or (tags ? 'parking:lane:both')
648        ) as roads
649        </Parameter>
650        &datasource-settings;
651    </Datasource>
652</Layer>
653
654
Note: See TracBrowser for help on using the repository browser.