<div dir="ltr"><div>Hi,<br><br></div><div>I have a couple of questions about the order of lattitude and longitude in WKT representations of geometries:<br></div><ol><li>Is there an objective reference that states in what order WGS84 (geographic) coordinates should be represented in a WKT? Is it lon, lat (because of x,y) or lat,lon (because it's geodetic) ?<br></li><li>Does postgis use the correct representation?</li><li>Is there a way to switch lat and lon for a polygon when representing as WKT? All i think of is looping through all points, switching x and y and then returning astext(g)<br></li></ol>Cheers,<br clear="all"><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Willy-Bas Loos<br></div></div>
</div></div></div></div></div>