bg_outer_single_polygon - ObjectVision/GeoDMS GitHub Wiki

Geometric functions bg_outer_single_polygon

syntax

  • bg_outer_single_polygon(polygon_data_item)

definition

bg_outer_single_polygon(polygon_data_item) results in a polygon data item with the outer ring of each polygon in the polygon_data_item. The resulting data item has the same domain unit as the polygon_data_item.

It has the same signature and result as bg_outer_multi_polygon, but each entry of the polygon_data_item is treated as a single polygon rather than as a multi polygon.

description

The bg_outer_single_polygon function can be used to get the outer boundary of a polygon. It removes all interior lakes, islands in these lakes etc.

The bg_ prefix of the function name indicates that the implementation of the operator uses boost geometry library.

applies to

since version

14.1.1

example

attribute<fpoint> outer_polygon (polygon, district) := bg_outer_single_polygon(polyset/geometry);

see also

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