I am getting the same result as Sirko...   Not sure what else need to be done 
.. ? 

-----Original Message-----
From: Sirko Schroeder [mailto:[email protected]] 
Sent: Friday, 11 November 2011 10:24 AM
To: 'Andrea Aime'; Tan, Florence (CESRE, Kensington)
Cc: Caradoc-Davies, Ben (CESRE, Kensington); 
'[email protected]'
Subject: RE: [Geoserver-users] [ExternalEmail] Re: app-schema WMS

Hi,

Andrea Aime wrote: 
> Florence Tan wrote:
> > In the given example, only one geometry column has been used.  How
> > would geoserver handle a complex feature that comes with more than
> > one geometry column ?
> 
> The renderer gets the feature's default geometry property in case
> there is no explicit reference to a geometry property name in the SLD.
> Otherwise you can use a specific one by naming it in the <Geometry> 
> element available in every SLD symbolizer

I have tried to do that and I get a little further, now a GetCapabilies
Request lists the layer but if I do a GetMap I receive this error:

(<myServer>/nvcl_20111101/wms?service=wms&version=1.1.1&request=GetMap&layers=gsml:Borehole&BBOX=127.7,-27.5,139,-9.5&width=256&height=256&format=image/png):

"The requested Style can not be used with this layer.  The style specifies an 
attribute of gsml:collarLocation/gsml:BoreholeCollar/gsml:location and the 
layer is: gsml:Borehole"

I have attached the sld and the error output.

Kind Regards,
Sirko 

--
Database Support Officer  - Northern Territory Geological Survey 
Phone: (08) 8999 5148 Fax: (08) 8999 6824
email: [email protected] 


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to