Output coordinate system |
|
Release 9.2
Last modified September 4, 2007 |
![]() ![]() ![]() Print all topics in : "General settings" |
Specify the coordinate system that will be used for processing and set to the output geodataset. The coordinate system (geographic or projected) defines the location of the spatial data on the earth.
If the geoprocessing tool has an input feature class, and the coordinate system environment is not set, the the coordinate system of the input* will be used as the processing and set as the output feature class' coordinate system. To override this, set the "Coordinate System environment" to the desired coordinate system.
* For tools which have multiple inputs (intersect for example) the coordinate of the first feature class in the list will be used.
An overview of the command line window
OutputCoordinateSystem <outputCoordinateSystem>
Parameters | Explanation | Datatype |
<outputCoordinateSystem> | Specifies the output features coordinate system. If not explicitly set and the output does not reside inside a feature dataset, the spatial reference of the first input will be used.
|
Coordiante System |
outputCoordinateSystem "Coordinate Systems\Projected Coordinate Systems\Utm\Nad 1983\NAD 1983 UTM Zone 22N.prj"
An overview of scripting in geoprocessing
OutputCoordinateSystem (outputCoordinateSystem)
Parameters | Explanation | Datatype |
outputCoordinateSystem (Required) | Specifies the output features coordinate system. If not explicitly set and the output does not reside inside a feature dataset, the spatial reference of the first input will be used.
|
Coordinate System |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "h:/workspace" gp.OutputCoordinateSystem = "Coordinate Systems\Projected Coordinate Systems\Utm\Nad 1983\NAD 1983 UTM Zone 22N.prj"