2

I have residential density (number of dwellings/area) data for several areas. I want to create a density map using hexagonal grids. I have extracted the hexagonal grids according to the area extent using the mmqgis plugin and Select by Location tool. Now I am stuck with combining the density data to the hexagon layer.

Screenshot of My data:

enter image description here

The hexagonal grids that I have created:

Hexagon

Now I want to plot the Residential Density Data to on the hexagonal grid map.

One possible way can be to create a dot density map from the density layer and manually replace the dots in a point feature and use the Count Points in Polygon tool. But this will be very inefficient. Is there any better way?

6
  • 1
    Can you add a screenshot? As the question is written, I don't understand what exactly you want to do.
    – Babel
    Commented Oct 23, 2021 at 19:57
  • @Babel, I have added screenshots. Hope these are helpful.
    – Padmanabha
    Commented Oct 24, 2021 at 4:59
  • 1
    How does your density data look like? Is it points or polygons? FYI you can create a grid in QGIS with "Create Grid", MMQGIS is not needed for that anymore. Commented Oct 24, 2021 at 7:50
  • Still not sure how you want to connect the density data to the grid. The attribute table you added contains no. of residents and area, so probably it's a polygon layer? The grid cells are much smaller then the polygons? So several neighboring cells will get the same value? Can you share your data - or at least a sample of it - even dummy data?
    – Babel
    Commented Oct 24, 2021 at 9:03
  • The attribute table has the density values already calculated (last column) and yes, it is a polygon layer.
    – Padmanabha
    Commented Oct 24, 2021 at 10:21

1 Answer 1

2

This was really an easy solution. I had to do spatial join with the hexagon grid layer and polygon layer (which had the residential density data). The tool join attributes by location is used.

1
  • I apologize for not being able to clarify my problem. I think I forgot to mention that my hexagon grid layer and polygon layer (having residential data) were different.
    – Padmanabha
    Commented Nov 3, 2021 at 18:25

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.