Using Python, how do I apply a unit conversion function chain to each individual raster based on source units?
I'd like all units to be in Meters. I have a mosaic dataset containing elevation rasters with mixed source units: feet and meters.
I'd like to :
1) iterate through the mosaic dataset,
2) check the units of each raster,
3) if the raster has source units feet, then apply a unit conversion function chain (ft to m).
Rasters with source unit Meters do not need a function chain.
Thanks!
I assume it is not possible to apply a function chain via Python? Thanks!
Don't use them... but is this what you are referring to? editing-function-chains-in-mosaic datasets
Yes. I need to do this w/ Python? Can you do this w/ ArcPy?
I see nothing in arcpy other than the ability to acquire properties through the Describe object then produce new raster objects through conventional spatial analyst tools
It might be easier to shuffle through the original data to create new ones based on metres.
Yes. But, how do I apply a function chain when adding an image to a mosaic dataset?