Calculating the area and the percent of cells of each value in a raster! Automatically?
please, see the attached images that show my question
Explanation:
the attribute table of the raster typically contains information for the value and their count.
all the time we need to calculate the area and percent represented by each value! that takes much of our time!
model builder might be the solution! but two input values are still manual!
- we need to multiply the count of each value by it resolution! then
how to make the model builder read this value automatically??????
- we need to divide each of these area by the sum of all areas! then
how to make the model builder reads this value automatically?
regards
Jamal
http://ideas.arcgis.com/
post there as a requested feature, otherwise you will have to create your own in Python
Please post a link to your idea. I'd like to vote for it 🙂
Jamal,
You can do this in model builder using Summary Statistics, Zonal Geometry as Table, plus Add/Calculate/Join Field. There is no python required, just an understanding of in-line variables and preconditions.
Here is the input table, output table, and model in screenshot form.
If you have questions, feel free to ask.
Best,
Eric
Jamal,
The attached zip file contains a geoprocessing package I created in 10.1. Drag it into your map, go to the results tab under Shared, and rerun the tool with your inputs. If you want to see the model, right click the tool and select "Edit". Once the model is open in model builder, you can Save As to save a local copy.
Best,
Eric