2011/8/30 Peter Körner <[email protected]>:
> Am 30.08.2011 11:32, schrieb Martin Koppenhoefer:
>> This looks interesting. Can the attributes also be combined?
> which attributes?


I intended the symbolizer attributes, i.e. that you compose the final
result for one symbolizer from different rules like in the example.


>> <Style name="amenity">
>>   <Rule>
>>     <Filter>[amenity] = 'restaurant'</Filter>
>>     <TextSymbolizer name="[name]" fill="red"/>
>>   </Rule>
>>
>     <Rule>
>>
>>     <Filter>[amenity] = 'pub'</Filter>
>>     <TextSymbolizer name="[name]" fill="black" />
>>   </Rule>
>>
>>   <Rule>
>>     <AlsoFilter />
>>     <TextSymbolizer name="[name]" fontset-name="book-fonts" size="9"
>> dy="9" halo-radius="1" wrap-width="0" />
>>   </Rule>
>> </Style>
>
> The above example is valid.


but will it draw 1 symbolizer with the combined attributes, or will it
first draw a red text with default attributes (1st rule) and then a
second text with the given attributes and default colour (also-rule)?

cheers,
Martin
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to