select ST_Ashexewkb(the_geom, 'NDR') from loadedshp; select ST_Ashexewkb(the_geom, 'XDR') from loadedshp; select ST_Asewkt(the_geom) from loadedshp;