Select to view content in your preferred language

How do I get areas with a certain elevation out of a raster file?

1811
8
06-23-2014 04:41 AM
andreabarrueto1
Emerging Contributor
I have SRTMs for a country and I need to get a layer with the different altitudes that i can use later on for the weighted overaly:
Following are the classes:
0m-1100m
1100-1500m
1500-1800m
1800-2500m
2500-2800m
2800-3000m
3000-8000m
I tried reclassify, did not work. For visuals I can display the wished classes with the contour polygon, however, I cant really use it later with other polygons (when I want to intersect for the weighted overlay).

How can I calculate (i tried raster calculator but did not get anywhere) the needed elevation polygons? I have all extensions.

Thank you.

a.
0 Kudos
8 Replies
toddsams
Deactivated User
There are a variety of ways you can do this, but one that jumps to mind is:

You can use "Set Null" to set elevations outside of those bounds to Null. Then, convert the final rasters (one for each elevational band) to polygon files using "Raster to Polygon".
0 Kudos
andreabarrueto1
Emerging Contributor
thank you. do you mind telling me with a bit more details how i can do that?

thanks.

a.
0 Kudos
DanPatterson_Retired
MVP Emeritus
reclassify should work and you can assign the weights directly to the elevation classes.  What do you mean it didn't work?
0 Kudos
toddsams
Deactivated User
I agree with Dan that Reclassify should work.

I am not able to get into detailed descriptions of how to use these tools. ESRI provides a fair amount of documentation associated with the tools found in the toolbox. Be sure to read all of the help documentation associated with each tool prior to running it.
0 Kudos
andreabarrueto1
Emerging Contributor
Thank you very much. It worked. Now what I have to do is choose the classes through symbology before using reclassify. In that way i could choose the classes in reclassify (which was not possible before).

Best wishes,
a.
0 Kudos
JeffreySwain
Esri Regular Contributor
I would also look into the CON tool to simply select all but the value you are looking for.  Since you said elevation, this may be more appropriate.
0 Kudos
curtvprice
MVP Alum
The Slice tool is more appropriate for continuous rasters.

Slice followed by Feature To Polygon would probably do what you want.
0 Kudos
andreabarrueto1
Emerging Contributor
The Slice tool is more appropriate for continuous rasters.

Slice followed by Feature To Polygon would probably do what you want.


Thank you for the slice recommendation. I did not know that tool. I tried it out on a classification on slope (using 9 classes, 0-10degree, 10-20degree etc) and it is perfect. However, for destinct classes in altitudes, the reclassify is more appropriate. The con tool I always struggle a bit, as most of the calculations are in my understanding easier done with the raster calculator 🙂

*Thank you*

a.
0 Kudos