WFS 2.0 cascaded stored query

Support for cascaded stored query backed layers from wfs-ng datastores.
Hi,

I can work this change in - it's easiest for me to document the metadata
map. But it's a good idea that a more seasoned veteran documents the other
fields. I'm going on a short vacation and will be back on Wednesday - I'll
try to manage this tonight but I can't be 100% sure that I find the time to
do it.

This leaves us with the CQL concatenation and the temporary names in the
FeatureTypeCallback. I'll work  these on Wednesday as well.

Thanks for all your help with this!


 Sampo

On Thu, Dec 11, 2014 at 11:56 PM, Jody Garnett <notifications@github.com>
wrote:
>
> In
> src/main/src/main/java/org/vfny/geoserver/global/GeoServerFeatureSource.java
> <https://github.com/geoserver/geoserver/pull/841#discussion-diff-21712866>
> :
>
> >       */
> >      GeoServerFeatureSource(FeatureSource<SimpleFeatureType, SimpleFeature> source, SimpleFeatureType schema, Filter definitionQuery,
> > -        CoordinateReferenceSystem declaredCRS, int srsHandling, Double linearizationTolerance) {
> > +        CoordinateReferenceSystem declaredCRS, int srsHandling, Double linearizationTolerance, Map<String, Object> metadata) {
>
> Based on email discussion we need to be sure Map metadata has a javadoc :)
>
> You can go ahead and introduce a parameter object now, or I can do it have
> this is all merged in.
>
> From email:
>
> // for backwards compatibility (deprecate or remove to force compile failure)
> GeoServerFeatureSource(source, schema, definitionQuery, declaredCRS, srsHandling, linearizationTolerance){
>    this( source, new Settings( schema, definitionQuery, declaredCRS, srsHandling, linearizationTolerance) );
> }
> GeoServerFeatureSource(source, schema, Settings settings ){
>   ...
> }
>
> Where "GeoServerFeatureSource.Settings" is a parameter object which we can
> add fields to over time:
>
> static class Settings {
>   SimpleFeatureType schema = null;
>   Filter definitionQuery = null;
>   CoordinateReferenceSystem declaredCRS = null;
>   int srsHandling = null;
>   Double linearizationTolerance  = null;
>   Map<String, Object> metadata = null;
> }
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/geoserver/geoserver/pull/841/files#r21712866>.
>


-- 
Sampo Savolainen
R&D Director, Spatineo Oy
sampo.savolainen@spatineo.com
+358-407555649
Linnankoskenkatu 16 A 17, 00250 Helsinki, Finland
www.spatineo.com, twitter.com/#!/spatineo
www.linkedin.com/company/spatineo-inc

This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate, or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.