Open Table of Contents

Point Angle and Position

Go to ToolBox Implementation Go to .NET Implementation

Identifies the closest polyline from the reference layer to each point and calculates: the angle of the closest polyline segment, the position & stationing of the point along the polyline and the distance to the polyline




ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPPointAngleAndPosition <input_dataset> <Reference_dataset> <out_feature_class> <search_tolerance>


Expression Explanation
<input_dataset> A Point feature class or feature layer
<Reference_dataset> A Polyline 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)
<search_tolerance> A Double representing  the Search tolerance (in the units of the calc_spatial_reference) to be used

Scripting syntax

ET_GPPointAngleAndPosition (input_dataset, Reference_dataset, out_feature_class, search_tolerance)

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

.NET implementation
(Go to TOP)

PointAngleAndPosition(pInFC As IFeatureClass, pRefFC As IFeatureClass, sOutFName As String, dSearchTol As Double) As IFeatureClass

Copyright Ianko Tchoukanski