Geographic Transformations
|
Specify transformation methods that can be used to project data on the fly.
Often, when data is projected on the fly it requires a transformation method. You can create a list of transformation methods the application can choose from, such as custom transformations (those created using the
Create Custom Geographic Transformation tool) and system supplied transformations (those out of the box).
- You can include out-of-the-box transformation methods, those supplied by the application, in the list, as well as 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 exit 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.
- This environment applies mainly to data conversion.
- Learn more about specifying general settings
- Learn more about environment settings
- Learn more about environment levels and hierarchy
An overview of the command line window
GeographicTransformations <Value Table; Value Table...>
| Parameters |
Explanation |
Datatype |
| <Value Table; Value Table...> |
The 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) |
String; String... |
Data types for geoprocessing tool parameters
Command line example
GeographicTransformations "Arc_1950_To_WGS_1984_5; PSAD_1956_To_WGS_1984_6"
An overview of scripting in geoprocessing
GeographicTransformations (Value Table; Value Table...)
| Parameters |
Explanation |
Datatype |
| Value Table; Value Table... (Required) |
The 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) |
String; String... |
Data types for geoprocessing tool parameters
Script example
import arcgisscripting
gp = arcgisscripting.create()
gp.workspace = "h:/workspace"
gp.GeographicTransformations = "Arc_1950_To_WGS_1984_5; PSAD_1956_To_WGS_1984_6"