Hi Eric, I think the answer is no, you can only guess it. Where did the given Geometry come from?
Andy http://www.geog.leeds.ac.uk/people/a.turner/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Lemoine Sent: 22 May 2007 13:50 To: geotools-gt2-users@lists.sourceforge.net Subject: [Geotools-gt2-users] get coordinate system from geometries Hello gt2 users, Given a geometry (com.vividsolutions.jts.geom.Geometry) can I get the associated EPSG code to ultimately get a CoordinateReferenceSystem object? FYI, I'm trying to reproject geometries which I don't know the current coordinate system. That's why I'm trying to get the current coordinate system from the geometres themselves. Please tell me if I'm going the wrong way... Thanks, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [EMAIL PROTECTED] http://www.camptocamp.com ------------------------------------------------------------------------ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users