Workspace To New Raster Catalog (Samples)

许可等级:BasicStandardAdvanced

摘要

Creates a new raster catalog and loads all the raster datasets in the input workspace, or geodatabase, to the raster catalog. The spatial reference of both the raster column and the geometry column are taken from the first raster dataset in the input workspace. The x,y domain of the geometry column is calculated with the union extents of all the raster dataset inputs. There must be a spatial reference attached to the raster datasets for the tool to run.

法律声明法律声明:
This tool has been deprecated. For more information, see An overview of the Samples toolbox.

用法

语法

WorkspaceToNewRasterCatalog_samples (input_workspace, output_location, raster_catalog_name, {configuration_keyword}, {management_type})
参数说明数据类型
input_workspace

输入工作空间可以是目录、个人地理数据库、文件地理数据库或 ArcSDE 地理数据库。

Folder | Workspace
output_location

The output location is the geodatabase where the new raster catalog will be created.

Folder | Workspace
raster_catalog_name

要创建的栅格目录的名称。

String
configuration_keyword
(可选)

可用于指定文件地理数据库和 ArcSDE 地理数据库的存储参数(配置)。个人地理数据库不使用配置关键字。

ArcSDE 配置关键字由数据库管理员进行设置。

String
management_type
(可选)

可采用两种方式管理栅格目录内的栅格数据集:通过地理数据库管理或不通过地理数据库管理。

  • MANAGED如果是托管栅格目录,则此栅格目录中的栅格数据集将以物理方式存储在地理数据库中。如果从目录中删除某行(或栅格),也会将其从地理数据库中删除。
  • UNMANAGED如果是非托管栅格目录,则它将仅包含一些链接或指针,用于连接栅格目录中的行和存储在地理数据库外部的栅格数据集。加载到非托管栅格目录中的所有栅格数据集必须为磁盘上的文件。
String

代码实例

import arcgisscripting
gp = arcgisscripting.create()
 
gp.WorkspaceToNewRasterCatalog_samples("D:\\temp\\tempws", "Database Connections\\raster.sde", "wrksp_to_new_rc", "#", "Managed")

环境

此工具不使用任何地理处理环境

许可信息

ArcGIS for Desktop Basic: 是
ArcGIS for Desktop Standard: 是
ArcGIS for Desktop Advanced: 是
5/10/2014