[postgis-users] LineJoiner

Nicolas Ribot nicolas.ribot at gmail.com
Wed Jul 24 07:39:59 PDT 2013


Hi,

You could use st_linemerge on the line dataset, first collecting it
into a multilinestring then dumping the result into elementary
linestrings:

select (st_dump(st_linemerge(st_collect(geometry)))).geom from line;

Nicolas

On 24 July 2013 16:10, Andreas Neumann <a.neumann at carto.net> wrote:
> Hi,
>
> I am looking for a functionality like the FME LineJoiner (see
> http://docs.safe.com/fme/2010/html/FME_Transformers/content/transformers/linejoiner.htm)
> inside Postgis.
>
> Is there anything similar available that would sew together LINESTRING
> geometries until they hit a node?
>
> Thanks for any hit,
> Andreas
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


More information about the postgis-users mailing list