[postgis-users] Merging 2 Linestring to get another Linestring

Kevin Neufeld kneufeld at refractions.net
Thu Jan 10 09:16:23 PST 2008


What do you get when you try :

SELECT AsText(ST_LineMerge(ST_Collect(the_geom)))
FROM admin.plz
WHERE gid = 15 OR gid = 16;

-- Kevin

Andreas Neumann wrote:
> ... 
> Here is my second SQL:
>
> SELECT gid,AsText(the_geom) FROM admin.plz WHERE gid = 15 OR gid = 16;
>
> Result: MULTILINESTRING(...)
>   




More information about the postgis-users mailing list