I am trying to use Model Builder with Extract with Mask. The masks (polygons) are in a file database and the raster is a standalone GRID. When I run the model it exits with an error that is the Table name is invalid. I tried to investigate the meaning and I came across two explanations. One: don't start names with digits. Two: names can't be longer than 13 characters. I think I've met those restrictions, but I still get the error. I think I also read somewhere that you should save to a database, but I swear I've done something similar to this months back and saved in a folder without problem. I'm out of ideas at this point.
Solved! Go to Solution.
As far as I can tell, there is no such variable as %Value%, but there is %Name%.
path can't contain spaces or other unsavory characters (except _ ) and the total path plus filename must be less than 125ish characters. Also, if you dont specify a file extension, you will get an esri grid which is fine.
Does the spatial reference of the featureclasses match the spatial reference of the raster?
How about the geoprocessing environment setting... how is the extent defined?
What are the values for %Value%?
If you copy import the raster into the file geodatabase, and run the model with that raster does the problem occur too?
Xander, the projections match for the masks and the raster. I did not change the extent, so it'd be whatever the default is... I think a reply after yours hit the nail with pointing out that I had used "%Value%", instead of "%Name%", so you were on to something. Thanks for the help!
As far as I can tell, there is no such variable as %Value%, but there is %Name%.
Darren is on to something...I suspect Value was supposed to be a field in the raster table, which hasn't been set as a variable
DINGDINGDINGDING... the winner! You were right, Darren, I referred to a non-existent variable. Thanks a lot for the help!