This is exactly what I mean :-) This value is however always set to null with the few shapefile I have tested (like for instance the world_borders.zip that can be found here http://www.mappinghacks.com/data/) Is there another way to retrieve it ? Isn't it included in the shapefile standard ? Ben
Le 19 avr. 2010 à 16:10, Simon Hartley a écrit : > ShapefileDataStore.getSchema().getGeometryDescriptor().getCoordinateReferenceSystem(); > > Is this what you mean? > > Simon > > -----Original Message----- > From: Benoît Thiébault [mailto:[email protected]] > Sent: 19 April 2010 15:00 > To: geotools users > Subject: [Geotools-gt2-users] Retrieving Geographic Coordinates System from > shapefile > > Hi everyone, > > I would like to know if the coordinates system (WGS84, RF93, etc.) in which > the coordinates of a shapefile are expressed can be retrieved either from the > ShapefileDatastore or from the file itself. I know that if the data stored is > projected a .prj file is provided with the shapefile, but for geographical > coordinates, I don't know where to get the information. > > Thank you > Ben > > *** This communication has been sent from World Fuel Services > Corporation or its subsidiaries or its affiliates for the intended recipient > only and may contain proprietary, confidential or privileged information. > If you are not the intended recipient, any review, disclosure, copying, > use, or distribution of the information included in this communication > and any attachments is strictly prohibited. If you have received this > communication in error, please notify us immediately by replying to this > communication and delete the communication, including any > attachments, from your computer. Electronic communications sent to or > from World Fuel Services Corporation or its subsidiaries or its affiliates > may be monitored for quality assurance and compliance purposes.*** > > > ---- Benoît Thiébault Artenum - Science & Groupware http://www.artenum.com 24, rue Louis-Blanc, 75010 Paris tel/fax : +33 (0)1 46 94 67 54 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
