Hi list,

I've found a strange issue while performing a getMap over a group of layers. I 
have a layer called "toponimia", which is formed by two layers, "topo1" and 
"topo2". All of them are points. While configuring the layer group, I set the 
style to be applied to those two layers, and when I preview them in geoserver 
user interface, I can see everything OK, but if I make a POST request, which is 
something I really need to do, I get the image of the layer group but without 
the previously set style. I mean it uses the default style, a red square to 
draw the points. Do I have to add something else to the POST request??

My request

<?xml version='1.0' encoding='UTF-8'?><ogc:GetMap xmlns:ogc = 
'http://www.opengis.net/ows' xmlns:gml = 'http://www.opengis.net/gml' 
version='1.1.1' service='WMS'><StyledLayerDescriptor 
version='1.0.0'><NamedLayer><Name>toponimia</Name></NamedLayer></StyledLayerDescriptor><BoundingBox
 
srsName='http://www.opengis.net/gml/srs/epsg.xml#23030'><gml:coord><gml:X>538293.48457493</gml:X><gml:Y>4743746.17418806</gml:Y></gml:coord><gml:coord><gml:X>540093.48457493</gml:X><gml:Y>4745546.17418806</gml:Y></gml:coord></BoundingBox><Output><Format>image/png</Format><Size><Width>787</Width><Height>787</Height></Size><Transparent>true</Transparent></Output><Exceptions>application/vnd.ogc.se+xml</Exceptions></ogc:GetMap>

Any ideas what could be happening?

Any help is appreciated.

Thanks in advance.

Regards,
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: [email protected]                                web: www.ikt.es
··················································································

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to