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

Revision 27660, 32.6 KB checked in by kdrangmeister, 2 years ago (diff)

trying dy for offsetting text

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