0

I am having trouble with a section of a larger ModelBuilder routine. I have extracted all but the offending tools to see if I could get those to work. Basically, it takes a raster DEM and converts it to an integer raster based upon a cutoff value. It then converts the integer raster to polygons using the Raster to Polygon tool. It is at this point that it fails.

The model employs a FOR iterator to go through the DEM at increasing elevations of 10. If I run it through just once (beginning and ending elevations are equal), no problem. But if I iterate it two or more times, I get this error:

ERROR 000622: Failed to execute (RasterToPolygon). Parameters are not valid.

ERROR 000861: Field: is not valid.

Failed to execute (Raster to Polygon).

A couple of things to add:

  1. If I execute it from the Edit menu using Run, it works fine and I get multiple outputs.
  2. There are no spaces in the paths to the files. Changed this to the default .gdb with the same problem.
  3. The output polygons do not approach the 2.1 gb limit for features I noted in the ESRI documentation.
  4. I am running it in foreground.
  5. There is definitely data at each stage of the iteration. I tested this by running each level as a single pass.
  6. I am using %value% to change the intermediate file names for each pass.

I am at a loss as to what I am doing wrong.

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Jul 1, 2020 at 12:30

1 Answer 1

1

I got it to work by unchecking the Intermediate attribute of the output files. I am still uncertain why this is necessary, however, since they are in fact intermediate files in the longer process.

answered Jul 1, 2020 at 13:20

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.