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.

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.

  • 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? – JoLi Oct 10 '17 at 18:08
  • Still going about 8 hours later. Hoping there is something that can speed up the processing. – JoLi Oct 11 '17 at 1:43
  • How many points do you have? – MappaGnosis Oct 11 '17 at 6:43
  • I have 130,000 points – JoLi Oct 11 '17 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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