ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Workspace To Geodatabase

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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

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

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})
ParameterExplanationData 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

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal