Variable name in modelbuilder doesn't seem to work

995
1
03-23-2017 02:55 AM
ArnoldKuilman
Occasional Contributor

Hi All,

I'm having issues in modelbuilder. When iterating over rasters, the output name apparently stays the same. This is the model I created:

This is the error I receive:

The first Raster Domain is created perfectly, second fails...

Any ideas?

0 Kudos
1 Reply
curtvprice
MVP Esteemed Contributor

A few suggestions:

  1. Be sure you always validate a model with an iterator before you run it.
  2. You can't use the name ".tif" inside a gdb. (The "." char is not allowed for items in a GDB.)
  3. You can remove the .tif from Name using the Parse Path tool.
  4. It's not necessary, but I like to document things by connecting Name to the Raster Domain tool as a precondition