split_multi_linestring - ObjectVision/GeoDMS GitHub Wiki

Geometric functions split_multi_linestring

syntax

  • split_multi_linestring(arc_poly_dataitem)

definition

  • split_multi_linestring (arc_poly_dataitem) results in a new uint32 domain-unit with arcs or polygons. A null coordinate in the arc_poly_dataitem argument is interpreted as separator. The resulting number of entries is the number of null coordinates in the arc_poly_dataitem plus 1.

The split_multi_linestring function generates two subitems:

  • geometry: the geometry of the new polygons. This attribute has the same values unit as the arc_poly_dataitem argument.
  • org_rel: a relation for the new domain towards the domain of the arc_poly_dataitem argument.

example

unit<uint32> splitted_multi_linestring := split_multi_linestring (arc_poly_dataitem);
arc_poly_dataitem
0;{5: {100, 100} {null, null} {200, 200} {null, null} {300, 300}}

SourceDomain, nr of rows = 1

geometry org_rel
{1; {100, 100}} 0
{1; {200, 200}} 0
{1; {300, 300}} 0

Domain: splitted_multi_linestring, nr or rows = 3

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