On 13 June 2017 at 02:53, DelazJ <del...@gmail.com> wrote: > Btw, giving a deeper look to the help provided in the code, I wonder if > "geom_to_wkt(line_merge(geom_from_wkt('MULTILINESTRING((0 0, 1 1),(1 1, 2 > 2))')))" > and especially MULTILINESTRING((0 0, 1 1),(1 1, 2 2))') is a valid > multilinestring (a multipart feature whose parts already touch themselves). > Shouldn't it be two separate linestrings?
That's exactly what line_merge does - it takes a single multilinestring geometry and any touching parts are converted to a single connected linestring. > Also, in the application function help line_merge(geometry) should instead > be line_merge(geometry1, geometry2,.., geometry n), shouldn't it? No, because it takes just a single multilinestring input, not multiple inputs. Nyall _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user