[postgis-users] st_astext and st_asewkt with z and m

Jose Carlos Martinez Llario jomarlla at cgf.upv.es
Fri Apr 13 14:56:00 PDT 2012

Hi list,
st_astext is using Z, ZM as a suffix. st_asewkt is not.
Is this the expected behaviour?

select st_astext(geom), st_asewkt(geom) from (select 'POINT (0 0 
0)'::geometry) as tabla(geom);
     st_astext    |  st_asewkt
  POINT Z (0 0 0) | POINT(0 0 0)


More information about the postgis-users mailing list