Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-05 Thread Andrea Aime
On Wed, Jun 6, 2012 at 5:29 AM, Brett Walker wrote: > Hi Andrea, > > I don't know how you are progressing with the patch for 3D Geometry support. > The cause of why I needed to investigate this issue has been resolved. Ah, I previously hinted at that in my first mail, this is not paid work so it

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-05 Thread Brett Walker
gmail.com [mailto:[email protected]] On Behalf Of Andrea Aime Sent: Monday, 4 June 2012 10:32 PM To: Brett Walker Cc: [email protected] Subject: Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries On Mon, Jun 4, 2012 at 12:05 PM, Brett Walker wrote: > >>  >   I see in

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-04 Thread Andrea Aime
On Mon, Jun 4, 2012 at 12:05 PM, Brett Walker wrote: > >>  >   I see in BasicSQLDialect that you look into the z of teh geometry to >> determine the dimension, >>  >   imho this should be done the other way, just like we do with srid: a >> geometry is saved as >>  >   3d if the database accepts

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-04 Thread Brett Walker
> > I see in BasicSQLDialect that you look into the z of teh geometry to > determine the dimension, > > imho this should be done the other way, just like we do with srid: a > geometry is saved as > > 3d if the database accepts 3d data, not the other way around. > > If a 2d geometry i

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-04 Thread Andrea Aime
On Mon, Jun 4, 2012 at 9:32 AM, Brett Walker wrote: > Hi Andrea, > > ** ** > > The formatting changes I made were necessary because I placed large blocks > of code within a try/finally block. To preserve readability I needed to > indent the code. If I have done this wrong I apologise. If it is

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-04 Thread Brett Walker
.com [mailto:[email protected]] On Behalf Of Andrea Aime Sent: Monday, 4 June 2012 5:05 PM To: Brett Walker Subject: Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries On Mon, Jun 4, 2012 at 2:56 AM, Brett Walker mailto:[email protected]>> wrote: Hi Andrea, I have

Re: [Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-02 Thread Andrea Aime
On Sat, Jun 2, 2012 at 4:12 AM, Brett Walker wrote: > Hi, > > ** ** > > I’m trying to understand the status of 3D geometries in > PostgreSQL/PostGIS. I’m examining the 3D tests in the in the jdbc-postgis > module. > Funny you ask about that, I've been working on a patch to make postgis prope

[Geotools-devel] PostgreSQL/PostGIS and 3D Geometries

2012-06-01 Thread Brett Walker
Hi, I'm trying to understand the status of 3D geometries in PostgreSQL/PostGIS. I'm examining the 3D tests in the in the jdbc-postgis module. I see two problems with the testing framework; the first it assumes only 2D geometries. Perhaps some hint for the required dimension (2D or 3D) in the