Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

arcpy.RasterToPolygon works, but tool errors...

$
0
0
I am having problems with:

Code:

arcpy.RasterToPolygon_conversion(inRaster, outPolygons, "NO_SIMPLIFY")
It returns the following error message even though it is successfully creating the polygon dataset:

ExecuteError: ERROR 010157: Unable to open feature class

I can view the polygon output and it is exactly as expected. However, the code fails at this point and returns the error. Any thoughts?

Viewing all articles
Browse latest Browse all 2485

Trending Articles