Hello

my purpose is to get a list of projection systems described in a WKT format (so 
using gt-epsg-hsql-2.6.3) ;
and then to use these WKT representations to achieve tranformations using only 
the library gt-referencing-2.6.3.jar

to get these WKT strings I use the following code :



CoordinateReferenceSystem crsSrc = 
ReferencingFactoryFinder.getCRSAuthorityFactory("EPSG", 
null).createCoordinateReferenceSystem(EPSG);

and then crsSrc.toWKT() gives the WKT specification for EPSG

I took 3 WKT representations for respectively EPSG = "EPSG:4326", EPSG = 
"EPSG:2056" and EPSG = "EPSG:27572"
then I created for each one a CoordinateOperationFactory object to carry out 2 
transformations :
one from 4326 to 2056 (Switzerland) et the other from 4326 to 27572 (France) 
using the WKT strings

I noticed that the WGS84 to Swiss transformation is correct, 
while the WGS84 to French transformation generates an error saying that 
Bursa-Wolf parameters are required ;

I would like to know how to sort out this problem as I need accurate results
and I cannot afford to use the following code involving some transformation 
errors:

CRS.findMathTransform(crsSrc, crsDest, true) 

is it possible to get Bursa-Wolf parameters in each WKT representation ?

thanks a lot

Jean-Marie
                                          
_________________________________________________________________
Installez gratuitement les nouvelles Emoch'ticones !
http://www.ilovemessenger.fr/emoticones/telecharger-emoticones-emochticones.aspx
------------------------------------------------------------------------------

_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to