Last_node - ObjectVision/GeoDMS GitHub Wiki

Network functions last node

syntax

  • last_node(arc_polygon_dataitem)

definition

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.

description

Use the arc2segm function to split an arc in segments.

applies to

data item arc_polygon_dataitem with fpoint or dpoint value type and composition type arc or polygon.

example

attribute<fpoint> last_node (Road) := last_node(road/geometry);
road/geometry last_node
{2 {399246, 112631}{398599, 111866}} {398599, 111866}
{3 {398599, 111866}{399495, 111924} {401801, 111524}} {401801, 111524}
{2 {401529, 114921}{398584, 114823}} {398584, 114823}

domain Road, nr of rows = 3

see also

⚠️ **GitHub.com Fallback** ⚠️