Hello,
Environment: OpenLayers 2.7 + Geoserver 1.6.2.
I'm doing a feature highlight by WMS (GET), and in the map the highlight
appears over the other WMS layers.
Example:
http://www.nabble.com/file/p21915478/1.jpg
When i'm doing the WMS POST request of all visible layers to print, the
highlight layer is under the other WMS layers. I tried to switch the order
of the XML that is sent to Geoserver, but it return always the same result.
In the next image, the 2 small circles are under the orange square.
Example:
http://www.nabble.com/file/p21915478/print.jpg
The same thing happens, when i try to put a label on it.
Example:
http://www.nabble.com/file/p21915478/subtitle.jpg
In this example the label is under the orange square.
Is there any way to control it?
Thanks in advanced,
T Vieira
--
View this message in context: http://www.nabble.com/Highlight-features-and-Labels-under-the-other-layers-tp21915478p21915478.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
T. Vieira ha scritto:
Hello,
Environment: OpenLayers 2.7 + Geoserver 1.6.2.
I'm doing a feature highlight by WMS (GET), and in the map the highlight
appears over the other WMS layers.
Example:
http://www.nabble.com/file/p21915478/1.jpg When i'm doing the WMS POST request of all visible layers to print, the
highlight layer is under the other WMS layers. I tried to switch the order
of the XML that is sent to Geoserver, but it return always the same result.
In the next image, the 2 small circles are under the orange square.
Example:
http://www.nabble.com/file/p21915478/print.jpg The same thing happens, when i try to put a label on it.
Example:
http://www.nabble.com/file/p21915478/subtitle.jpg In this example the label is under the orange square.
I must admit I don't quite understand what your issue is.
The layers should be drawn in the order they are declared/requested.
The labels don't follow this rule thought, they end up on the top
of the map no matter what, as otherwise the map would be unreadable
(think labels being covered by polygonals and the like).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
Hi,
My mistake.
The visible squares on image are designed by a sld TextSymbolizer. So it
stays always on top.
Thanks for your help.
Post closed.
T Vieira
Andrea Aime-4 wrote:
T. Vieira ha scritto:
Hello,
Environment: OpenLayers 2.7 + Geoserver 1.6.2.
I'm doing a feature highlight by WMS (GET), and in the map the highlight
appears over the other WMS layers.
Example:
http://www.nabble.com/file/p21915478/1.jpg
When i'm doing the WMS POST request of all visible layers to print, the
highlight layer is under the other WMS layers. I tried to switch the
order
of the XML that is sent to Geoserver, but it return always the same
result.
In the next image, the 2 small circles are under the orange square.
Example:
http://www.nabble.com/file/p21915478/print.jpg
The same thing happens, when i try to put a label on it.
Example:
http://www.nabble.com/file/p21915478/subtitle.jpg
In this example the label is under the orange square.
I must admit I don't quite understand what your issue is.
The layers should be drawn in the order they are declared/requested.
The labels don't follow this rule thought, they end up on the top
of the map no matter what, as otherwise the map would be unreadable
(think labels being covered by polygonals and the like).
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code
to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Highlight-features-and-Labels-under-the-other-layers-tp21915478p21945462.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
T. Vieira ha scritto:
Hi,
My mistake.
The visible squares on image are designed by a sld TextSymbolizer. So it
stays always on top.
I see. You can draw squares with PointSymbolizer and a well known
mark called "square", and if you need TTF symbols, you can use
the dynamic symbolizers feature hight lighted here:
http://blog.geoserver.org/2008/12/08/dynamic-symbolizers-part-1/
http://blog.geoserver.org/2008/12/16/dynamic-symbolizers-part-2/
When you use a TTF symbol as a marker it's treated just like
any other shape, not as a label, so it does not end up being on
top.
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.