<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>This is a job for the vector field marker type. If this is just for the display of your data you don't need to create line geometries at all.</p>
<p>Just import your CSV data and use the from coordinates as your point data. Then choose simple renderer and use the vector field marker - select "cartesic" as vector field type and the "to" x/y columns coordinates in the x/y attributes. which will display lines between from that you can style however you want.</p>
<p>The only thing you have to take care then is to change the absolute coordinates into relative coordinates - e.g. by using a new column (best calculated as a virtual field, so you don't have to deal with updating the values).</p>
<p>Hope this helps,</p>
<p>Andreas</p>
<p> </p>
<p>On 2016-01-06 21:08, Joris Hintjens wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hello,<br /> I'm lost.<br /> I have a list of movements. A table with (among others) a column "FROM"  and a column "TO" (both containing coordinates)<br /><br /> How can I import this in QGIS so that I have a bunch of lines going from FROM to TO?<br /><br /> thanks for your comments<br /><br /> Joris<br /><br /> _______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>