Hello,
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).
Thanks
this post is long in the tooth... but looks like this can be done as part of the Set Mosaic Dataset Properties for future reference.
http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/set-mosaic-dataset-properties.htm
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
Adding raster data to a mosaic dataset using a custom template—Help | ArcGIS for Desktop
So somewhere in between something is missing, perhaps in the creation process of the mosaic prior to adding.. I will defer to others
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.
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
Hi Dan,
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 .
Cheers
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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.