Re: locating cities within a radius of another

From: Oliver Kohll - Mailing Lists <oliver(dot)lists(at)gtwm(dot)co(dot)uk>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: locating cities within a radius of another
Date: 2010-07-22 09:02:47
Message-ID: 46CE156D-001C-4F25-ABEC-6CC5AD9A4BBD@gtwm.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 21 Jul 2010, at 23:14, Joe Conway <mail(at)joeconway(dot)com> wrote:

> If you want something simple, and not requiring PostGIS, but plpgsql
> instead, see:
>
> http://archives.postgresql.org/pgsql-sql/2003-12/msg00193.php

For completeness, the earthdistance module also provides the distance between two lat/longs, the point<@>point syntax is simple to use:
http://www.postgresql.org/docs/8.3/static/earthdistance.html

Regards
Oliver Kohll

oliver(at)agilebase(dot)co(dot)uk / +44(0)7814 828608 / skype:okohll
www.agilebase.co.uk - software

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2010-07-22 11:10:53 Re: Passing a PGconn * between two processes on Unix like systems
Previous Message Magnus Hagander 2010-07-22 08:56:30 Re: Passing a PGconn * between two processes on Unix like systems