[Qgis-user] connecting pairs of points with a line

benoit-3 at bc-consult.com benoit-3 at bc-consult.com
Fri May 18 07:12:17 PDT 2012


  

On 18.05.2012 17:02, M.E.Dodd wrote: 

> Is there a way of
connecting pairs of points and displaying the result as a map. The
Points2one plugin almost does this but it joins them all up into a
polygon (even with lines selected), what I want is to have each pair
connected by a separate line. It would seem that this plugin should do
it but I can't persuade it to.

Points2One is indeed great for this!


But, you may want to prepare your file by adding unique IDs for each
pair of points. 

e.g. 


X,Y,ID
1,1,Line1
1,2,Line1
2,1,Line2
2,2,Line2
... 

Then select
'Lines', check 'Create output features based on input field' and select
the ID field (in the example above). 

HTH,
Benoit 

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


More information about the Qgis-user mailing list