Hi all,

I am involved in a feasibility study on the usability of INSPIRE conformant
data, carried out in cooperation with the European Environment Agency. In
this framework, I'm testing whether WFS and WMS can be set up (using
different software tools) for gml datasets conformant to the Common Database
on Designated Areas (CDDA) application schema, which is an extension of
INSPIRE Protected Sites application schema. 

Using GeoServer (v2.8) I'm able to successfully expose data through the WFS,
but when I send a WMS request I get the following error in the log 

"WARN [complex.filter] - Using root's namespace
http://dd.eionet.europa.eu/schemaset/cdda for step named 'geometry', as no
prefix was stated

ERROR [geotools.rendering] - Can't find source expression for: geometry

java.lang.IllegalArgumentException: Can't find source expression for:
geometry "   

 

Indeed, the CDDA application schema does not contain the 'geometry' field,
since it's inherited from INSPIRE Protected Sites schema (ps:geometry).

Here follow lines relevant to geometry mapping in my CDDA appschema file:

 

<Namespace>

            <prefix>ps</prefix>

            <uri>http://inspire.ec.europa.eu/schemas/ps/4.0</uri>

</Namespace>

..

<AttributeMapping>

                    <targetAttribute>ps:geometry</targetAttribute>

                    <sourceExpression>

                        <OCQL>geom</OCQL>

                    </sourceExpression>

    <ClientProperty>

                        <name>srsName</name>

                        <value>'urn:ogc:def:crs:EPSG::3035'</value>

          </ClientProperty>

         <idExpression>

                        <OCQL>strConcat('GEOM_', id)</OCQL>

        </idExpression>


        </AttributeMapping>            

 

Could you help? 

Thank you

Stefania

 

 



_________________________________

Stefania Morrone

INSPIRE & SDI Senior expert

EPSILON Italia srl

C.da Pasquali 79

87040 Mendicino (CS) - Italy

Tel.: +39.0984.631949

Fax: +39.0984.631767

Skype:stefania.morrone68

e-mail:  <mailto:[email protected]> [email protected]

 <http://www.epsilon-italia.it/> http://www.epsilon-italia.it

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to