Available with Advanced license.
Records the coordinate system information of the Input Coverage including any associated projection parameters, such as datum and spheroid.
It creates or modifies the Input Coverage's projection definition file (PRJ) that stores the projection parameters.
Can be used if the input dataset or feature class does not have a projection defined. If the input dataset or feature class already has a projection defined, a warning will be raised but the tool will execute successfully.
To actually project the dataset or transform the datum or spheroid, you need to use the Project tool, which requires that your dataset have a PRJ file.
Define Projection will not change the coordinates of the output dataset. To project a dataset from one projection to another, you must use Project.
To find tables of predefined geographic coordinate system, projected coordinate system, and geographic (datum) transformations, see An overview of map projections.
The coverage for which the projection information is being defined.
The name of a text file defining the input projection parameters.
DefineProjection example (stand-alone script)
The following stand-alone script demonstrates how to define the projection on a global coverage. The coverage is stored in geographic coordinates.
# Name: DefineProjection_Example.py # Description: Defines the projection of a global coverage # Requirements: ArcInfo Workstation # Import system modules import arcpy from arcpy import env # Set environment settings env.workspace = "C:/data" # Set local variables inCover = "worldgrat" projectionFile = "newgeo.prj" # Execute DefineProjection arcpy.DefineProjection_arc (inCover, projectionFile)
- Basic: No
- Standard: No
- Advanced: Requires ArcInfo Workstation installed
- List of supported map projections
- About map projections
- What are geographic coordinate systems?
- What are projected coordinate systems?
- Geographic transformation methods
- An overview of the Projections toolset
- Define Projection
- What is a coverage?
- Storing coordinates
- Determining a map's projection