MathieuChailloux / BioDispersal

QGIS plugin to compute ecolgical continuities
GNU General Public License v3.0
7 stars 1 forks source link

Step "pondération" use INT value #31

Open katagen opened 4 months ago

katagen commented 4 months ago

At the step "pondération", the output is in INT value, which I think a bit problematic.

In many cases, I suppose that the same landuse costs 20% more due to an other layer. So I have my landuse with a value of 3 and the pondération layer with 1.2, and I do a multiplication. So if the output is in INT, it rounds all the values.

Most of the time, I have to use "raster calculator" to do the pondération process.

MathieuChailloux commented 4 months ago

My weighting outputs are Float32, which mode / data are you using ?

Regards

katagen commented 4 months ago

They are flot32 also, but the raster issued of the pondération step is in INT32... so everything is rounded!

katagen commented 4 months ago

And I use the mode "multiplication".

MathieuChailloux commented 4 months ago

This is indeed the case with Multiplication mode. I guess I supposed coefficients would be integers but I will correct this in next version.