Go to ET GeoWizards 12.x User Guide
Point Angle and Position
Go to ToolBox
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
Inputs:
- Point feature layer
- Reference polyline layer
- Search tolerance - the maximum distance to search for features in the distance layer
Outputs:
- A new Point feature class. The attribute table of the resulting feature class will have
three new fields
- [ET_Angle] - the angle of the closest segment of the closest to the point polyline.
The angle is in degrees 0.00 = North, clockwise.
- [ET_Pos] - the distance from the start point of the closest polyline to the point along
the polyline as a percentage of the total length of the polyline.
- [ET_Station] - the actual distance from the start point of the closest polyline to the
point along the polyline, measured in the map units
- [ET_Dist] - the shortest distance from the point to the closest polyline measured in the
map units
- [ET_Side] - indicates on which side of the polyline is
the point (introduced in version 10.2).
- [ET_M]/[ET_Z] - the M(Z) value interpolated from the closest
polyline (if the reference dataset is of PolylineM(Z) type)
- [ET_Closest] - the ID of the closest polyline from
the reference dataset.
Notes:
- If the distance from a point to the closest feature from the distance layer is larger
than the Search Tolerance then the [ET_Angle] will have a value of 0, [ET_Pos] and
[ET_Station] will have values of -1
- The distances are calculated in the Spatial Reference of the input feature
class
- All the attributes of the input point dataset are transferred to the output
- The function incorporates the functionality of the Point Distance and
Measure Points functions available in the pre - 11.0 versions of ET
GeoWizards.
ToolBox
implementation
(Go to TOP)
Command line syntax
ET_GPPointAngleAndPosition <input_dataset>
<Reference_dataset> <out_feature_class> <search_tolerance>
Parameters
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