Hi !

I'm in trouble with Geotools...
I'm doing the follwing things:

CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:4326"); // WGS84
CoordinateReferenceSystem targetCRS = CRS.decode("EPSG:27572"); // 
Lambert2Etendu
// The problem is in the following line
MathTransform transform = CRS.findMathTransform(sourceCRS, targetCRS); 
com.vividsolutions.jts.geom.Geometry jtsTargetGeometry = 
JTS.transform(jtsSourceGeom, transform);

And i get the following error:
OperationNotFoundException : relation of prime meridian not yet implemented

How could i fix this problem? Please help me, i have no clues.
Thanks in advance!

PS:
if i write "CRS.findMathTransform(sourceCRS, targetCRS, true)" there's no error 
but the transformation is false!



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to