Thank you Sake.<div><br></div><div>I tried in QGIS 1.7 and works. Now I don´t know how to set the input to make hexagons of a desired size. Do you know how?</div><div><br></div><div>Best,</div><div><br></div><div>Manuel <br>
<br><div class="gmail_quote">2011/8/7 Sake Wagenaar <span dir="ltr"><<a href="mailto:sw1234@planet.nl">sw1234@planet.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
Did you set a CRS (for this project or as default for new layers)
before you started the plugin?<br>
<br>
Sake Wagenaar<br>
<br>
Op 6-8-2011 18:34, Manuel Spínola schreef:
<blockquote type="cite"><div><div></div><div class="h5">
<div>Dear list members,</div>
<div><br>
</div>
<div>I am trying to use the MMQGIS plugin to create a hexagoanl
grid but I got the following error:</div>
<div><br>
</div>
<div><br>
</div>
<span style="color:#ff0000">An error has occured while executing
Python code:</span><br>
<br>
Traceback (most recent call last):<br>
File
"C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_menu.py", line
137, in grid<br>
dialog = mmqgis_grid_dialog(self.iface)<br>
File
"C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py",
line 552, in __init__<br>
self.crs =
self.iface.mapCanvas().mapRenderer().destinationCrs()<br>
AttributeError: 'QgsMapRenderer' object has no attribute
'destinationCrs'<br>
<br>
Python version:<br>
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]<br>
<br>
<br>
QGIS version:<br>
1.6.0-Capiapo Capiapo, exported<br>
<br>
Python path: ['C:/PROGRA~2/QUANTU~1/apps/qgis/./python',
'C:/Users/Manuel/.qgis/python',
'C:/Users/Manuel/.qgis/python/plugins',
'C:/PROGRA~2/QUANTU~1/apps/qgis/./python/plugins',
'C:\\PROGRA~2\\QUANTU~1\\apps\\gdal-17\\pymod', 'C:\\Program Files
(x86)\\Quantum GIS Copiapo',
'C:\\PROGRA~2\\QUANTU~1\\bin\\python25.zip',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\DLLs',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\bin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~2\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~2\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
'C:\\Users\\Manuel\\.qgis\\python\\plugins\\mmqgis/forms']<br clear="all">
<br>
<div><br>
</div>
<div><br>
-- <br>
<b>Manuel Spínola, Ph.D.</b> <br>
Instituto Internacional en Conservación y Manejo de Vida
Silvestre <br>
Universidad Nacional <br>
Apartado 1350-3000 <br>
Heredia <br>
COSTA RICA <br>
<a href="mailto:mspinola@una.ac.cr" target="_blank">mspinola@una.ac.cr</a> <br>
<a href="mailto:mspinola10@gmail.com" target="_blank">mspinola10@gmail.com</a> <br>
Teléfono: (506) 2277-3598 <br>
Fax: (506) 2237-7036 <br>
Personal website: <a href="https://sites.google.com/site/lobitoderio/" target="_blank">Lobito de río</a> <br>
Institutional website: <a href="http://www.icomvis.una.ac.cr/" target="_blank">ICOMVIS</a><br>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Qgis-user mailing list
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">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>
<br></blockquote></div><br><br clear="all"><br>-- <br><b>Manuel Spínola, Ph.D.</b>
<br>
Instituto Internacional en Conservación y Manejo de Vida Silvestre
<br>
Universidad Nacional
<br>
Apartado 1350-3000
<br>
Heredia
<br>
COSTA RICA
<br>
<a href="mailto:mspinola@una.ac.cr" target="_blank">mspinola@una.ac.cr</a>
<br>
<a href="mailto:mspinola10@gmail.com" target="_blank">mspinola10@gmail.com</a>
<br>
Teléfono: (506) 2277-3598
<br>
Fax: (506) 2237-7036
<br>
Personal website: <a href="https://sites.google.com/site/lobitoderio/" target="_blank">Lobito de río</a>
<br>
Institutional website: <a href="http://www.icomvis.una.ac.cr/" target="_blank">ICOMVIS</a><br>
</div>