You can use multiple FeatureTypeStyles in your SLD to achieve this effect.
 See the "line with border" example from the GeoServer manual:

http://docs.geoserver.org/stable/en/user/styling/sld-cookbook/lines.html#line-with-border

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Jun 2, 2011 at 6:49 AM, wangyang <c...@263.net> wrote:

> Hi,
>
>   I defined a polygon layer which contains polygons overlapped. And I want
> to specify the overlap order for different type of polygon, eg. I want the
> polygons with type=’pole’ stay above these with type=’table’, see
> attachment. I can use rules to discriminate these polygons by type and can’t
> find any field (like index) to specify order of rule.
>
>   Or must I split the layer into small layers with only one type? But I am
> to worry about the performance.
>
>
>
>   Any suggestions?
>
>
>
> yang
>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with
> vRanger.
> Installation's a snap, and flexible recovery options mean your data is
> safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to