Re: Latitude/Longitude data types and functions - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Latitude/Longitude data types and functions
Date
Msg-id 200407121903.i6CJ3lR01535@candle.pha.pa.us
Whole thread Raw
In response to Latitude/Longitude data types and functions  (CSN <cool_screen_name90001@yahoo.com>)
Responses Re: make install (in contrib) and PGDATA  (CSN <cool_screen_name90001@yahoo.com>)
List 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@postgresql.org)
>

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

pgsql-general by date:

Previous
From: CSN
Date:
Subject: Latitude/Longitude data types and functions
Next
From: Brian Hirt
Date:
Subject: Re: (Again) Datacorruption using 7.4.2 on XFS/raid1