[Qgis-user] Import lines from cvs

Neumann, Andreas a.neumann at carto.net
Wed Jan 6 23:29:51 PST 2016


 

Hi, 

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. 

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. 

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). 

Hope this helps, 

Andreas 

On 2016-01-06 21:08, Joris Hintjens wrote: 

> Hello,
> I'm lost.
> I have a list of movements. A table with (among others) a column "FROM"  and a column "TO" (both containing coordinates)
> 
> How can I import this in QGIS so that I have a bunch of lines going from FROM to TO?
> 
> thanks for your comments
> 
> Joris
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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


More information about the Qgis-user mailing list