Has anybody knows if i can and how i can set a raster template function using Python. (In ArcMap is in the Raster Properties for the Toolbox AddRasterTo MosaicDataset).
here are the functions you can use and not all are available
What are the functions used by a raster or mosaic dataset?—Help | ArcGIS for Desktop
and then there is this
Adding raster data to a mosaic dataset using a custom template—Help | ArcGIS for Desktop
Thanks for the answer.
But what im looking for is to set the Raster Template Function programatically using Python. I want to set the (*.rft.xml) template file for the tool AddRastersToMosaicDataset_management in a python script .
That was what I was suggesting, if it isn't accessable through a tool in arctoolbox or one of the tool properties in arcpy.env, then it may not be possible. You will have to explore what you can set through the tool and whether you can access that particular type of template through arcpy
Hum.. Ok Dan thanks.
It exists in arctoolbox but when i export it to python the properties do not come. Nor is the arcpy.env with this kind of info.
Ok... I am obviously missing something
Add Rasters To Mosaic Dataset—Help | ArcGIS for Desktop is the tool and there are a load of optional parameters, they will use the default parameters if not specified
and this is the manual process
So somewhere in between something is missing, perhaps in the creation process of the mosaic prior to adding.. I will defer to others
Maybe i didn't make my self clear.
What i want to do is programatically in a python script call the AddRastersToMosaicDataset_management and somehow pass it the (*.rft.xml) file that is the template.
I can do this in Arctoolbox but not in python.
yup...clear as a bell...I just can't find the link, nor can you either...so we will defer to others
Retrieving data ...