mkmitchell
mkmitchell

Reputation: 701

Calculate distance between similar pixels - Euclidean distance - ArcGIS 10.1 - Erdas Imagine

I have an unsigned 1-bit thematic forest cover raster (.img). 1 = forest and 0 = not forest. I want to calculate the distance between forest patches. It appears that the Euclidean Distance tool in ArcGIS does this but I get an output with all 0s.

Has anyone had experience with this before? Am I doing something incorrectly? Will I have to write a script to take care of it?

I can use either ArcGIS or Erdas Imagine. Whichever is easiest.

Thanks

Upvotes: 0

Views: 838

Answers (1)

Gago-Silva
Gago-Silva

Reputation: 1971

It should work with a raster with values 0 and 1. Export your .img to .tiff with 8 bit unsigned and try it again.

Upvotes: 1

Related Questions