From: hiver.sanglant <hiv...@vo...> - 2008-04-08 07:29:00
|
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! |