Regardless of the styling language or styling details, the answer is the
same: just specify the layers in the request in the order you'd like them
drawn (last one listed is on top.) That is, instead of
"request=GetMap&layers=mylayer" in your WMS request, put
"request=GetMap&layers=low_res,medium_res,high_res".

GeoServer will avoid fetching data for layers that won't be rendered at the
current scale, so the performance overhead is minimal.

LayerGroups[1] might help if you need a more centralized solution.

[1]: 
http://docs.geoserver.org/stable/en/user/webadmin/data/layergroups.html<http://docs.geoserver.org/stable/en/user/webadmin/data/layergroups.html?highlight=layer%20group>

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

On Wed, Apr 4, 2012 at 7:03 AM, Chris Haste <[email protected]> wrote:

> Each layer contains different features and each is styled so that a
> particular featured is rendered differently based on a scale within that
> layer. For example there may be a feature on one layer that represents an
> object. At one scale it will be rendered as a mark e.g. triangle, but then
> it may be rendered as an external image at a closer zoom.****
>
> ** **
>
> The issue is that certain layers have features that are more important
> than others and all are drawn at the same time.****
>
> ** **
>
> *From:* Jay L. [mailto:[email protected]]
> *Sent:* 04 April 2012 11:53 AM
> *To:* Chris Haste
> *Cc:* [email protected]
> *Subject:* Re: [Geoserver-users] Z-Order Question****
>
> ** **
>
> Are these bound by scale, ie medium resolution between a certain scale
> range, or do you want to draw all layers at the same time, overlapping?***
> *
>
> ** **
>
> Jay****
>
> On Wed, Apr 4, 2012 at 6:05 AM, Chris Haste <[email protected]> wrote:*
> ***
>
> Hello list,****
>
>  ****
>
> I’m a bit confused on something and I was hoping someone can point me in
> the right direction.****
>
>  ****
>
> Firstly background;  I’m using the CSS module for my styling and I have
> several layers on my map that add more detail as the user zooms in.****
>
>  ****
>
> I need to be able to control the z order of the marks/symbols being used.
> I can see that there is a CSS z-order parameter for labels but is there an
> equivalent for the symbols?****
>
>  ****
>
> Example; if I had 3 layers called LowDetail, MediumDetail and HighDetail
> how could I ensure that a certain point symbol introduced in MediumDetail
> was always drawn last and therefore always visible?****
>
>  ****
>
> Thanks****
>
>  ****
>
> Chris****
>
> *** This communication has been sent from World Fuel Services
> Corporation or its subsidiaries or its affiliates for the intended
> recipient
> only and may contain proprietary, confidential or privileged information.
> If you are not the intended recipient, any review, disclosure, copying,
> use, or distribution of the information included in this communication
> and any attachments is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to this
> communication and delete the communication, including any
> attachments, from your computer. Electronic communications sent to or
> from World Fuel Services Corporation or its subsidiaries or its affiliates
> may be monitored for quality assurance and compliance purposes.*******
>
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to