QGIS – Creating Line Layer from Point to Point CSV File

csvlineqgis

My question is probably a basic QGIS question but I could not find something that would work for me.

I have a file of the following format:

CSV File Format

where each from/to is a point that is already inserted to QGIS (point layer)

QGIS with points

How do I insert the lines' data from the CSV file to QGIS?

Best Answer

In previous answer I completely forget to check plugins first which you should always do because there are really many good ones and for this particular case you want to use:

PointConnector

Creating lines between points following a from-to list

You can install it through Plugins / Manage and install Plugins...

Related Question