[postgis-users] Lat/Long order of WKT Reader

Stephen Woodbridge woodbri at swoodbridge.com
Fri Nov 9 05:04:27 PST 2007


Rico Hauke wrote:
> Hi list,
> 
> I am using lat long coordinates in a EPSG 4326 reference system.
> Following this post, which really confused me,
> http://postgis.refractions.net/pipermail/postgis-users/2007-October/017453.html
> I wanted to ask, what the intended lat long order of the WKT Reader is?
> 
> Is it always POINT (X Y) which means POINT (<long> <lat>) or is the
> order defined by the reference system which says lat long and thus
> POINT (<lat> <long>) ?
> 
> Hope someone could clarify this.

POINT(X, Y) always takes (X, Y) which is (<long>, <lat>)

-Steve W



More information about the postgis-users mailing list