[Qgis-user] MOLUSCE plugin error -> SOLVED

Firman Hadi firmanhadi at ait.asia
Sun Jul 5 08:29:00 PDT 2015


Hi all,

Just want to update.
I’ve finally managed to use the plugin.
The error was happened because I didn’t use same land use
class for the time series image.

Best regards,

Firman Hadi.
> On Jul 2, 2015, at 06:27, Firman Hadi <firmanhadi at ait.asia> wrote:
> 
>  <https://www.boxbe.com/overview>   This message is eligible for Automatic Cleanup! (firmanhadi at ait.asia) Add cleanup rule <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DXs6aMlTG2K9BW8CYP4ezun4mDrrdME6BK55EOQm5x%252BP45Kuk0P3SF0WtH5Yrdhm7B01hr9N5JBnlaFYIE2kzNeR4YakpuBGNeBLBcGapiX2Hj8h5673QH8XzO4s5mSlYlF78XdxR0sU%253D%26key%3DOj0LQsB5hx67hb4cP3xBPG52DI0%252FZ88kSimP9met5Yw%253D&tc_serial=21836147487&tc_rand=6566732&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> | More info <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=21836147487&tc_rand=6566732&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> 
> Dear all,
> 
> I want to analyse land use change by using MOLUSCE plugin.
> I created land use map with 14 classes using GRASS GIS 7 and export it to TIFF using r.out.gdal with Byte
> as the data type. I used mask to ensure that the dimension of the land use files will be the same.
> 
> I ran MOLUSCE but I got error when I tried to run Area Changes.
> The error message is “File "/Users/firmanhadi/.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 (10) (9)”
> 
> I have searched the solution and I have found similar problem at https://github.com/nextgis/molusce/issues/4.
> From the discussion, I knew that I have to use integer data. I exported the land use from GRASS using Byte, UInt16 option,
> but I still had the same problem.
> 
> Anybody had similar problems?
> 
> Thank you.
> 
> Best regards,
> 
> Firman Hadi.
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150705/ceffa23f/attachment.html>


More information about the Qgis-user mailing list