Re: Points, Circles, Indexes, and query-by-Radius? - Mailing list pgsql-general

From Tom Lane
Subject Re: Points, Circles, Indexes, and query-by-Radius?
Date
Msg-id 13886.996786243@sss.pgh.pa.us
Whole thread Raw
In response to Points, Circles, Indexes, and query-by-Radius?  (Bryan Field-Elliot <bryan_lists@netmeme.org>)
List pgsql-general
Bryan Field-Elliot <bryan_lists@netmeme.org> writes:
> I'm developing a GIS system on PostgreSQL.  I need to store a table of
> points (latitude and longitude), and do queries such as "return all
> points enclosed with the given circle ((X,Y),R)".

You might care to look at

http://postgis.refractions.net/postgis-0.5.1.tar.gz

and see if you're not reinventing the wheel.

            regards, tom lane

pgsql-general by date:

Previous
From: "Jim Ballard"
Date:
Subject: Timestamp with time zone issue
Next
From: elwood@agouros.de (Konstantinos Agouros)
Date:
Subject: 'group by day' possible?