Gavin,

filter complex features by referencing xpath properties in the output. The client never needs to know about the source tables. app-schema converts the client filter into filters against the source tables, or efficient SQL join queries if joining is used.

The cql_filter vendor parameter works fine for top-level properties like gml:name but I can find no way of encoding xpaths because "/" and "@" are invalid and not recognised as part of the property selector. In these cases you should be able to use filter (OGC Filter XML) rather than cql_filter.

Kind regards,
Ben.

On 15/08/17 07:42, Gavin Medley wrote:
Hi all,

How would one use a CQL_Filter parameter in a WFS request to filter the
results given by an app schema mapped complex feature using feature
chaining. The way I understand it, CQL_Filter operates using a WHERE
statement in a CQL query but how does that work when each (linked) mapping
file may be accessing a different table? Does the filter get applied to the
top level mapping file? I haven't been able to make it work at all. Perhaps
I'm totally misunderstanding it though.



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

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ben Caradoc-Davies <b...@transient.nz>
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

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to