1

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:

  1. I use extract by mask to clip the DEM area of interest.
  2. I use raster calculator to select all the ranges. (Expressions: 0-200m, 200-400m, 400-600m... 3400-3600m, higher than 3600m)
  3. extract areas of value 1.
  4. convert files generated from step 3 to shp files.
  5. dissolve files generated from step 4.
  6. add a column in each shp files to indicate the class of each shp file.
  7. assign value to each shp file.
  8. merge all the shp files.

The attribute table of the final file would be like this:

enter image description here

The concept map is like this:

enter image description here

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.

2

I think an easier way to do this would be to use the Reclassify tool. You'll need the Spatial Analyst Extension. Then, you just use the Raster to Polygon tool.

If you don't have spatial analyst, there are open source options. Just search this site for reclassify.

2

In your case you could also use the raster calculator directly, because you have constant intervals

Int("your_raster"/200)

then you can use raster to polygon

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.