Summary
Loads all raster datasets from one workspace or geodatabase to another workspace or geodatabase as individual raster datasets.
Usage
Loading and storage parameters can be set in the Environment Settings under the Raster Storage Settings section.
This sample tool was created using Python. The code can be viewed and edited to help you write your own scripts.
The Raster Analysis Environment Settings are not valid for this tool.
Syntax
WorkspaceToGeodatabase_samples (input_workspace, output_geodatabase, {config_keyword})
Parameter | Explanation | Data Type |
input_workspace | The input workspace can be a directory or a geodatabase. | Folder | Workspace |
output_geodatabase | The output geodatabase. | Workspace | Feature Dataset |
config_keyword (Optional) | Specifies the storage parameters (configuration) for a file or enterprise geodatabase. Configuration keywords are set up by your database administrator. ArcSDE configuration keywords are set up by your database administrator. | String |
Code Sample
import arcgisscripting
gp = arcgisscripting.create()
gp.WorkspaceToGeodatabase_samples("D:\\temp\\tempws", "Database Connections\\raster.sde", "#")
Environments
This tool does not use any geoprocessing environments
Licensing Information
- ArcGIS for Desktop Basic: Yes
- ArcGIS for Desktop Standard: Yes
- ArcGIS for Desktop Advanced: Yes