Re: [Geotools-devel] Regression introduced by ReferencedEnvelope3D work

2012-11-28 Thread Niels Charlier
Hi Jody, That issue should have already been resolved ages ago, sorry about that. Your solution sounds perfect. Kind Regards Niels Charlier On 28/11/12 10:05, Jody Garnett wrote: > I notice that the ReferencedEnvelope3D issue > (https://jira.codehaus.org/browse/GEOS-5148) is still marked as in

Re: [Geotools-devel] Regression introduced by ReferencedEnvelope3D work

2012-11-28 Thread Jody Garnett
Okay sorted out my next approach (for when the dimensions do not match): a) For ReferencedEnvelope3D -> transform to DefaultGeographic.WGS84_3D and drop down to WGS84 manually, and then transform to the target CRS b) For ReferencedEnvelope -> Transform to WGS84 and then and in NaN when manually c

Re: [Geotools-devel] Regression introduced by ReferencedEnvelope3D work

2012-11-28 Thread Jody Garnett
Yeah not very happy trying to pass the following test case - any suggestions? public void testTransformToWGS84() throws Exception { String wkt = "GEOGCS[\"GDA94\"," + " DATUM[\"Geocentric Datum of Australia 1994\"," + " SPHEROID[\"GRS 1980\", 6378137.

Re: [Geotools-devel] Regression introduced by ReferencedEnvelope3D work

2012-11-28 Thread Jody Garnett
I notice that the ReferencedEnvelope3D issue (https://jira.codehaus.org/browse/GEOS-5148) is still marked as in progress. Do you have anything to add to the discussion Niels? I do not want to step on your toes, but I also need to sort out a fix promptly. -- Jody Garnett On Wednesday, 28 Nov

[Geotools-devel] Regression introduced by ReferencedEnvelope3D work

2012-11-28 Thread Jody Garnett
TLDR: I have found a regression: The constructor ReferencedEnvelope( CoordinateReferenceSystem ) can now fail (previously it would always work). This change is introducing issues in downstream software (such as https://jira.codehaus.org/browse/GEOS-5474). Discussion: Andrea has commented o