Stefania, this looks similar to <https://osgeo-org.atlassian.net/browse/GEOT-4006>, which was allegedly fixed in 2012. See discussion <http://osgeo-org.1560.x6.nabble.com/app-schema-WMS-td3786611.html>.
- What SLD are you using? - Are you using a filter? - GEOT-4006 mentions: "Workaround is to omit namespaces in <sld:Geometry>/<ogc:PropertyName>"; have you tried this? There might still be a problem with namespaces and properties inherited from parent schemas. Another report mentions a similar problem caused by a missing secondary namespace: https://osgeo-org.atlassian.net/browse/GEOS-6417 Please check that you have configured all your secondary namespaces: http://docs.geoserver.org/stable/en/user/data/app-schema/secondary-namespaces.html Kind regards, Ben. On 05/10/16 05:04, Stefania Morrone wrote: > 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 > -- Ben Caradoc-Davies <[email protected]> Director Transient Software Limited <http://transient.nz/> New Zealand ------------------------------------------------------------------------------ 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
