Use Arrows style instead of Simple Line style.
For example, these lines with Simple Line style:
look like this with Arrow style:
You can turn off the arrow heads by setting the head width and length to 0.
As you can see, the straight line becomes a straight arrow, while the lines with a middle vertex become curved arrows. The placement of the middle vertex determines the curve of the arrow.
To convert your straight lines to curved arrows, you'll need to add a middle vertex to every line, and then offset that vertex enough to generate a curved arrow.
Use the Geometry Generator style with Geometry type: Linestring. This expression will create a line with a midpoint 200 distance units to the east and north of the original midpoint of the line.
make_line( start_point( $geometry), translate( centroid( $geometry), 200,200), end_point($geometry))
Change the line to display as an Arrow style. Adjust the centroid offset values in the geometry generator expression until you're happy with the shape of the arrows. If you want, you can make them proportional to the length of the original line, eg $length/10
. The full expression would be:
make_line( start_point( $geometry), translate( centroid( $geometry), $length/10, $length/10), end_point($geometry))
Here's what it looks like, with the original lines in pink and the geometry-generated arrows in black:
If you aren't satisfied with the line midpoint placement, you can adjust them manually. First, convert the geometry generated line style into an actual layer. Copy the expression from the geometry generator into the geometry by expression
tool (Processing toolbox). Then use the Vertex Tool (Digitizing toolbar) to manually move the vertices.
Note: This answer was made with QGIS 3.4.
If you have a column in your attribute table which specifies the distance between the parallel lines then the following method should be able to do it in one go -
You can use the Single sided buffers (and offset lines) for lines
algorithm under GDAL/OGR > [OGR] Geoprocessing
in the Processing toolbox. You will need to set the Operation as Offset Curve and enter the name of the column containing the distance in Buffer distance (In my case the name of the column is width). Also you can set which side of the line the parallel line should be drawn by selecting Buffer side as right or left.
Best Answer
I Think Points2One is the easiest way to connect points with lines but this plugin is not adopted QGIS3 yet. U can try this steps in QGIS command panel. It works for me.
To create polygons from points,you can also use
1) "points to path", then
2 ) "lines to polygons"
3 ) "polygons to lines" tools without need to install any plugin.
Hope points2One plugin adopt Qqis3 quickly.