Hello all

The org.apache.sis.referencing.datum package is close to completion. More tests have been added. Next work will be coordinate systems (should be faster than datum).

Quick code snippet for those who are interested in distance calculations (more elaborated class will be provided later). First, one needs to choose his ellipsoid. The following example use WGS 84, but other ellipsoids (WGS 72, GRS 1980, International 1924, Clarke 1866) are also available. (?, ?) are the standards symbols for (longitude, latitude) respectively.

DefaultEllipsoid ellipsoid = DefaultEllipsoid.castOrCopy(GeodeticObjects.WGS84.ellipsoid());
double ?1 = 30, ?1 = -60;
double ?2 = 40, ?2 = -80;
double distance = ellipsoid.orthodromicDistance(?1, ?1, ?2, ?2);


    Martin

Reply via email to