Batch Define Coordinate System (Samples)

许可等级:BasicStandardAdvanced

摘要

Records the coordinate system information for the specified input datasets including any associated projection parameters, datum, or spheroid. It creates or modifies the dataset's projection parameters.

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

用法

语法

BatchDefine_samples (input_datasets, {Coordinate_System}, {Template_Dataset})
参数说明数据类型
input_datasets
[input_datasets,...]

Datasets whose projection is to be defined. The datasets can be feature classes, raster datasets, and layers.

Geodataset
Coordinate_System
(可选)

Name of the coordinate system to be applied to the input datasets.

Coordinate System
Template_Dataset
(可选)

Dataset that will be used to select an existing projection definition to be applied to the input datasets.

Geodataset

代码实例

BatchDefine Example (Standalone Script)
import arcgisscripting
gp = arcgisscripting.create(9.3)
 
gp.workspace = "c:/Workspace/canada.mdb"
gp.BatchDefine("rivers;roads", "Coordinate Systems/Geographic Coordinate Systems/North America/North American Datum 1983.prj")

环境

许可信息

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