Workspace To Geodatabase (Samples)

Summary

Loads all raster datasets from one workspace or geodatabase to another workspace or geodatabase as individual raster datasets.

LegacyLegacy:
This tool has been deprecated. For more information, see An overview of the Samples toolbox.

Usage

Syntax

WorkspaceToGeodatabase_samples (input_workspace, output_geodatabase, {config_keyword})
ParameterExplanationData Type
input_workspace

The input workspace can be a directory, a personal geodatabase, file geodatabase, or an ArcSDE geodatabase.

Folder | Workspace
output_geodatabase

The output geodatabase can be a personal geodatabase, file geodatabase, or an ArcSDE geodatabase.

Workspace | Feature Dataset
config_keyword
(Optional)

Specifies the storage parameters (configuration) for a file geodatabase and an ArcSDE geodatabase. Personal geodatabases do not use configuration keywords.

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

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

Published 6/7/2010