11

I need to create a sector grid radiating out from a point of interest. Here is an example that I laboriously put together by hand:

enter image description here

I have found a couple of similar solutions in How to generate dartboard shapefiles using ArcGIS for Desktop? and Draw wind rose with QGIS from PostGIS but neither exactly fit my criteria.

Ideally I need each sector to be an individual polygon (for data analysis purposes) and to be able to create this overlay for different sites using parameters to control the number of sectors and radial distances.

Can anyone suggest or provide a means to generate these shapes in QGIS easily? I rather presume that this is a relatively common task so don’t want to go to great effort to reinvent the wheel but I am struggling to find a solution and being a complete newcomer it would take me a very long time to come up with a solution from scratch.

10

(Too long for a comment but thought this might be helpful in some way.)

There is a plugin called Proportional circles which allows you create a legend broken into x number of segments (polygons) with a radius you can specify. You can download this from the menubar:

Plugins > Manage and Install Plugins...

Center your canvas to your points then click the plugin icon to open the interface. Then go to Legend only:

Proportional circles interface

You might see something like below (the horizontal lines are also polygons) with labelling enabled:

Example

You can remove those 'lines' by identifying them from the Attribute Table in the SECT field where the value is an L:

Attribute Table

As a quick example, I created a new ID field from the Field Calculator using the expression $id to create unique values. I used this to create a categorised style and label the polygons:

Result

  • 1
    Thank you that is most helpful - I was certain there must be a "standard" method to do this and this fits the bill perfectly. – Andrew Little Sep 18 '17 at 13:27
  • @AndrewLittle - Most welcome! Glad it was helpful :) – Joseph Sep 18 '17 at 13:32
  • 1
    @Joseph I didn't know it, really nice effect. – mgri Sep 18 '17 at 14:09
  • @Joseph did the $id labeling method give the result u're showing ? Does that mean the plugin generate the objects in a given order ? What if we want to label the generated polygons using another logic ? – snaileater Sep 19 '17 at 9:34
  • 1
    U will notice that generated polygons of a same "slice" are overlaid. In Joseph's example Polygon 3 is overlaid with 2 which is overlaid with 1. Maybe that does'nt comply with Andrew's computation needs ... – snaileater Sep 19 '17 at 12:06

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.