1

I have a table that contains georeferenced points, a bunch of other information and a parent for each point. So let's say the unique identifier is name in the table, each record also has a parent name.

Using QGIS I want to create a layer containing a line between each point and its parent and be able to change the line colour based on some of the other information in the record. I think I can do the line colour easily but automatically generating the table with the lines is something I am hoping someone can help me with.

2

1 Answer 1

1

In the plugin MMQGIS go Create->Hub Lines. This joins lines between points and hubs (parents) as seems to be your use-case. You may have to separate out the hubs and 'spoke-points' into two separate shapefiles. See a more detailed description here.

4
  • I am hoping this will work. Just running now and has been going for about 45 minutes. Any tips on how to speed it up? The layers are shapefiles, but maybe some other format or some settings may help this go faster?
    – user105727
    Commented Oct 10, 2017 at 18:08
  • Still going about 8 hours later. Hoping there is something that can speed up the processing.
    – user105727
    Commented Oct 11, 2017 at 1:43
  • How many points do you have? Commented Oct 11, 2017 at 6:43
  • I have 130,000 points
    – user105727
    Commented Oct 11, 2017 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.