Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-17 Thread Jesper Steen Møller
-Jesper > On 17 Mar 2018, at 01.13, Nuno Oliveira > wrote: > > GeoServer has a GeoJson encoder for complex features: > https://github.com/nmco/geoserver/blob/c3adc90120b8cb9e564d1c2eba564eaf47e82c0d/src/wfs/src/main/java/org/geoserver/wfs/json/ComplexGeoJsonWriter.java#L421 > > Not sure how

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-17 Thread Andrea Aime
On Sat, Mar 17, 2018 at 9:57 AM, Ian Turton wrote: > One word of warning while GeoTools considers GeoJSON unsupported GeoServer > uses it in the main build so if you break the module the GeoServer build > will break. > The GeoServer "main" GeoJSON output is older than the gt-geojson module (and

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-17 Thread Ian Turton
One word of warning while GeoTools considers GeoJSON unsupported GeoServer uses it in the main build so if you break the module the GeoServer build will break. Ian On 16 March 2018 at 11:46, Andrea Aime wrote: > On Fri, Mar 16, 2018 at 12:25 PM, Jesper Steen Møller < > jes...@selskabet.org> wro

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-16 Thread Nuno Oliveira
GeoServer has a GeoJson encoder for complex features: https://github.com/nmco/geoserver/blob/c3adc90120b8cb9e564d1c2eba564eaf47e82c0d/src/wfs/src/main/java/org/geoserver/wfs/json/ComplexGeoJsonWriter.java#L421 Not sure how helpful it would for you :) On 03/16/2018 01:55 PM, Jesper Steen Møller w

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-16 Thread Jesper Steen Møller
Hi Justin, Andrea and ilist, > On 16 Mar 2018, at 13.13, Justin Deoliveira wrote: > > I’m the original author of most of that code, but as Andrea states I haven’t > had the time to be a decent maintainer of it, so definitely go ahead with > your improvements, having support for “deep” or “comp

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-16 Thread Justin Deoliveira
I’m the original author of most of that code, but as Andrea states I haven’t had the time to be a decent maintainer of it, so definitely go ahead with your improvements, having support for “deep” or “complex” properties would be great. That module is fair game! A word of warning: the way the parse

Re: [Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-16 Thread Andrea Aime
On Fri, Mar 16, 2018 at 12:25 PM, Jesper Steen Møller wrote: > Hi list > > My use case for working with GeoJSON has hit upon a limitation in the > GeoJSON reader, regarding "deep" objects in a Feature's properties. This is > permitted by the spec, but isn't handled well in the deserializer (see >

[Geotools-devel] Enhancing GeoJSON serialisation for deep properties

2018-03-16 Thread Jesper Steen Møller
Hi list My use case for working with GeoJSON has hit upon a limitation in the GeoJSON reader, regarding "deep" objects in a Feature's properties. This is permitted by the spec, but isn't handled well in the deserializer (see GEOT-5158 and GEOT-