Select to view content in your preferred language

Clip Raster Failed

622
5
Jump to solution
03-31-2025 07:58 PM
DavidGray1
Frequent Contributor

Hi Community;    The usual frustrations. I was trying to clip a downloaded world hillshade.tpkx with a simple border box to trim it up. Something I have done dozens of times before. But now it decides it can't work.

There was an initial message that said this error is so rare there are no recommendations and you must contact technical support or an ESRI support community. But that message faded away with a few seconds and can't be quoted anymore.

The official error message:

A raster error has occurred. The messages that follow will provide more detail.
ERROR 160331: The table name is invalid.
The table name is invalid.
No spatial reference exists.
The table was not found. [Tonopah_District.clip]
The table was not found. [Tonopah_District.clip]
Failed to execute (Clip).

The hillshade download is nice, just what I wanted. I just wanted to clean up the edges with a raster clip to the map border box that will be the outline of my map image. It would be real nice if one could make the download by specifying the border box as a limit, but there appears to be no way to specify the border box. You have to size your working space window as close as possible to reduce size and maximize detail.

Using ArcGIS Pro 3.2 something.

Thanks;

Dave

 

 

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

Tonopah_District.clip

If that was the filename, then having a period in it would make the raster unusable.  Try replacing the output name as

c:\\some_folder_path\\Tonopah_District_clip.tif

which will make the output a *.tif raster in a folder which you can use


... sort of retired...

View solution in original post

0 Kudos
5 Replies
DanPatterson
MVP Esteemed Contributor

Tonopah_District.clip

If that was the filename, then having a period in it would make the raster unusable.  Try replacing the output name as

c:\\some_folder_path\\Tonopah_District_clip.tif

which will make the output a *.tif raster in a folder which you can use


... sort of retired...
0 Kudos
DavidGray1
Frequent Contributor

Thanks Dan;  Once again, you have come through. Some good lessons here and including some of the other input. The first is a reaffirmation of an old and time tested maxim. When you are getting frustrated and nothing seems to work right, take a break, go for a walk, get a night's rest and come back refreshed. Often, often, it turns out to be a simple thing, as in this case. Last night, getting frustrated and under deadline pressure, starting to just try this and then that begins to have diminishing returns. The name of the output clip and its long file path was disappearing out of sight of the small box available in the raster clip menu pane. Geez.

Second, the presence of the online community is a great resource. The little message window that just faded away said to try and contact technical support or a support community. Nine times out of ten I have great results from the support community, as in this case. Much faster, and with more success than actual technical support. I am glad it is there, as I am a user out in the wilderness hinterlands with nobody else around to ask. The fading message is a bit of a cop-out but reiterates an essential resource.

There seems to be some differences in approach in whether to specify the input raster from the immediate pull-down - thereby accessing what is in this gdb and following the folder search approach and finding and specifying the gdb, either the current one being worked upon or another one and accessing what is in that one. What I have found with the former approach is that the raster file has to be a tiled file with the extension .tpkx, otherwise it can't be found and picked. Another oddity I have found is when doing an online download and specifying all tiled downloads, sometime you get a topographic (i.e. cultural features) tiled file as well as the world hillshade topography imagery - and sometimes you don't. Don't know what controls that!

Thanks again; Dave

0 Kudos
DanPatterson
MVP Esteemed Contributor

Glad it work out David

Stepping back works.  Also, keep your walking paths long, and your file paths short 😉

Share a tile package—ArcGIS Pro | Documentation

As for the sharsies things, I would unpack anything to get at the base files, if possible, befoe I used them.

All the best.


... sort of retired...
0 Kudos
SydneyHeathcott
Occasional Contributor

I have also been having repeated issues with the clip raster tool not loading or clipping properly (3.3). I have started using the Extract by Mask tool to clip my rasters. Might be worth the try if no one else has any other options

0 Kudos
MervynLotter
MVP Regular Contributor

It sounds like you are trying to clip a tile package, not a raster.  I dont think you can use the Clip Raster tool for that.  I am aware that you can use th Create Mobile Map Package tool to clip a tile package using a polygon. There is a good chance it may work on a .tpkx file but I have not tested it.  Do see this thread for more details.  VTPK Clip - Esri Community

0 Kudos