Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Projections and Transformations toolset > Tools

Define Projection (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

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


Usage tips

Command line syntax
An overview of the Command Line window
DefineProjection_management <in_dataset> <coor_system>

Parameter Explanation Data Type
<in_dataset>

Name of dataset or feature class whose projection is to be defined.

Feature Layer | Geodataset
<coor_system>

Name of the coordinate system to be applied to the input dataset or feature class.

Coordinate System
Data types for geoprocessing tool parameters


Command line example

DefineProjection_management c:\streams.shp 'Coordinate Systems\Geographic Coordinate Systems\Africa\Adindan.prj'

Scripting syntax
About getting started with writing geoprocessing scripts
DefineProjection_management (in_dataset, coor_system)

Parameter Explanation Data Type
in_dataset (Required)

Name of dataset or feature class whose projection is to be defined.

Feature Layer | Geodataset
coor_system (Required)

Name of the coordinate system to be applied to the input dataset or feature class.

Coordinate System

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/Workspace"
gp.toolbox = "management"
coordsys = "Coordinate Systems/Geographic Coordinate Systems/North America/North American Datum 1983.prj"
gp.defineprojection("counties.shp", coordsys)

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.