Batch Define Coordinate System (Samples)

Lizenzstufe:BasicStandardAdvanced

Zusammenfassung

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.

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

Verwendung

Syntax

BatchDefine_samples (input_datasets, {Coordinate_System}, {Template_Dataset})
ParameterErläuterungDatentyp
input_datasets
[input_datasets,...]

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

Geodataset
Coordinate_System
(optional)

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

Coordinate System
Template_Dataset
(optional)

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

Geodataset

Codebeispiel

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")

Umgebung

Lizenzierungsinformationen

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