Re: calculating distance between longitude and latitude - Mailing list pgsql-general

From Szymon Guz
Subject Re: calculating distance between longitude and latitude
Date
Msg-id AANLkTikOIvxvTTGkJ4JpegIQCfu4SPu7aglrKmnpUisI@mail.gmail.com
Whole thread Raw
In response to calculating distance between longitude and latitude  (Geoffrey <lists@serioustechnology.com>)
List pgsql-general


2010/6/9 Geoffrey <lists@serioustechnology.com>
Does postgresql have functions to calculate the distance between two sets of longitude and latitude.

--
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


Hi,
the simplest way is to use PostGis, all spatial functions are there.

regards
Szymon Guz 

pgsql-general by date:

Previous
From: Geoffrey
Date:
Subject: calculating distance between longitude and latitude
Next
From: björn lundin
Date:
Subject: Re: server crash => libpq poll() hangs forever (Linux)