[postgis-users] very inaccurate distance using "distance_spheroid" on geometric coordinates

Paul Ramsey pramsey at refractions.net
Thu Oct 18 09:06:40 PDT 2007


ST_Distance_Sphere and ST_Distance_Spheroid return in meters, not  
kilometers, so they think the distance is about 495km.  What makes  
you so sure that's wrong? I checked in a transformed projection and  
got a similar result also.

On 18-Oct-07, at 7:19 AM, hzerres at aol.com wrote:

>  id |       astext
> ----+---------------------
>   1 | POINT(50.783 6.083)
>   2 | POINT(48.833 10.1)




More information about the postgis-users mailing list