This is a very rough method, in fact requires to edit the python file attached (is a modified python file from ftools by Carson Farmer) for inserting parameters.<br>At the moment I'm not able to do better (no python skillful), but I'm sure someone else could easily create or integrate vector tools for making hexagonal grid.<br>
Hope it can help.<br><br>Instructions:<br><br>1) rename your doVectorGrid.py (in /usr/share/qgis/python/plugins/fTools/tools/ here) to doVectorGrid_orig.py<br><br>2) edit the attached file after line 157 <<< HEXAGON OPTION >>> where you can choose if make a hexagon by area or by heigth or edge, save the file as doVectorGrid.py<br>
<br>3) copy the edited file doVectorGrid.py in in /usr/share/qgis/python/plugins/fTools/tools/<br><br>4) start qgis and make the hexagon grid from vector menu -> research Tools -> Vector grid. In Parameters you can only choose Output grid as polygons<br>
<br>5) replace the orig doVectorGrid.py for recover to normal situation <br>(in linux: mv /usr/share/qgis/python/plugins/fTools/tools/doVectorGrid_orig.py /usr/share/qgis/python/plugins/fTools/tools/doVectorGrid.py)<br><br>
Cheers,<br>Giovanni<br><br><div style="padding: 0px; overflow: hidden; visibility: hidden; left: -5000px; position: absolute; z-index: 9999; margin-left: 0px; margin-top: 0px; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div><div class="gmail_quote">2011/1/12 Eduardo Klein <span dir="ltr"><<a href="mailto:eklein@usb.ve">eklein@usb.ve</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
I'm trying to construct an hexagonal grid (vector) with hexagons of x units of length in each side. Is there any plugin for doing that?<br>
<br>
Thanks!<br>
<br>
EKS<br>
<br>
-- <br>
Eduardo Klein<br>
Lab Sensores Remotos e<br>
Instituto de Tecnología y Ciencias Marinas<br>
Universidad Simón Bolívar<br>
Caracas, Venezuela<br>
ph (58) (212) 906-3111 ext 6700<br>
fax (58) (212( 906-3111 ext 6701<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br>