Re: storing latitude and longitude - Mailing list pgsql-general

From Brent Wood
Subject Re: storing latitude and longitude
Date
Msg-id 487732F10200007B00013FD0@gwia1.ham.niwa.co.nz
Whole thread Raw
In response to storing latitude and longitude  (mark <markkicks@gmail.com>)
List pgsql-general
Hi Mark,

Look at Postgis, to do this properly. It adds full OGC spec support for managing spatial/querying spatial data within a
Postgresdatabase. 

It is an option included with the Windows Postgres installer, but is generally extra packages under Linux.


Cheers,

   Brent Wood


>>> mark <markkicks@gmail.com> 07/11/08 5:34 AM >>>
hi..
i want to store latitude and longitude in a users table.. what is the
best data type to use for this? i want to be able to find use this
info to find users within a distance..
how do i go about doing this?
thanks

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


pgsql-general by date:

Previous
From: Chris Cosner
Date:
Subject: Re: apache permission denied
Next
From: "Gregory Williamson"
Date:
Subject: Re: storing latitude and longitude