When running MultipleRuns, CellularSpace couldn't find the shapefile, returning this error:
Error: Resource 'prodes.shp' not found for argument 'file'.
Stack traceback:
File F:/MODELAGEM/exercicios/ex04/deforestation.lua, line 176, in function 'init'
File F:/MODELAGEM/exercicios/ex04/deforestation.lua, line 292, in call to function 'MultipleRuns'
MultipleRuns creates a folder "MultipleRunsTests", i tried placing the shapefiles inside of it, and it worked.
Also, the documentation was not exactly clear about how to insert the path (file:///C:/TerraME/bin/packages/base/doc/files/CellularSpace.html).
I use windows and the path that I can extract from any folder returns "F:\MODELAGEM\exercicios\ex04" with backlashes '\', and the function requires common slashes '/'.
Documentation could give an example of this case.
From @ricds, in https://github.com/TerraME/terrame/issues/1362
I had this code working, the shapefile was in the same directory of my .lua:
When running MultipleRuns, CellularSpace couldn't find the shapefile, returning this error:
MultipleRuns creates a folder "MultipleRunsTests", i tried placing the shapefiles inside of it, and it worked.
Also, the documentation was not exactly clear about how to insert the path (file:///C:/TerraME/bin/packages/base/doc/files/CellularSpace.html). I use windows and the path that I can extract from any folder returns "F:\MODELAGEM\exercicios\ex04" with backlashes '\', and the function requires common slashes '/'. Documentation could give an example of this case.
This case worked: