AnsweredAssumed Answered

Raster to Polyline Problem

Question asked by BRufenacht on Jan 12, 2017
Latest reply on Jan 13, 2017 by curtvprice

I am using raster to polyline in a python script, and it is not generating the results I would expect.  When I run the toolbox raster to polyline with the same parameters, I get the results I expect.  In the attached image, the green shows the input raster cells (cell value of 1), the blue line shows the toolbox results and the black line shows my script results.  Any ideas as to what would be causing the difference in the line output when the input and the parameters are exactly the same?


Here is the raster to polyline command in the script:

arcpy.RasterToPolyline_conversion(Filter3, breaklinesFull, "ZERO", cellSize*1.42, "NO_SIMPLIFY")