Mask environment should accept a raster object (ArcPy map algebra)

Idea created by curtvprice Champion on Aug 6, 2013
    • ahrea
    • aewilson
    • Hornbydd
    • curtvprice
    arcpy.env.mask = raster_obj

    does not work. However this does work:

    arcpy.env.mask = raster_obj.catalogPath

    Either a temporary or permanent raster object should be accepted as a valid value for env.mask. If the temporary raster has not been created yet (delayed map algebra execution), it should be created when it is set to the mask.