[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgresql-general
Subject:    Re: [GENERAL] finding gps within polygon
From:       Michael Fuhr <mike () fuhr ! org>
Date:       2006-06-30 13:08:20
Message-ID: 20060630130820.GA72557 () winnie ! fuhr ! org
[Download RAW message or body]

On Thu, Jun 29, 2006 at 11:15:09PM -0400, blackwater dev wrote:
> Does anyone have a good tutorial on finding gps points within a polygon?  I
> need to be able to pass in a list of gps coordinates and let postgres return
> to me matching cities from my cities table that are within that polygon.

PostgreSQL has some basic geometry types and functions, but for
more advanced spatial work consider using PostGIS (an add-on to
PostgreSQL).  The documentation has a "Using PostGIS" chapter with
examples.

http://www.postgis.org/

-- 
Michael Fuhr

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic