Sirko,

please keep discussions on list so that everyone can benefit and contribute.

I cannot answer any of your questions at this time (looks like an 
app-schema WMS bug), but Florence may have a look at it.

Kind regards,
Ben.

On 09/11/11 12:27, Sirko Schroeder wrote:
> Hi Ben,
>
> Thank you very much for your help I really do appreciate it.
>
> Ben Caradoc-Davies wrote:
>> Anyway, the magic sauce that is missing is the layer.xml file in the
>> same directory as the featuretype.xml. This defines the layer and the
>> style used to render it (as well as turning it on!).
>
> GeoServer can now find the layer but unfortunately my featureType causes
> another error: 'Can't find source expression for: shape'
>
> shape is defined like this:
>
> <AttributeMapping>
>       <targetAttribute>sa:shape</targetAttribute>
>        <idExpression>
>               <OCQL>SHAPE_ID</OCQL>
>        </idExpression>
>       <sourceExpression>
>               <OCQL>SHAPE</OCQL>
>       </sourceExpression>
>       <targetAttributeNode>gml:LineStringPropertyType</targetAttributeNode>
> </AttributeMapping>
>
> I do not want to use the shape anyway. Is there a way to specify which
> geometry of a featureType should be used to create the WMS layer?
> I really only want to show the 
> gsml:collarLocation/gsml:BoreholeCollar/gsml:location
> Points on the WMS layer.
>
> I have attached the Borehole directory from the  gsml workspace. It also
> Contains the returned error message (app-schema-wms.error-1.xml).
>
> Kind Regards,
> Sirko
>
> p.s. Do you know there to look for the layer.xml documentation?
>
> --
> Database Support Officer  - Northern Territory Geological Survey
> Phone: (08) 8999 5148 Fax: (08) 8999 6824
> email: [email protected]

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

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