Maptitude GISDK Help |
Gets the contents of the direction field for a line feature.
direction = GetDirection(integer line_ id)
Argument |
Contents |
line_ id |
ID of a line |
An integer indicating the direction of flow:
Value |
Direction of Flow |
-1 |
One-way in the opposite direction from which the coordinates of the line feature are stored (reverse topological direction) |
0 |
Two-way |
1 |
One-way in the same direction in which the coordinates of the line feature are stored (topological direction) |
The current layer must be a line layer.
direction = GetDirection(1023)
©2025 Caliper Corporation | www.caliper.com |