7

What parameters should be set (x spacing, y spacing, units) to get a 1 ha hexagon? I work in EPSG 32634 projection. QGIS plugin MMQGIS.

enter image description here

Regards,

Onosz

4
  • 1
    wikihow.com/Calculate-the-Area-of-a-Hexagon. I suppose you want to get regular hexagons so x spacing and y spacing should be equal.
    – user30184
    Jul 18, 2017 at 20:36
  • 2
    Using a virtual layer of QGIS and SELECT ST_HexagonalGrid (geometry, 62.04) as geom FROM regions; Where 62.04 is the side of the hex with area 10000 square meters gaia-gis.it/fossil/libspatialite/wiki?name=tesselations-4.0
    – pigreco
    Jul 18, 2017 at 21:55
  • 1
    For 1 ha, y = 2*L.sin 60º = 2*62.04032*0.866025403784 = 107.456986358 m (please, see my answer).
    – xunilk
    Jul 19, 2017 at 6:36
  • The value y = 107.456986358 returned the hexagon area of ​​1 ha. Thank you very much for help.
    – Onosz
    Jul 19, 2017 at 6:58

1 Answer 1

7

I found out (see next image) that these are relations among different distances in a regular hexagon used for MMQGIS plugin; where formula to calculate area as function of L is: A = 2.60*L2. So, if area is 1 ha (10000 m2) then L = 62.04032 m.

enter image description here

By geometric considerations, sin 60º = (y/2)/L and:

y = 2*L.sin 60º = 2*62.04032*0.866025403784 = 107.456986358 m

As x and y are joined, you only need to put, at correspondent place in plugin, only calculated y value (x value is automatically calculated).

enter image description here

After click in OK, I got:

enter image description here

By using my plugin to calculate areas, I corroborated that it was ~10000 m2 for one particular feature; as expected.

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.