Re: storing latitude and longitude

From: Ismael Almaraz Ezparza <ismaelpsp(at)hotmail(dot)com>
To: mark <markkicks(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: storing latitude and longitude
Date: 2008-07-10 18:18:10
Message-ID: BLU103-W606B3C9232B3F785D46FFAA3910@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Sorry I'm not of much help but...
did you check the data types page?
http://postgresql.mirrors-r-us.net/docs/8.2/interactive/datatype-geometric.html
http://postgresql.mirrors-r-us.net/docs/8.2/interactive/datatype-numeric.html

That mainly depends on how many digits you need to store, if that's not
enough you can always use the NUMERIC data type or create your own...

----------------------------------------
> Date: Thu, 10 Jul 2008 10:25:19 -0700
> From: markkicks(at)gmail(dot)com
> To: pgsql-general(at)postgresql(dot)org
> Subject: [GENERAL] storing latitude and longitude
>
> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general

_________________________________________________________________
Juega y gana, tenemos 3 Xbox a la semana.
http://club.prodigymsn.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2008-07-10 18:34:54 Re: apache permission denied
Previous Message Chris Cosner 2008-07-10 18:07:31 apache permission denied