[postgis-users] Change default "canonical form" of spatial objects

Gustavo Henrique Sberze Ribas gribas at cpqd.com.br
Tue Mar 22 14:53:23 PST 2005


Hello,

  Is it possible to change the "canonical form" of spatial
objects in an uncomplicated way? :)
  The current form is HEXEWKB for ascii and I'd like it to
be EWKT. I mean, I'd like the following statements to 
produce the same output: 
  
  - SELECT geom FROM table;
  - SELECT AsEWKT(geom) FROM table;

  I'm currently running PG 7.4.6 with PostGIS RC2.

Thanks,




More information about the postgis-users mailing list