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 Environments 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 Environments are not valid for this tool.
Syntax
arcpy.samples.WorkspaceToGeodatabase(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 geodatabase. 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
- Basic: Yes
- Standard: Yes
- Advanced: Yes