Calculate Geodesic Angle (Cartografía)

Nivel de licencia:BasicStandardAdvanced


Calculates geodesic angles for the input features according to the defined coordinate system, and assigns the angle values to the specified field in the feature class that contains the input features.


This tool has been deprecated and replaced by the Calculate_Grid_Convergence_Angle tool.



CalculateGeodesicAngle_cartography (in_features, angle_field)
ParámetroExplicaciónTipo de datos

The input features for which geodesic angles will be computed.

Feature Layer

The field that will be updated with the geodesic angle values in decimal degrees.


Ejemplo de código

CalculateGeodesicAngle tool Example (Python Window)

The following Python window script demonstrates how to use the CalculateGeodesicAngle tool in immediate mode.

import arcpy
from arcpy import env
env.workspace = "C:\data"

arcpy.CalculateGeodesicAngle_cartography("cities", "city_angle")
CalculateGeodesicAngle tool Example (Stand-alone Python script)

This stand-alone script shows an example of using the CalculateGeodesicAngle tool.

# Name:
# Description: calculates a geodesic angle for a polygon
# Author: ESRI
# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
in_features = "cities"
angle_field = "city_angle"

# Execute Calculate Geodesic Angle
arcpy.CalculateGeodesicAngle_cartography(in_features, angle_field)


Información sobre licencias

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Sí