Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-02-07 Thread Sjoerd Brandsma
Hi, Thanks for the support so far. I've cleaned up the modifications and removed all modifications to JTS. It appeared they weren't really necessary. I've added Hints to PostGISDialect.java to be able to switch between 2D and 3D. This could look something like this: int dims = 2; // defa

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-20 Thread Jody Garnett
>> - added getCoordDimensions function to geometry and implementors >> - modified WKTWriter to be able to write 3d data > > Are those both strictly necessary? Patching JTS is problematic, we > only used stock > releases so far. > It would be nicer, imho, to keep the knowledge that a certain geome

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-19 Thread Andrea Aime
On Wed, Jan 19, 2011 at 8:18 PM, Sjoerd Brandsma wrote: > Hi, > > Thanks for the feedback! Much appreciated. > > Currently, it does break WMS. Thanks for the hint on how to solve this. > I'll look into the JTS issue and see how this can be solved in a different > way. > > And yes, at the moment we

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-19 Thread Sjoerd Brandsma
Hi, Ok. I'll start a new thread and discuss the proposed changes for the 'planar geometry with 3d coordinates' support in geoserver. Thanks for the support. Best regards, Sjoerd Brandsma CycloMedia On Wed, Jan 19, 2011 at 2:41 PM, Andrea Aime wrote: > On Tue, Jan 18, 2011 at 4:12 PM, Sjoerd B

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-19 Thread Sjoerd Brandsma
Hi, Thanks for the feedback! Much appreciated. Currently, it does break WMS. Thanks for the hint on how to solve this. I'll look into the JTS issue and see how this can be solved in a different way. And yes, at the moment we're only using the flat geometries with 3D coodinates. With WFS and SLD

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-19 Thread Andrea Aime
On Tue, Jan 18, 2011 at 4:12 PM, Sjoerd Brandsma wrote: > Hi All, > > In the past there have been several discussions about 3D support in > geotools, jts and geoserver. > Up untill know there has been done some work (plans) on this but it's still > nailed down to 2D in most of the software compone

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-19 Thread Andrea Aime
On Tue, Jan 18, 2011 at 11:55 PM, Sjoerd Brandsma wrote: > Hi, > > Minor steps have been made so far. Only two days of initial effort has been > put in so don't expect much :) > > Changes made: > > Geotools > > - Modification in gt-jdbc-postgis to be able to get postgis data: >   use ST_AsEWKB ins

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-18 Thread Sjoerd Brandsma
Hi, Minor steps have been made so far. Only two days of initial effort has been put in so don't expect much :) Changes made: Geotools - Modification in gt-jdbc-postgis to be able to get postgis data: use ST_AsEWKB instead of ST_AsBinary because ST_AsBinary ony returns X,Y removed force_2d f

Re: [Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-18 Thread Rob Atkinson
Thats very good news indeed. The app-schema support provides some support for 1D objects, I'm not sure that 3-D has been yet tested - and certainly 3D geometry operations wont be. can you provide some more details of what changes you made, to which components, to deliver what capability - there w

[Geoserver-devel] Geoserver WFS and PostGis 3D

2011-01-18 Thread Sjoerd Brandsma
Hi All, In the past there have been several discussions about 3D support in geotools, jts and geoserver. Up untill know there has been done some work (plans) on this but it's still nailed down to 2D in most of the software components. Because of that we (CycloMedia) have been using Deegree 2.4 WFS