Thank you Sake. 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?
Best, Manuel 2011/8/7 Sake Wagenaar <[email protected]> > Did you set a CRS (for this project or as default for new layers) before > you started the plugin? > > Sake Wagenaar > > Op 6-8-2011 18:34, Manuel Spínola schreef: > > Dear list members, > > I am trying to use the MMQGIS plugin to create a hexagoanl grid but I got > the following error: > > > An error has occured while executing Python code: > > Traceback (most recent call last): > File "C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_menu.py", line > 137, in grid > dialog = mmqgis_grid_dialog(self.iface) > File "C:/Users/Manuel/.qgis/python/plugins\mmqgis\mmqgis_dialogs.py", > line 552, in __init__ > self.crs = self.iface.mapCanvas().mapRenderer().destinationCrs() > AttributeError: 'QgsMapRenderer' object has no attribute 'destinationCrs' > > Python version: > 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] > > > QGIS version: > 1.6.0-Capiapo Capiapo, exported > > 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'] > > > > -- > *Manuel Spínola, Ph.D.* > Instituto Internacional en Conservación y Manejo de Vida Silvestre > Universidad Nacional > Apartado 1350-3000 > Heredia > COSTA RICA > [email protected] > [email protected] > Teléfono: (506) 2277-3598 > Fax: (506) 2237-7036 > Personal website: Lobito de río<https://sites.google.com/site/lobitoderio/> > Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/> > > > _______________________________________________ > Qgis-user mailing > [email protected]http://lists.osgeo.org/mailman/listinfo/qgis-user > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA [email protected] [email protected] Teléfono: (506) 2277-3598 Fax: (506) 2237-7036 Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/> Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
