AnsweredAssumed Answered

Error Using Extract Values to Points

Question asked by jessica.a.greene.ctr on Sep 19, 2019

I have  created a script that searches through two geodatabases, one with rasters and one with point data, and if the name of the raster is equal to the name of the point data, run the 'Extract Values to Points' tool. I have tried running this in Desktop, Pro and in PyScripter but always receive the same error message:

 

"arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000860: Input raster: is not the type of Composite Geodataset, or does not exist.
Failed to execute (ExtractValuesToPoints)."

 

 

I have tried running the tool (not using python) in Pro and it runs fine. There must be an issue with my script but I cannot locate the issue. I am attaching my code below. Any help would be greatly appreciated!

 

Python, arcpy, python code

Outcomes