Re: Latitude/Longitude data types and functions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: CSN <cool_screen_name90001(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Latitude/Longitude data types and functions
Date: 2004-07-12 19:03:47
Message-ID: 200407121903.i6CJ3lR01535@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Didn't /contrib/earthdistance help?

---------------------------------------------------------------------------

CSN wrote:
> I looked through the docs and contrib, but didn't see
> anything related to storing and using latitude and
> longitude values. I have data in the form of 12 34'
> N, 12 34' W.
>
> Would any of the geometric data types work well for
> this type of data? Or just convert them to decimals?
> Are there any functions for converting lat/long
> to/from decimals/DDMMSS NSEW?
>
> Thanks
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tony Reina 2004-07-12 19:11:01 Can connection pointer be obtained from PGresult?
Previous Message CSN 2004-07-12 18:52:59 Latitude/Longitude data types and functions