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

Paul Ramsey pramsey at opengeo.org
Sun Apr 15 13:19:52 PDT 2012


On Fri, Apr 13, 2012 at 2:56 PM, Jose Carlos Martinez Llario
<jomarlla at cgf.upv.es> wrote:
> Hi list,
> st_astext is using Z, ZM as a suffix. st_asewkt is not.
> Is this the expected behaviour?

Yes, it is.

P.

>
> 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)
>
> Thanks,
> Jose
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list