Open Table of Contents

COGO Inverse

Go to ToolBox Implementation Go to .NET Implementation

Converts a polyline or a polygon data set to a feature class containing only single segmented polylines. For each segment the COGO attributes are calculated and added to the resulting attribute table. The attributes of the original features are copied to the output features. 

Inputs:

Options:

Polar North Azimuth South Azimuth Quadrant Bearing

Outputs:

Notes :

ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPCogoInverse <input_dataset> <out_feature class> <NorthAzimuth | SouthAzimuth | Polar | QuadrantBearing> <DD | DMS | Radians | Gradians | Gons> {linear_precision} {angular_precision} {add_start_end_coordinates} {add_ZM_attributes}

Parameters

Expression Explanation
<input_dataset> A Polyline or Polygon feature class or feature layer
<out_feature class> A String - the full name of the output feature class (A feature class with the same full name should not exist)
<NorthAzimuth | SouthAzimuth | Polar | QuadrantBearing> Direction Type. A String -  the type of the output angle for the direction of the segments.
<DD | DMS | Radians | Gradians | Gons> Direction Unit. A String -  the type of the output angle for the direction of the segments. 
{linear_precision} A Number  representing the number of places after the decimal point for the output linear measurements
{angular_precision}

A Number  representing the number of places after the decimal point for the output angular  measurements

{add_start_end_coordinates} A Boolean  indicating whether the Start & End point coordinates will be recorded for the segments
{add_ZM_attributes} A Boolean  indicating whether the Z/M values of the segments will be recorded in the output attribute table. If the input features do not have Z/M values this parameter is set to False automatically

Scripting syntax

ET_GPCogoInverse (input_dataset, out_feature class, direction_type, direction_unit, linear_precision, angular_precision, add_start_end_coordinates, add_ZM_attributes)

See the explanations above:
<> - required parameter
{} - optional parameter

.NET implementation
(Go to TOP)

CogoInverse(pInFC As IFeatureClass, sOutFName As String, bCoords As Boolean, bZattrib As Boolean, sDirType As String, sDirUnits As String, iLinPrec As Integer, iAngPrec As Integer) As IFeatureClass

Copyright Ianko Tchoukanski