[postgis-users] distance between two POINTM

Michael Fuhr mike at fuhr.org
Sun May 13 15:13:58 PDT 2007


On Sun, May 13, 2007 at 03:51:54PM -0600, Michael Fuhr wrote:
> On Sun, May 13, 2007 at 03:04:39PM -0600, Michael Welter wrote:
> > select distance_sphere(GeomFromEWKT('SRID=4269;POINTM(-105.32395 
> > 39.50163 2563)'),GeomFromEWKT('SRID=4269;POINTM(-105.30166 39.53806 
> > 2487)'));
> 
> These points appear to be along US285 in the vicinity of Conifer, CO.
> Might your GPS be measuring driving distance instead of straight-line
> distance?

When I measure the distance between these points using line segments
of US285 I get just about 5200m, which agrees with the distance
your GPS reports.

-- 
Michael Fuhr



More information about the postgis-users mailing list