Batch Project (Data Management) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Changes the coordinate system of your input feature classes or feature datasets, including the datum or spheroid, and defines the location of points on a planar surface.
Usage tips
This tool will not work with layers as input.
All input feature classes and/or feature datasets are valid inputs to this tool.
If you have a feature class that does not have a defined projection and PRJ file, then use the Define Project tool.
The name of the output feature classes will be based on the name of the input feature class. For instance, if the input is c:\myworkspace\Gondor.shp, the output feature class will be named gondor. If the name already exists in the output workspace, a number will be appended to the end to make it unique (for example, _1).
For more information on geographic transformations, see Geographic transformation methods.
The following environments affect this tool: configKeyword, extent, MDomain, outputCoordinateSystem, outputMFlag, outputZFlag, outputZFlag, scratchWorkspace, spatialGrid1, spatialGrid2, spatialGrid3, workspace, XYDomain, and ZDomain.
Command line syntax
An overview of the Command Line window
BatchProject_management <Input_Feature_Class_or_Dataset; Input_Feature_Class_or_Dataset...> <Output_Workspace> {Output_Coordinate_System} {Template_dataset} {Transformation}
Parameter | Explanation | Data Type |
<Input_Feature_Class_or_Dataset; Input_Feature_Class_or_Dataset...> |
The input feature classes or feature datasets whose coordinates are to be converted. |
Geodataset |
<Output_Workspace> |
The output location of each new feature class or feature dataset whose coordinates have been converted. |
Workspace | Feature Dataset |
{Output_Coordinate_System} |
Name of the coordinate system to be applied to each input dataset or feature class. |
Coordinate System |
{Template_dataset} |
A feature class or feature dataset whose coordinate system is used during project. |
Geodataset |
{Transformation} |
A method that converts data between two geographic coordinate systems (datums). Whereas a spheroid approximates the shape of the earth, a geographic transformation or datum defines the position of the spheroid relative to the center of the earth. A local datum aligns its spheroid to closely fit the earth's surface in a particular area. |
String |
batchproject_management "c:\data_nad27\parcel_loc.shp;c:\data_nad27\roads.shp" c:\data_nad83 'Coordinate Systems\Projected Coordinate Systems\Utm\Nad 1927\NAD 1927 UTM Zone 14N.prj' # NAD_1927_To_NAD_1983_NTv2_Canada
Scripting syntax
About getting started with writing geoprocessing scripts
BatchProject_management (Input_Feature_Class_or_Dataset, Output_Workspace, Output_Coordinate_System, Template_dataset, Transformation)
Parameter | Explanation | Data Type |
Input_Feature_Class_or_Dataset (Required) |
The input feature classes or feature datasets whose coordinates are to be converted. |
Geodataset |
Output_Workspace (Required) |
The output location of each new feature class or feature dataset whose coordinates have been converted. |
Workspace | Feature Dataset |
Output_Coordinate_System (Optional) |
Name of the coordinate system to be applied to each input dataset or feature class. |
Coordinate System |
Template_dataset (Optional) |
A feature class or feature dataset whose coordinate system is used during project. |
Geodataset |
Transformation (Optional) |
A method that converts data between two geographic coordinate systems (datums). Whereas a spheroid approximates the shape of the earth, a geographic transformation or datum defines the position of the spheroid relative to the center of the earth. A local datum aligns its spheroid to closely fit the earth's surface in a particular area. |
String |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:/Workspace/canada.mdb" gp.BatchProject("rivers;roads", "c:/Workspace/provinces.mdb", "Coordinate Systems/Geographic Coordinate Systems/North America/North American Datum 1983.prj", "", "NAD_1927_To_NAD_1983_NTv2_Canada")