0

How to raster clip in ArcMap? But I need 1 raster in outside area. Because 2 raster map.

Example:

Ras1=Temperature.tif
Ras2=Error map.tif
Clip command input raster=Ras1
             Output Extent= Ras2

Just I need clip outside area=reserve clip command? I can't use Con and Setnull, IsNull.

enter image description here

  • You're trying to erase Ras2 from Ras1 is that right? You don't have access to spatial analyst license? How do you feel about using GDAL? or QGIS? – Michael Stimson Jun 30 '15 at 4:34
  • Yes, Can I make this process in ArcMap? I don't know GDAL and QGIS. If you give me help and user guide in GDAL and QGIS. I have access to spatial anaylyst license. – Ganaa Y Jun 30 '15 at 4:46
  • So you can use SetNull, Con, IsNull. The best you can hope for is to set the result raster to Null in the area where Ras2 is not null. That shouldn't be too difficult if Ras2 is null where it is shown as white, use IsNull to get 0/1 raster for Ras2 and then con(IsNull(Ras2),OutNull,Ras1) where OutNull is the Null value for result raster, if one is not set then pick a value outside of range and then use SetRasterProperties to enforce that value on Result Raster. – Michael Stimson Jun 30 '15 at 4:55
  • Thank you very much, perfectly working. I'm trying to do SetNull. But just Conditional tool-Con command. I'm very glad to you. – Ganaa Y Jun 30 '15 at 5:08
  • @MichaelMiles-Stimson I think you should transfer your comment into an answer, unless you have come across an earlier duplicate. – PolyGeo Jun 30 '15 at 5:45
1

As commented by @MichaelStimson:

you can use SetNull, Con, IsNull. The best you can hope for is to set the result raster to Null in the area where Ras2 is not null. That shouldn't be too difficult if Ras2 is null where it is shown as white, use IsNull to get 0/1 raster for Ras2 and then con(IsNull(Ras2),OutNull,Ras1) where OutNull is the Null value for result raster, if one is not set then pick a value outside of range and then use SetRasterProperties to enforce that value on Result Raster.

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.