ET GeoWizards ToolBox
Cogo Inverse
(Go to the main page of the
function)
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.
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. Go to the main page of the function for a description |
<DD | DMS | Radians | Gradians | Gons> | Direction
Unit. A String - the type of the output angle for the direction of
the segments. Go to the main page of the function for a description |
{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