Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step "pondération" use INT value #31

Open
katagen opened this issue Feb 5, 2024 · 5 comments
Open

Step "pondération" use INT value #31

katagen opened this issue Feb 5, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@katagen
Copy link

katagen commented Feb 5, 2024

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
Copy link
Owner

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

Regards

@katagen
Copy link
Author

katagen commented Feb 9, 2024

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

@katagen
Copy link
Author

katagen commented Feb 14, 2024

And I use the mode "multiplication".

@MathieuChailloux MathieuChailloux added the bug Something isn't working label Feb 15, 2024
@MathieuChailloux
Copy link
Owner

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

@katagen
Copy link
Author

katagen commented Aug 28, 2024

Hi, is it corrected in the new version 1.3 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants