how to know if a raster dataset has or not has pyramid?

179
4
12-16-2021 12:45 AM
leigao
by
New Contributor II

is there any idea for know if the raster dataset has pyramid inside its own file or outside as with .rrd or .ovr ?

the buildpyramid tools supply as option for skip existing, but I don't want to build pyramid for which not has, just want to know.

thanks.

Tags (2)
0 Kudos
4 Replies
DanPatterson
MVP Esteemed Contributor

you can examine the layer's properties to see if pyramids exist (right-click on the layer)

Auxiliary files—ArcGIS Pro | Documentation

auxilary files (rrd, ovr) can be found using Windows file explorer in the path where the raster resides... if they exist


... sort of retired...
0 Kudos
leigao
by
New Contributor II

Oh.....

I mean by python, arcpy or gdal or other libraries, actually, there are thousands of raster datasets.....

0 Kudos
DanPatterson
MVP Esteemed Contributor

Batch Build Pyramids (Data Management)—ArcGIS Pro | Documentation is all that is in arcpy.  gdal has similar functionality


... sort of retired...
0 Kudos
DonMorrison1
Occasional Contributor III

This may not be what you are looking for, but one way to get information on a hosted map service's tiles is using the REST apis - specifically this one.

If you look at the response JSON's "lodInfos" section you can see which sets of tiles have been built. I've never worked with .rrd or .ovr files.

Maybe there is a way to do this via a python API, but I'm not sure.  

 

0 Kudos