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.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to