Select to view content in your preferred language

Resampled rasters losing tables?

434
2
08-29-2023 07:41 PM
ScottJames
New Contributor

Hello,

 

I've used the raster calculator to compare two different rasters, next i want to resample one of the rasters to the cell size of the other and then use the raster calculator again with the same calculation.

Raster calculator works fine on the original rasters, but when i try to use it on the resampled rasters it fails, it gives the message "the table was not found".

Im not sure what this means or how to fix it. Is there another way i can make the rasters have the same cell size other than using the resample tool?

 

Thank you

2 Replies
DanPatterson
MVP Esteemed Contributor

Are you working with integer rasters? preferably in *.tif format?

If you are resampling, are you using nearest neighbour?

If not, you may end up with a floating point raster, which don't have tables (only integer rasters do)


... sort of retired...
ScottJames
New Contributor

Yes working with both .tif and using nearest neighbour.

I resolved this by resampling both sets of the data to the same raster (so resampling one to itself). This fixed the issue. 

0 Kudos