[Qgis-user] Join multiple Linestrings to single Linestring

Richard McDonnell richard.mcdonnell at opw.ie
Wed Apr 19 01:09:46 PDT 2017


Benjamin,
You could try Dissolve, under Geoprocessing Tools, alternatively you 
could try saving the dataset locally as a shapefile, edit using either 
of the methods you outlined below, In relation to saving the edits back 
to the table as linestring, use the DB Manager tool, select the table 
you wish to update, tick the options you want, making sure both *Replace 
destination Table (if exists) *and*Create single-part geometries instead 
of multi-part* This has worked for me in the past, admittedly for 
polygons, but it should also work for linestrings.

Hope this helps,

Richard.

On 18/04/2017 17:24, David J. Bakeman wrote:
> On 04/18/2017 02:17 AM, Fuenfer-Koenigstein.Benjamin at swm.de wrote:
>> Hi there,
>>
>> I want to merge multiple linestrings with same start/endpoint to a single linestring (all lines within one layer). As I use a PostGIS source with geometry type linestring, it is important that the new geometry is still linestring and not multilinestring type. "Merge selected features" tool and "JOIN" in QAD-Plugin both create multilinestrings. Has anyone an idea how to directly merge into linestring or how to change geometry type after merging? Thanks for your suggestions!
> I'm not sure I completely understand what you want but you could run
> multipart to singleparts from the Vector/Geometry Tools menu on the
> multilinestring layer to generate a layer with just linestrings.
>> Best regards
>>
>> Benjamin
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
*_Richard McDonnell_*
*GIS Specialist PgD GIS AssocSCSI*
*OPW FRM Data Management*
*52 Stephens Green, Dublin 2.*
TEL: 01 6476543

OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past

***********************************************************
Email Disclaimer: http://www.opw.ie/en/disclaimer/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170419/5606f911/attachment.html>


More information about the Qgis-user mailing list