Have we moved anywhere on this? I came across what I am pretty sure is
the same issue. I am ending up with a stack overflow with a call to:
CoordinateOperationFactory#createOperation()
This is currently a blocker for GEoserver 1.6.0-beta1 release.
-Justin
Andrea Aime wrote:
> Andrea Aime ha scritto:
>> Andrea Aime ha scritto:
>>> Andrea Aime ha scritto:
>>>> Hi,
>>>> I'm trying to debug an infinite loop triggered when
>>>> trying to find a math transform from EPSG:32632 to EPSG:4326,
>>>> with first axis forced as longitude thru a system property.
>> Quick way to reproduce the stack overflow:
>>
>> public static void main(String[] args) throws Exception {
>> System.setProperty("org.geotools.referencing.forceXY", "true");
>> CoordinateReferenceSystem crs1 = CRS.decode("EPSG:32632");
>> CoordinateReferenceSystem crs2 = CRS.decode("EPSG:4326");
>> System.out.println(CRS.findMathTransform(crs1, crs2));
>> }
>
> Oh well, I give up, the code has such an number of indirections and SPI
> lookups that I can't follow it not even with a debugger. I only spotted
> a few things:
> * in 2.4 the BufferedCoordinateOperationFactory uses an
> AuthorityBackedFactory that in turns uses a LongitudeFirstFactory using
> a OrderAuthorityFactory which in the end uses the FactoryOnHSQL
> * in 2.3 under the same conditions the
> BufferedCoordinateOperationFactory uses an AuthorityBackedFactory
> using a DefaultFactory using a FactoryUsingSql
> * in 2.4 the coordinate operation gets created fromlat/lon crs and
> apparently a tentative to replace it with one that uses lon/lat
> instead fails and this triggers the loop (that is, the replacement
> still uses lat/lon...)
>
> Cheers
> Andrea
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
> !DSPAM:1004,45cb6808230727731818748!
>
--
Justin Deoliveira
[EMAIL PROTECTED]
The Open Planning Project
http://topp.openplans.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel