1

Market Radius

I'd like to calculate the distances for all competitors to a proposed operation within a certain radius. Layers are:

  • Competitors
  • Possible Competitors
  • Subject Property
  • Market Radius

Ultimately, I want to be able to add a "weight" to each competitor based on distance from the subject property (red spot in the center of the radius).

Any thoughts?

I'm working in QGIS.

1 Answer 1

1

Assign all competitors an attribute and give it all the same value. Assign this same attribute with the same value to your subject property. Then you will be able to use hublines to connect each Competitors to the subject property using subject property as hub layer with and Competitors or Possible Competitors as Spoke Layer. You will then be able to measure the length of those lines. To do so create an attribute for each line called distance and input $length as expression. Once that is done you can join the length attribute back to their corresponding points using join attributes by field value.

4
  • Thank you for the suggestion. I'll give it a try. Nov 25, 2019 at 17:20
  • Is hublines a plug-in. I can't find it under Vector Analysis. Sorry for such simple questions. I'm relatively new to QGIS. Nov 25, 2019 at 19:00
  • you can find it in the processing toolbox. it is called Join by lines (hub lines). You can open up the processing toolbox using CTRL+Alt+T
    – B-C B.
    Nov 25, 2019 at 19:22
  • I really appreciate your help. Nov 25, 2019 at 19:46

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.