Quantcast
Channel: Forums - ArcGIS for Desktop - General
Viewing all articles
Browse latest Browse all 2328

Easiest way to check hundreds of rasters?

$
0
0
Hey all,

I have a directory with ... let's say a couple hundred subfolders (and the occasional sub-sub folder) with imagery.

Most are .jpg.

Is there a quick Python script that can loop through (perhaps recursion) and check the spatial reference of each raster, and return the parent folder containing the raster as a string in a notepad file or something?

I could probably use VB.NET and ArcObjects to do this, but that seems like a bit more effort than is required.

Basically most of them have a spatial reference, but I need to find those without spatial reference and give them one.

I figured Python is probably best, but would love to hear some suggestions.

Thanks,

Viewing all articles
Browse latest Browse all 2328

Trending Articles