Re: storing latitude and longitude

From: "Brent Wood" <b(dot)wood(at)niwa(dot)co(dot)nz>
To: <markkicks(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: storing latitude and longitude
Date: 2008-07-10 22:16:16
Message-ID: 487732F10200007B00013FD0@gwia1.ham.niwa.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Postgres database.

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

Cheers,

Brent Wood

>>> mark <markkicks(at)gmail(dot)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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gregory Williamson 2008-07-10 22:33:07 Re: storing latitude and longitude
Previous Message Chris Cosner 2008-07-10 20:44:38 Re: apache permission denied