Open Table of Contents

Points Along Polylines

Go to ToolBox Implementation Go to .NET Implementation

Creates points along the polylines of the input dataset.

Inputs:

Outputs:

Notes:

Examples:
Two Point datasets created

RIGHT:

  • Side = "Right"
  • Distance Along = 0.5
  • Offset Distance = 50 feet

LEFT:

  • Side = "Left"
  • Distance Along = 0.5
  • Offset Distance = 50 feet

  ToolBox implementation
(Go to TOP)

Command line syntax

ET_GPLinesFromPointDirDist <input_dataset> <out_feature_class> <relative_distance> <Both | Left | Right> {offset}

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)
<relative_distance>  A Double representing the relative distance along the polyline. A value between 0 and 1 indicating the distance from the from point as a ratio.
  • 0 indicates the start point
  • 0.5 indicates a point in the middle of the polyline
  • 1 indicates the end point of the polyline
<Both | Left | Right> A String - On which side of the polyline will be placed the point if the offset distance is used - three options are available
  • "Both" - the middle of the station lines will intersect the original polylines
  • "Left" - station lines will be located on the left side of the polylines
  • "Right" - station lines will be located on the right side of the polylines
 {offset} A Double representing the distance from the polyline for the points to be created. If not specified, the points will be on the polylines

Scripting syntax

ET_GPLinesFromPointDirDist (input_dataset, out_feature_class,relative_distance, offset_side, offset)

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

.NET implementation
(Go to TOP)

PointsAlongPolylines(pInFC As IFeatureClass, sOutFName As String, dAlong As Double, sSide As String, Optional dOffset As Double = 0) As IFeatureClass

Copyright Ianko Tchoukanski