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: 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

see also

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