I need to establish a model of maritime pollution and I try to use the grid option to work on ocean sectors. I tried to use my grid on a vector file, .shp, with points. Each point is a maritime pollution fact.
Tried with the native Grid (vector) option in QGIS: give me an error
Tried with the Qmarxan plugin (seems to be the one i need): give me an error
Is it a problem with Python, my layer, my data or a bug problem? I tested Qmarxan with a Geotiff, and it worked quite well. But it seems possible to use it with a vector layer (http://datagistips.blogspot.fr/2012/04/le-carroyage-avec-qgis-et-le-plugin.html)
The error with Qmarxan :
Traceback (most recent call last): File "C:/Users/GF/.qgis//python/plugins\Qmarxan\qm_mkgrid.py", line 189, in accept self.writeFile(boundBox, sideLen, hexagon) File "C:/Users/GF/.qgis//python/plugins\Qmarxan\qm_mkgrid.py", line 333, in writeFile self.ui.progressBar.setValue((row*100)/rowCount) ZeroDivisionError: integer division or modulo by zero Version de Python : 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]