From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | peterlen <peteralen(at)earthlink(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Format of Pioint datatype.... lat/long or long/lat?? |
Date: | 2013-12-31 21:06:55 |
Message-ID: | 52C331EF.2030006@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/31/2013 12:45 PM, peterlen wrote:
> PostgreSQL has a geometric data type of "point". The format is listed as (x,
> y) but I am not sure if the X is to represent latitude or longitude. I have
> seen different systems that us X for either. Typically, coordinates should
> be read as lat/long but I have seen the opposite as well. An example in the
> help docs listed a point coordinate as x= longitude and y=latitude. Can
> someone clarify what the postgres standard is? What this will come down to
> is how built-in geospatial functions will interpret the point value.
Well the point data type is just that a point with x, y coordinates. The
concept of longitude and latitude are higher order defined other systems
that use the point type as a building block, i.e. Postgis. So which help
docs did you see the x= longitude and y=latitude statement?
>
> Thanks - Peter
>
>
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Format-of-Pioint-datatype-lat-long-or-long-lat-tp5784939.html
> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>
>
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2013-12-31 21:09:54 | Re: Format of Pioint datatype.... lat/long or long/lat?? |
Previous Message | Adrian Klaver | 2013-12-31 20:57:20 | Re: pg_upgrade & tablespaces |