AnsweredAssumed Answered

Euclidean distance tool error

Question asked by ricardo.huerta_portlandcc on May 15, 2020
Latest reply on May 15, 2020 by danretired

I'm pretty new to using arcpy for spatial analysis. I'm trying to run the Euclidean distance analysis and keep getting the following error: ERROR 000622: Failed to execute (Euclidean Distance). Parameters are not valid.
ERROR 000628: Cannot set input into parameter cell_size. I'm entering an integer value for this parameter so I am confused why I keep getting this error. Here is my code:


#Import system modules
import arcpy, os
from arcpy import env
from import *


#Set environment settings
ws = os.getcwd()
arcpy.env.workspace = ws


#Set local variables
in_source_data = "lrt_stop"
cell_size = 100
distance_method = "PLANAR"


#Execute EucDistance
outEucDist = EucDistance(in_source_data, cell_size, distance_method)


#Save output"Ltr_Dist")