I have a raster file that I am trying to remove approximately 100 vector polygon buffer layers (I want to extract them like cookie cutters from the raster image) using the extract by mask tool. I came across this error and thought it was maybe because the projections were slightly different (the raster is WGS 84 UTM 12N, the vector is NAD 83 UTM 12N). I experimented with a smaller model, first using the project raster tool to reproject the raster file to NAD 83, then use extract by mask for one of my buffer layers on the resulting reprojected raster file, and that worked fine, However, when I set up the whole model for all 100 buffer polygons, it gave me an error. The following is a screen shot of my results when I try to run my model:
The projection worked fine, and then it crashed with the first extract by mask.
Any help is greatly appreciated.
Solved! Go to Solution.
Try starting your output raster with a letter instead of a number. There are a few errors indicating that table names must start with a character, not number (like this and this). Alternatively, try saving outside a GDB.
If that fails, some other things to try are:
- restart ArcGIS
- save to a simple path, with no spaces (e.g. "C:\junk")
Try starting your output raster with a letter instead of a number. There are a few errors indicating that table names must start with a character, not number (like this and this). Alternatively, try saving outside a GDB.
If that fails, some other things to try are:
- restart ArcGIS
- save to a simple path, with no spaces (e.g. "C:\junk")
Worked like a charm. Not sure which it was, but I changed the names around so the letters were before the number, and saved it in a regular folder instead of a GDB. I think it was actually the GDB, because I don't think I saved it to a GDB when I ran my simple test.
Thanks!
Yes, I believe it is the problem with starting the FGDB raster with a number. I get the same error. It would be nice if the error message told you why the table name is invalid, as there are a few different ways to make this happen.
Ryan's issue was that the output raster name was specified without an extension in a folder ("NDVI junk"). This specifies the Esri Grid format. Grids cannot start with a number, and if multi band output can only be 9 chars long.
Please avoid spaces in path and file names. Life is difficult enough.
Hmmm it's neither here nor there, but I believe the output location was a FGDB named 2010.gdb, unless I'm missing something.
You are right, I didn't look at the screen shot carefully enough.