Hello, I am trying to set a defined elevation to a raster. Meaning, I want to modify a DEM to represent an elevation of 6357 ft. Help?
Solved! Go to Solution.
Looks great! Glad that worked for ya. The only difference between Mosaic and Mosaic to New Raster is that one creates a new raster. If you feel my answer was correct I'd sure appreciate if you would mark it as such.
do you want to raise the whole dem so its base is at that level?
do you want to change the values that are at that level?
can you elaborate?
Use Raster Calculator to add/subtract your desired value.
that would be a solution, if that were the question... that still hasn't been clarified yet
Apologies for the confusion. So, I have clipped a segment of a larger DEM and need to decrease the elevation (value) of this clipped area. I have tried Raster Calculator, which works for a blanket increase or decrease value, e.g. subtracting 3 feet from the entire area. However, I need the clipped area to equal one particular value. I'm thinking I need an Algebraic expression in Raster Calculator to assign the value I need but don't quite know how to write it. e.g. Current Elevation - X = Needed Elevation. Does this make sense?
"clipped_raster" = 6357
Thanks Dan, I've tried that, but have been unsuccessful. Seems my challenge relies beyond a simple raster calculation.
Welll that leaves Create Constant Raster ... You need to set the extent, cell size and snap raster (Environments tab on the tool, in raster settings area) to match that of the area you clipped.
If you are trying to then combine that back in with another raster, then you have to do that with the Con tool, by setting the extent to the larger raster and using something like
Con("constantraster", "constantraster", "bigraster"). noting that the extent of the analysis needs to be set to the big raster
Here's what I'd do:
Be sure to pick the right pixel type - the same as the DEM you started with. Also be sure to add the 6357 foot raster first and then select FIRST as your mosaic operator.
Micah
With the exception of the Mosaic to New Raster tool, it worked beautifully. I used the Mosaic tool, which pasted the clipped rasters onto the original raster. Rendered via TIN, you can see the three different elevations I depressed.
Thanks for the support fellow GIS gurus!