On Tue, 2007-05-22 at 22:20 +0200, Eric Lemoine wrote: > Let me ask another question: I read my shapefile using > ShapefileDataStore and stuff, now how can I get the coordinate system > used in that shapefie? If you mean the Coordinate Reference System, that will depend on the file in the shapefile group that ends in .prj I'm not certain what the allowable formats are for that file but a simple WKT string works. For example, if you have GPS data, you can generate a WKT string from the CRS class, put in in a file, rename the file shapefilename.prj and use that directly to reference your data. If your shapefile cluster doesn't have that data, then you'll have to guess the Reference System according to the contents.
--adrian ------------------------------------------------------------------------- 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