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

dzetsaka tells of an nonexistent problem #34

Open
ppopoca opened this issue Jul 14, 2022 · 3 comments
Open

dzetsaka tells of an nonexistent problem #34

ppopoca opened this issue Jul 14, 2022 · 3 comments

Comments

@ppopoca
Copy link

ppopoca commented Jul 14, 2022

Hi, Nicolas

I'm trying to run RF and I keep getting an error message asking me to make sure that my classes column has only integer values and that both my shapefile and raster have the same projection (EPSG:32616). However, both of these conditions are met by my files.

Where might the source of the problem be?

@Danro77
Copy link

Danro77 commented Jun 9, 2023

Hello there,

I'm currently facing the exact same problem. Have you found a solution to that problem and how to fix it?

Best regards

@ppopoca
Copy link
Author

ppopoca commented Jun 9, 2023

Hi @Danro77,

I managed to solve (or bypass) the problem, unfortunately I don't remember exactly how I did it. However I can suggest you do some things to see if any of them works:

  • check, if you have more than 1 version of python, that scikit-learn is installed in python 3
  • check that there are only alphanumeric characters in the path to your layers' files
  • check the topology of your samples
  • check that all the bands in your raster have the same geometry: extent, resolution, alignment, etc.
  • make a copy of your layer by means of some process (e.g. translate the raster, buffer with d=0 the ROIs) and run dzetsaka using the copies

I hope this may be useful to you, and if I remember exactly what I did, I'll let you know.

@Danro77
Copy link

Danro77 commented Jun 9, 2023

Hey @ppopoca,

thanks for your answer and your tips! I'll try them out as soon as I continue my work. I'll let you know which of your tips worked. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants