Good day,
I'm using an external Toolbox in my current analysis. One of the inputs has to be a short integer grid, containing values of "0" and "1". But the field type of the Raster I currently have (Tif-Format) is a long integer. I already tried to add a short integer field in the attribute table and used the field calculation. But the Input raster for the toolbox can not have another column then the short integer value. If I use the tool "delete field" to delete the long integer field, the geographical information gets lost, as this is the main value field. Do you know how I can convert the long into short integer values, od how can I create a new raster with short integer values?
Thanks in advance,
Jonas
Update: I think it should also work with a 4bit long-integer value grid. So thank you very much. The toolbox still returns errors. Sadly I don't have an explanation of the error codes, thats why I thought the short-integer/long-integer would be the problem, as the description demands a short-integer grid
But: im processing this file with my DTM. I clipped both rasters, the DTM and the integer grid with the same polygone-shapefile. To be able to process them, they have to be the same extent. But if I compare both clipped results, the both have the same pixel size (5, 5) and the same number of rows (4949), but the number of columns varies by one (4539 and 4538). I think is is causing my error. But I don't know how to adjust them, I also clipped the bigger one (with 4539 columns) and used the smaller one as the output extent. but the result still had 4539 columns...
Do you know another way I could try to cut them the same size?
It Didn't work with clip, but with extract by mask. So hope the toolbox works now. thank you very much to you!