ArcGIS Euclidean Distance Tool Failing

4579
6
Jump to solution
10-22-2016 12:52 PM
MarinaFisher-Phelps
New Contributor II

I have been trying to use the Euclidean Distance tool in the Spatial Analysis ArcGIS toolbox and it keeps failing. It seems that when I change the cell-size it fails but I do not know why this would happen.

I have included a snapshot of my inputs into the tool and then the failure message.

I have tried saving it in different places, changing the name, using different output raster extensions, using the distance feature as a shapefile and geodatabase file. Nothing seems to work. When I allow the default cell size or leave the datum as WGS84 (as opposed to projecting to an equal distance projection) it works. But those settings don't work for my analysis so I cannot do that.

Any help with this issue would be greatly appreciated. Thank you!

0 Kudos
1 Solution

Accepted Solutions
DanPatterson_Retired
MVP Emeritus

see the spaces...

C:\Users\Marina\Documents\Marina\DissertationWork\Chapter2\New File Geodatabase.gdb\EDisWaterB

why not try saving it to c:\test\EuWatB   or c:\test\EuWatB.tif  

always get something to work by using real folders... you can always move them into a geodatabase later if you need to

View solution in original post

0 Kudos
6 Replies
DanPatterson_Retired
MVP Emeritus

You are working with unprojected data... aka, data in decimal degrees, so it would be best to use the 

Project Raster—Help | ArcGIS for Desktop tool to get the data into planar coordinates.  This makes more sense in any event, and I suspect you were trying to provide a distance value not compatable with your current file.  

MarinaFisher-Phelps
New Contributor II

Yes, I have been using projected data for the tool and that seems to be one reasons it fails.

0 Kudos
DanPatterson_Retired
MVP Emeritus

your tool inputs... based upon the cellsize ... are not in projected coordinates.  Perhaps you used the Define Projection tool rather than the Project Raster tool.  The numbers are a fraction of a decimal degree not of a meter.

And barring that, since your output is a grid, then the saving location has to be in a path without spaces or other unsavory characters and less than 13 characters in length.

0 Kudos
MarinaFisher-Phelps
New Contributor II

As mentioned in my question I have tried re-naming and projected vs un-projected data and I still get the same error message. The projected data cell-size is 959 and the output name I tried was C:\Users\Marina\Documents\Marina\DissertationWork\Chapter2\New File Geodatabase.gdb\EDisWaterB

And an underscore is not considered an unsupported characters in a grid name Output raster formats and names—ArcGIS Help | ArcGIS for Desktop 

0 Kudos
DanPatterson_Retired
MVP Emeritus

see the spaces...

C:\Users\Marina\Documents\Marina\DissertationWork\Chapter2\New File Geodatabase.gdb\EDisWaterB

why not try saving it to c:\test\EuWatB   or c:\test\EuWatB.tif  

always get something to work by using real folders... you can always move them into a geodatabase later if you need to

0 Kudos
MarinaFisher-Phelps
New Contributor II

This last suggestion succeeded in fixing the issue. Thank you for your help.