I would like to classify DEM into some classes, into a shp file with equal intervals of 200m(0-200m, 200-400m, 400-600m, ...,3400-3600m, higher than 3600m), by using model builder in ArcGIS 10.2.
For example, if the Dem file ranges from 170-3700m.This is how I did in model builder:
https://drive.google.com/file/d/0B-R0JLxzF60FMUFXdVZWMzQ4TTQ/view?usp=sharing
![attribute table]
The concept map is like this:
https://drive.google.com/file/d/0B-R0JLxzF60FQUJfWDdraVJaTnc/view?pli=1
![concept map][2]
Is there any better way to do the classification?
I hope the model could judge the range of the input DEM file and classify it automatically, otherwise, i will need to make changes every time.
For instance, if another DEM file ranges from 700- 1200m.
The model would have errors telling me that there is nothing exist in 0-200m and the model will stop running.
أكثر...
For example, if the Dem file ranges from 170-3700m.This is how I did in model builder:
- i use extract by mask to clip the DEM area of interest.
- i use raster calculator to select all the ranges.(Expressions: 0-200m, 200-400m, 400-600m, ...,3400-3600m, higher than 3600m)
- extract areas of value 1.
- convert files generated from step 3 to shp files.
- dissolve files generated from step 4.
- add a column in each shp files to indicate the class of each shp file.
- assign value to each shp file.
- merge all the shp files.
https://drive.google.com/file/d/0B-R0JLxzF60FMUFXdVZWMzQ4TTQ/view?usp=sharing
![attribute table]
The concept map is like this:
https://drive.google.com/file/d/0B-R0JLxzF60FQUJfWDdraVJaTnc/view?pli=1
![concept map][2]
Is there any better way to do the classification?
I hope the model could judge the range of the input DEM file and classify it automatically, otherwise, i will need to make changes every time.
For instance, if another DEM file ranges from 700- 1200m.
The model would have errors telling me that there is nothing exist in 0-200m and the model will stop running.
أكثر...