Skip To Content

Geodetic Densify

Summary

Creates new features by replacing input feature's segments with densified approximations of geodesic segments. Four type of geodesic segments can be constructed: Geodesic, Great Elliptic, Loxodrome, and Normal Section.

Illustration

The input line segments are replaced with geodesic segments and written to the output.
The input line segments are replaced with geodesic segments and written to the output.

Usage

  • The end points of the segments will be connected using a geodetic approximation. The input segment type is irrelevant; linear and non-linear (circular arc, elliptic arc, and Bezier curve) segments with common end points will yield the same output.

  • No output feature will be written for input features made of a single segment with coincident start and end point. For example, a polygon feature made of a single circular arc will not be written to the output.

Syntax

GeodeticDensify_management (in_features, out_feature_class, geodetic_type, {distance})
ParameterExplanationData Type
in_features

The input line or polygon features.

Feature Layer
out_feature_class

The output feature class containing the densified geodesic features.

Feature Class
geodetic_type

The type of geodetic segment to construct. Geodetic calculations are performed on the ellipsoid associated with the input data's coordinate system.

  • GEODESICThe shortest distance between two points on the surface of the spheroid (ellipsoid).
  • LOXODROMEThe line of equal azimuth (from a pole) connecting the two points.
  • GREAT_ELLIPTIC The line made by the intersection of a plane that contains the center of the spheroid and the two points.
  • NORMAL_SECTIONThe line made by the intersection of a plane that contains the center of the spheroid and is perpendicular to the surface at the first point.
String
distance
(Optional)

The distance between vertices along the output geodesic segment. The default value is 50 kilometers.

Linear unit

Code sample

GeodeticDensify example 1

Simple example of running geodeticDensify tool in python.

import arcpy
arcpy.GeodeticDensify_management(r"C:\data.gdb\flight_lines", r"C:\data.gdb\flight_lines_geodesic", "GEODESIC")

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: Yes
  • ArcGIS Desktop Advanced: Yes

Related topics