2

I'm currently in between ArcMap licenses so I'm working through QGIS and trying to reclassify a land use Raster from the USDA with 256 values. I have a text file I'm trying to use as the input: shown here

Here is the symbology tab of my raster, let me know if you need to view different aspects of it. I should also note I can't find an attribute table for the raster, so for all I know, it has to do with that. raster details

Here are my parameters, pretty basic stuff: parameters

I'm trying to run this in the r.reclass tool in GRASSGIS but I'm getting some errors shown here: Errors

From what I can tell, it accepts my rules when I enter them as text rather than upload them as a file, but I'm still getting an error when I try to run the script.

EDIT: After fixing the north larger than south, I'm still getting other errors - log here

  • Just about the ERROR: North must be larger than South let me draw your attention to the region extent (the last picture) n 0.0 s 0.0 e 0.0 w 0.0. Perhaps you can check Advanced parameters - GRASS GIS 7 region extent; Select Use layer extent and see what happens. – Kazuhito Nov 18 '18 at 1:29
  • @Kazuhito That took care of that error, but still getting others – EJSMIZ Nov 18 '18 at 1:45
  • EJSMIZ, glad it worked (a bit :) The other error says the reclassify rule is invalid. Not sure, but a common format is 6 thru 12 = 9. BTW you may be better off with r.recode. – Kazuhito Nov 18 '18 at 1:48
  • @Kazuhito I went and tried a different table here but it said I didn't specify any rules when I tried to run it.. – EJSMIZ Nov 18 '18 at 2:12
  • EJSMIZ, how did it go? Could doubled 8 be troublesome? – Kazuhito Nov 18 '18 at 2:24
1

If you're looking for a simpler Reclassify tool, search in the toolbox for "Reclassify by table". This native reclassification algorithm is much simpler to execute than the GRASS based algorithm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.