Jairo de Almeida a écrit :
> hi, is possible to work with the class Ellipsoid in geotools 2.5.1
> i have the values semi major axis, Eccentricity and flattening os ellipsoid
> i need to calculate the distance of two points.
> but this distance has to calcutate in meters,
> how I could calculate the coordinates passed to the method would be in
> radians?
This is called "orthodromic distance". Input are (longitude, latitude) in
decimal degrees. Output is length on a great circle arc, in metres.
The DefaultEllipsoid class provides a method for computing orthodromic
distances. For more elaborated calculation, you may look at GeodeticCalculator.
Martin
