Hello all,
I am calculating a mosaic dataset's DATE field, which is a combination of a portion of the rasters' names and the directory they exist in; for example, 'rastername_0131.tif' will exist in both the '2020' and '2021' folders.
Will I have to export the raster paths, join field to pull the paths back in to an accessible field and then split the path components to find out the year of that particular raster's January 31 in order to accomplish this through the Calculate Field functionality?
Or...
Is it possible to access the path of a mosaic dataset row's raster in a field calculation run on a mosaic dataset? Similar to accessing the shape.area value for a feature dataset? Like, raster.path?
I can't find any docs that suggests this is possible but thought I'd ask before carrying on with the above, more complicated, process.
Cheers,
ps. No, I can't change the directory structure I am working with; other apps access these rasters as they are and they must remain there.