[postgis-users] RV: Distance Function

Mark Cave-Ayland m.cave-ayland at webbased.co.uk
Wed Aug 18 02:34:42 PDT 2004


> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net 
> [mailto:postgis-users-bounces at postgis.refractions.net] On 
> Behalf Of Nicolas RIBOT
> Sent: 18 August 2004 09:24
> To: PostGIS Users Discussion
> Subject: RE: [postgis-users] RV: Distance Function
> 
> 
> Hello Brigitte,
>  
> I think that the distance function works only on cartesian 
> coordinates. For geographic coordinates, the best way is to 
> reproject them in a projected coordinate system and then to 
> measure the distance.
>  
> Nicolas 


Hi Brigitte,

You should also be able to calculate the difference between two points
using the distance_spheroid() function (see
http://postgis.refractions.net/docs/x956.html for more information).


Kind regards,

Mark.

---

Mark Cave-Ayland
Webbased Ltd.
Tamar Science Park
Derriford
Plymouth
PL6 8BX
England

Tel: +44 (0)1752 764445
Fax: +44 (0)1752 764446


This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.





More information about the postgis-users mailing list