Jukka,

Sorry, I sent the message without including the list address.

Thanks for your response. I tried using 

 <NamedStyle>
   <Name>Default</Name>
  </NamedStyle> 

And it seems to work, well, at least it doesn't throw any error, but I get a 
blank image. It doesn't draw anything!!

Any ideas?

Could this be a bug or something like that??

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
··················································································

-----Mensaje original-----
De: Rahkonen Jukka [mailto:[email protected]] 
Enviado el: lunes, 30 de enero de 2012 14:59
Para: David Alda Fernandez de Lezea; '[email protected]'
Asunto: Re: [Geoserver-users] Problems with getmap request using POST GeoServer 
2.0.2

Hi,

Just a guess but perhaps it is using the default style because it does not know 
what other style to use? I would try to add NamedStyle somehow like in this 
example:

http://osdir.com/ml/gis.geoserver.user/2005-09/msg00099.html

-Jukka Rahkonen-

David Alda Fernandez de Lezea wrote:

> 
> 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:c
oord><gml:X>538293.48457493</gml:X><gml:Y>4743746.17418806</gml:Y></> 
oord>gml:coord><gml:coord><gml:X>540093.48457493</gml:X><gml:Y>4745
> 546.17418806</gml:Y></gml:coord></BoundingBox><Output><Format>
> image/png</Format><Size><Width>787</Width><Height>787</Height>
> </Size><Transparent>true</Transparent></Output><Exceptions>app
lication/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
> 

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to