Select to view content in your preferred language

Calculating the area and the percent of cells of each value in a raster! Automaticall

9088
11
06-02-2011 06:01 AM
JamalNUMAN
Legendary Contributor
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
----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
0 Kudos
11 Replies
esa612
by
New Contributor

Hi Erick,

Recently I have task to do with Jamal. but more simple because I need only have to convert prosentase from each value of each field. when I tried to calculate with your model, it was fine for integer. but it was not with floating point.is it possible to calculate with floating point?

best regards

by Anonymous User
Not applicable
Original User: Jamal432@gmail.com

Jamal,

How did it work for you?  Any questions on the model?

Best,
Eric


Hi Erci,

Apologies for the delay.

I tried the model that you have provided and it works very well.
[ATTACH=CONFIG]18092[/ATTACH]

I couldn�??t imagine that I�??m supposed to build such model myself!

Thanks

Best

Jamal
0 Kudos