ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Geographic Transformations (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the Geographic Transformations environment will use the transformation methods when projecting data.

Usage notes

  • You can include out-of-the-box transformation methods, those supplied by the application, those in the list, and custom transformation methods created using the Create Custom Geographic Transformation tool.
  • Regardless of the number of transformations in the list, the application will only use those appropriate to the projection. All others will be ignored.
  • The environment does not support composite transformation methods. If projecting the features requires multiple transformation methods, the application will not select multiple options from the environments list, regardless of whether the necessary transformation methods exist in the list or not. The same is true if your custom geographic transformation contains multiple methods. These will not be applied.

    If the projection requires more than one transformation method, use the Project tool.

Dialog syntax

  • Geographic Transformations—Create a list of transformation methods. This can include system-provided transformation methods as well as custom transformation methods created using the Create Custom Geographic Transformation tool.

Scripting syntax

arcpy.env.geographicTransformations = geographic_transformations

ParameterExplanation

geographic_transformations

A semicolon-delimited string of transformation methods. This can include system-provided transformation methods as well as custom transformation methods created using the Create Custom Geographic Transformation tool.

geographicTransformations syntax

Script example

Project data into new coordinate system while buffering

import arcpy

# Set the workspace, outputCoordinateSystem and geographicTransformations environments
arcpy.env.workspace = "c:/data"
arcpy.env.outputCoordinateSystem = arcpy.SpatialReference("WGS 1984 UTM Zone 18N")
arcpy.env.geographicTransformations = "Arc_1950_To_WGS_1984_5; PSAD_1956_To_WGS_1984_6"

arcpy.Buffer_analysis("roads.shp", "roads_buffer.shp", "10 meters")

Related Topics

  • Geographic transformation methods
  • Choosing an appropriate transformation
  • An overview of geoprocessing environments
  • Environment levels and hierarchy
  • Setting geoprocessing environments
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal