Simple question but I can't seem to find an answer anywhere - is there a way to export raster attributes (e.g., mean, cell size) to a a variable? I'm converting a tool from a Python script to a model, and the tool buffers a polygon by a distance equal to the cell size of a DEM raster. Is there a (simple) way to do this in MB?
You can use the "Get Raster Properties" tool, use either CELLSIZEX or CELLSIZEY as Property type (assuming you have square cells). You can connect the value from that tool as input to Buffer.
You can use the "Get Raster Properties" tool, use either CELLSIZEX or CELLSIZEY as Property type (assuming you have square cells). You can connect the value from that tool as input to Buffer.