Project (Coverage)

Summary

Changes the coordinate system of your coverage including its datum or spheroid.

Learn more about how Project works

Usage

Syntax

Project_arc (in_cover, out_cover, projection_file)
ParameterExplanationData Type
in_cover

The coverage whose coordinates are to be converted.

Coverage
out_cover

The output coverage whose coordinates have been converted to the new coordinate system. The output coverage may exist, but must be empty.

Coverage
projection_file

The name of a text file defining the input and output projection parameters.

File

Code Sample

Project example (stand-alone script)

The following stand-alone script demonstrates how to project a coverage from a geographic coordinate system into a projected coordinate system.

# Name: Project_Example.py
# Description: Projects a global coverage
# Requirements: ArcInfo Workstation
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
inCover = "worldgrat"
outCover = "C:/output/sinusoidcov"
projectionFile = "geo_to_sinusoidal.prj"

# Execute Project
arcpy.Project_arc(inCover, outCover, projectionFile)

Environments

Related Topics

Licensing Information

ArcView: No
ArcEditor: No
ArcInfo: Requires ArcInfo Workstation installed

Published 6/8/2010