I have defined complex feature using app-schema extension
I try to query by the attribute - it does work, but when I try to use the
same attribute in <wfs:PropertyName> I have exaption report
<ows:ExceptionText>Requested property: latitude is not available for
sarv:SR_SamplingLocality. </ows:ExceptionText>
working query:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature
version="2.0.0"
service="WFS"
handle="Query01" count="3"
xmlns:wfs="http://www.opengis.net/wfs/2.0"
xmlns:fes="http://www.opengis.net/fes/2.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sarv="http://loom-gis.geo.ut.ee/ermas/schemas/sarv"
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd">
<wfs:Query typeNames="sarv:SR_SamplingLocality" handle="Q1" >
<fes:Filter>
<fes:PropertyIsGreaterThan>
<fes:ValueReference>sarv:latitude</fes:ValueReference>
<fes:Literal>58</fes:Literal>
</fes:PropertyIsGreaterThan>
</fes:Filter>
</wfs:Query>
</wfs:GetFeature>
Did somebody have the same problem?
Valentina
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/App-schema-ext-wfs-PropertyName-in-complex-feature-query-tp5165742.html
Sent from the GeoServer - User mailing list archive at Nabble.com.