im facing a problem in converting Floating to Integer Raster by using"spatial analyst tools (arc toolbox) > math > Int" . However, it shows warning of "error ERROR 999998: Unexpected Error. Failed to execute (Int)." * as shown in the attached file * . i've used both raster calculator method and spatial analyst tools in arctoolbox but still failed. how to overcome this problem ?
Given your application of vectorizing the raster triangular facets of a slope field derived from a TIN, I would suggest the following alternative workflow. The benefit of this approach is that you will not lose information about the slope of triangular facets through rounding or truncation. I should note that the assumes you have Spatial Analyst. First, use the Region Group tool to assign unique integer ID values to your slope raster. Because your triangular facets are planes, they contain only one value, which will allow this method to work well. Then vectorize the resulting clumped image. Once you've vectorized, you can then add a 'Slope' field to the vector's attribute table using the Zonal statistics tool.