<p dir="ltr">Google the function st_astext . Should do what you want. Alternatively you can use st_x and st_y.</p>
<p dir="ltr">Cheers</p>
<p dir="ltr">//JDS</p>
<div class="gmail_quote">On 14 Jul 2014 22:02,  <<a href="mailto:evan@pwwinc.net">evan@pwwinc.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-family:Arial,sans-serif;font-size:10pt"><font style="font-family:Arial,sans-serif">Hello,</font><div style="font-family:Arial,sans-serif"><br></div><div><font face="Arial, sans-serif"><font>I am attempting to store some gps coordinates that i collected for a geospatial db in precision ag.  I created a table with a geometry column called "Coordinates"  using the command </font>"Coordinates" geometry(Point,4326).  I then populated the column using the command ST_SetSRID(ST_MakePoint(-89.53580,44.12101), 4326));</font></div>
<div><font face="Arial, sans-serif">This populates the coordinate table with a string in WKB.  Is there a way I can covert the output values of the entire column from WKB to the raw lat,lon values.  I have tried the alter table command    <span style="background-color:rgb(247,247,247)">ALTER TABLE "Customers"ALTER COLUMN "Coordinates" TYPE geometry(St_AsLatLonText), 4326));  but with no luck. </span></font></div>
<div><font face="Arial, sans-serif"><span style="background-color:rgb(247,247,247)"><br></span></font></div><div><font face="Arial, sans-serif"><span style="background-color:rgb(247,247,247)">Im relatively new to sql and postgres,  I would certainly appreciate any help.</span></font></div>
<div><font face="Arial, sans-serif"><span style="background-color:rgb(247,247,247)"><br></span></font></div><div><font face="Arial, sans-serif"><span style="background-color:rgb(247,247,247)">Thanks!</span></font></div><div>
<font face="Arial, sans-serif"><span style="background-color:rgb(247,247,247)">Evan</span></font></div></div><br>_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a><br></blockquote></div>