Christian Weaves ha scritto: > Hi folks, > > Wonder if you can help.... I have a shapefile which has the following > projection: Clarke_1866_Lambert_Conformal_Conic.
This is not enough to define the projection. Don't you happen to have the full definition of it? > Is there a way of easily converting the feature geometry to decimal > degrees? When I read the coordinates of a feature using: > > . > . > Geometry geometry = feature.getDefaultGeometry(); > Coordinate[] coordinates = geometry.getCoordinates(); > . > . > > I am getting latitude/longitude values like > 7405084.173229428/346954.9647331293 which I am unfamiliar with, I'd be > much more comfortable with decimal degrees. What you're getting is probably meters or feet, not lon/lat. If you need the latter, you'll have to reproject the geometry from lambert to wgs84 or something similar (there is no single lon/lat for a point, it depends on what datum you have to provide the coordinate against). It's definitely doable, but you're missing a lot of information... Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
