ArcGIS Pro 3.1.5: How to insert cell size into a field in the attribute table of the raster using a tool in model builder?
In the screenshot below, I couldn’t figure out how to insert the cell size into a field in the attribute table of the raster. I don't want to type it manually; instead, I want it to be read automatically.
Solved! Go to Solution.
Basic model is this:
The output of get raster properties is a precondition to the calculate field tool to ensure the cell size is known before the tool is run. You simply use inline variable substitution to run the field calculate.
Hello!
Try resample tool!
Best,
Faiez
I'm not sure how the Resample tool can automatically insert the raster cell size into a specific field in its attribute table. I don't need to change the cell size here but want it to be automatically entered in a specific field so that the area can be calculated.
Area = Count * cell size * cell size
Basic model is this:
The output of get raster properties is a precondition to the calculate field tool to ensure the cell size is known before the tool is run. You simply use inline variable substitution to run the field calculate.
Thank you for the help. It works fine