I am working on a raster project where I am trying to create a buffer around a set of rivers, of which I have already used extract by attributes on to change the river cells to no data, leaving the area around them with a value of 1. I have been trying to use Euclidean Distance/Distance Accumulation to get the distance from those no data cells, but the result makes no sense. Somehow, the distance gradient on the map is displaying perfectly fine, while the actual value displayed in the content pane says 0 for everything, meaning I can do no actual calculations using this. Any ideas on how to fix this?
So I think the issue is that your river cells are NODATA. In the Distance Accumulation GP tool, for the input raster or feature sources parameter, you could use a line feature class for your rivers instead of an input raster where the river cells are NODATA. It appears most of the other parameters in the GP tool are optional.
I was able to get my desired result by instead setting the maximum distance in the Euclidean Distance tool to my desired buffer size (400 meters), and then using con to make the values all 0. Definitely a little convoluted but at least it works for my needs.