Bug report #14601

Python error using MOLUSCE plugin in QGIS 2.14.1

Added by Lluis Vicens about 8 years ago. Updated about 8 years ago.

Status:Rejected
Priority:Normal
Assignee:-
Category:-
Pull Request or Patch supplied:No

Description

I'm trying to perform an analysis of land use/cover change detection using QGIS and MOLUSCE but I get an error message. I'm working with two CORINE raster layers (1990 vs 2006) and other two optional layers as a Spatial variables (distance to roads, distance to rivers). I successfully completed the "Inputs" and "Evaluating Correlation" tabs processes, but when I get to "Area Changes" tab, and I press the "Update tables" or "Create changes map", I always get the same python error message:

Here it goes the error log message:

2016-04-01T12:49:16 1 Traceback (most recent call last):
File "/home/lluis/.qgis2/python/plugins/molusce/moluscedialog.py", line 413, in updateStatisticsTableDone
self.__drawTransitionStat()
File "/home/lluis/.qgis2/python/plugins/molusce/moluscedialog.py", line 1027, in __drawTransitionStat
stat = self.inputs["crosstab"].getTransitionStat()
File "/home/lluis/.qgis2/python/plugins/molusce/algorithms/models/crosstabs/manager.py", line 91, in getTransitionStat
deltas = finalArea - initArea
ValueError: operands could not be broadcast together with shapes (25,) (21,)

I'm working with QGIS 2.14.1 and MOLUSCE 3.0.11 under Ubuntu 14.04 LTS. I've tried the same on a Windows machine with same error message.
Thanks.

1990.tif - Sample of CORINE raster layer [init layer] (96.4 KB) Lluis Vicens, 2016-04-01 03:55 AM

2006.tif - Sample of CORINE raster layer [final layer] (96.4 KB) Lluis Vicens, 2016-04-01 03:55 AM

History

#1 Updated by Alessandro Pasotti about 8 years ago

  • Status changed from Open to Rejected

This is the bug tracker for the plugins website not for the plugins themselves.

See this page (details) to find out the correct address for the bug tracker of the plugin

http://plugins.qgis.org/plugins/molusce/

#2 Updated by Lluis Vicens about 8 years ago

Now I've posted the message in the correct place.
Thanks and sorry for the inconveniences.

Also available in: Atom PDF