[OSRS-PROJ] Distance between two projected points of the same grid.

Gerald I. Evenden gerald.evenden at verizon.net
Wed Oct 22 09:55:11 EDT 2003


Distance calculation from grid coordinates is not recommended unless over
short distance and when scale factor is included.

Geodesic (great circle) distances require special programs.  There is a
geodesic program 'geod' in the older PROJ.4 releases but I recomment
using Vincenty's algorithm;

http://www.ngs.noaa.gov/PC_PROD/Inv_Fwd/

This site has MS procedures, FORTRAN source code and Vincenty's
paper published in Survey Review.

Again, check the above web site; it has everything one could want.

On Wednesday 22 October 2003 09:15 am, Omry Yadan wrote:
> How do I calculate the distance between two points in the same projection
> grid?
> Basically what I am asking is if all projection types are Cartesian, and if
> not, if Proj provides an API to calculate he the distance between two
> points.
> ----------------------------------------
> PROJ.4 Discussion List
> See http://www.remotesensing.org/proj for subscription, unsubscription
> and other information.

----------------------------------------
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.



More information about the Proj mailing list