[postgis-users] st_linemerge not working with 4d coords

Paolo Importuni imppao at gmail.com
Thu May 8 06:38:00 PDT 2014


Hi everybody,

I am trying to merge two linestring like in the following example:

select st_astext(st_linemerge(st_collect(ST_GeomFromEWKT('LINESTRING(5 5 5
5, 10 10 10 10)'),ST_GeomFromEWKT('LINESTRING(10 10 10 10 , 15 15 15
15)'))));


but the output is
"LINESTRING Z (5 5 5,10 10 10,15 15 15)"

that is,  the 4th dimension is lost.

Can anyone please explain  me the reason  and how to overcome this problem?

Thanks and best regards

Paolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140508/3b73cd4c/attachment.html>


More information about the postgis-users mailing list