Last_node - ObjectVision/GeoDMS GitHub Wiki
Network functions last node
- last_node(arc_polygon_dataitem)
last_node(arc_polygon_dataitem) results in a point data item with the coordinates of the last point of an arc or polygon of argument arc_polygon_dataitem.
Use the arc2segm function to split an arc in segments.
data item arc_polygon_dataitem with fpoint or dpoint value type and composition type arc or polygon.
attribute<fpoint> last_node (Road) := last_node(road/geometry);
| road/geometry | last_node |
|---|---|
| {2: xy(112631; 399246) xy(111866; 398599)} | xy(111866; 398599) |
| {3: xy(111866; 398599) xy(111924; 399495) xy(111524; 401801)} | xy(111524; 401801) |
| {2: xy(114921; 401529) xy(114823; 398584)} | xy(114823; 398584) |
domain Road, nr of rows = 3