Re: [Geotools-devel] GML complex features encoder doubt

2016-11-17 Thread Nuno Oliveira
Ha ha ha! Thanks for sharing this :) On 11/17/2016 06:00 PM, Jody Garnett wrote: Fine: - https://www.dropbox.com/s/egwue6op3gch4r4/DSC06212.jpg?dl=0 - https://www.dropbox.com/s/zyvfq10k5wygeyu/DSC06213.JPG?dl=0 -- Jody Garnett On 14 November 2016 at 19:57, Ben Caradoc-Davies

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-17 Thread Jody Garnett
Fine: - https://www.dropbox.com/s/egwue6op3gch4r4/DSC06212.jpg?dl=0 - https://www.dropbox.com/s/zyvfq10k5wygeyu/DSC06213.JPG?dl=0 -- Jody Garnett On 14 November 2016 at 19:57, Ben Caradoc-Davies wrote: > Nuno, > > I have no objection to the encoder supporting non-GML encoding patterns, > if the

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-17 Thread Nuno Oliveira
Hi Ben, please find my answers bellow. On 11/15/2016 03:57 AM, Ben Caradoc-Davies wrote: > Nuno, > > I have no objection to the encoder supporting non-GML encoding > patterns, if the change does not impact complexity or performance. The > encoder is intended to support XSDs other than just GML,

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-14 Thread Ben Caradoc-Davies
Nuno, I have no objection to the encoder supporting non-GML encoding patterns, if the change does not impact complexity or performance. The encoder is intended to support XSDs other than just GML, hence the module name. Before any change is merged, I would like to run the GeoServer app-schema

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-14 Thread Nuno Oliveira
Andrea, Stefano Ben and Rob sorry for the delay and thanks for the feedback, much appreciated :) I dived in app-schema and GML complex features encoder code, follow the provided mailing list discussions and perform some tests and I got confused about all of this :| ... I redone all of this and

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-06 Thread Rob Atkinson
FWIW... it is reasonable and desirable to be able to encode non GML schemas.. however they should not be offered as GML in the capability doc or Mime typed as GML. This may be a higher implementation burden of course but should be considered in any updates. Rob Atkinson On Sun, 6 Nov 2016, 9:48 A

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-05 Thread Ben Caradoc-Davies
On 03/11/16 21:53, Stefano Costa wrote: > On Wed, Nov 2, 2016 at 3:42 PM, Nuno Oliveira < > nuno.olive...@geo-solutions.it> wrote: >> Stefano I tried to find the discussion you refer on the mailing lists but >> could not find it, better I found to much information >> about this, can you pass me the

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-03 Thread Stefano Costa
Hi Nuno, On Wed, Nov 2, 2016 at 3:42 PM, Nuno Oliveira < nuno.olive...@geo-solutions.it> wrote: > > Stefano I tried to find the discussion you refer on the mailing lists but > could not find it, better I found to much information > about this, can you pass me the link :) > Take a look at this o

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-02 Thread Andrea Aime
On Wed, Nov 2, 2016 at 3:42 PM, Nuno Oliveira < nuno.olive...@geo-solutions.it> wrote: > Thanks for the feedback Stefano and Andrea. > > So it doesn't matter how I try to map the entities, i.e. the app-schema > mappings, the problem is with the schema :( > Euff... this might be more a matter of p

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-02 Thread Nuno Oliveira
Thanks for the feedback Stefano and Andrea. So it doesn't matter how I try to map the entities, i.e. the app-schema mappings, the problem is with the schema :( Stefano I tried to find the discussion you refer on the mailing lists but could not find it, better I found to much information abou

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-02 Thread Stefano Costa
Hi Nuno, I believe your schema violates GML encoding rules; this issue has bitten me in the past, you should find in the mailing list archives several discussions on this topic. You could also go through the GML 3.2.1 specification, in partucular paragraph 7.1. I'm copying here a few passages, th

Re: [Geotools-devel] GML complex features encoder doubt

2016-11-02 Thread Andrea Aime
Hi Nuno, I believe you might have broken the GML striping rule there. >From our documentation: http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html Note that the GML encoding rules require that complex types are never the direct property of another complex type; they ar

[Geotools-devel] GML complex features encoder doubt

2016-11-02 Thread Nuno Oliveira
Hi, I have a doubt regarding the way GML complex features encoder handles a sub collection of features, i.e. chained features. The example use case is the representation of some meteorological stations measurements in GML. The complex feature represents a station were the measurements are rep