Tuesday 30 January 2018

qgis - How to create a line in a given distance to an existing one?


I am looking for a possibility to create a second line in a given distance to an existing line. The existing line is curved, so simply create parallel line segments with CAD tools will not work.


Any solutions?


Addendum:



I mapped vegetation types in the surroundings of small streams. The vegetation types have to be displayed on the map as stream-accompanying lines, parallel to the water bodies. So the second line (vegetation) has different properties compared to the first line (stream) and is a feature of a different shapefile.


The solution I found yet is to create buffers around the streams and to trace their borders, but it is time-consuming.



Answer



Not sure if I fully understand the question, but GRASS v.parallel from the amazing Sextante toolbox will create parallel lines (in a new shapefile). You'll probably want to use the same value for the offset along the major axis as you use for the offset along the minor axis.


N.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...