Hi Gilles,

What svn revision are you running?

I recall that r938 and r939 addressed this issue.

If you are running code with these fixes, please post a ticket and  
I'll take a closer look.

Thanks,

Dane


On Mar 25, 2009, at 1:06 PM, Gilles Bassière wrote:

> Hi List,
>
> I have an XML file with a "road" layer. This layer references many
> styles for casing and filling and labelling of different road types.
>
> The styles are ordered so that the deepest style appear first :
>
>    <Layer name="roads" srs="+init=epsg:27572" status="on">
>        <StyleName>road_casing6</StyleName>
>        <StyleName>road_casing5</StyleName>
>        <StyleName>road_casing4</StyleName>
>        <StyleName>road_casing3</StyleName>
>        <StyleName>road_casing2</StyleName>
>        <StyleName>road_casing1</StyleName>
>        <StyleName>road_casing0</StyleName>
>        <StyleName>road_filling6</StyleName>
>        <StyleName>road_filling5</StyleName>
>        <StyleName>road_filling4</StyleName>
>        <StyleName>road_filling3</StyleName>
>        <StyleName>road_filling2</StyleName>
>        <StyleName>road_filling1</StyleName>
>        <StyleName>road_filling0</StyleName>
>        <StyleName>road_labels</StyleName>
>        <Datasource>
>            <Parameter name="type">postgis</Parameter>
>            ...
>        </Datasource>
>    </Layer>
>
> When I render this map with the load_map function, it's fine.
> Unfortunately, the order is different when I use the load_map method  
> of
> the WMSFactory (OGCserver).
>
> I read the ticket http://trac.mapnik.org/ticket/129 and I understand
> that aggregate styles are not easy to manage in XML.
>
> Is there any work around this?
>
> Regars
> Gilles
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

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

Reply via email to