bg_outer_multi_polygon
Geometric functions bg_outer_multi_polygon

syntax
- bg_outer_multi_polygon(polygon_data_item)
definition
bg_outer_multi_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.
The bg_ prefix of the function name indicates that the implementation of the operator uses boost geometry library.
A variant bg_outer_single_polygon with the same signature can be used for single polygons.
description
The bg_outer_multi_polygon function can be used to get the outer boundary of a polygon. It removes all interior lakes, islands in these lakes etc.
applies to
- Attribute polygon_data_item with a point Value type and a composition type polygon.
since version
14.11.2
example
attribute<fpoint> outer_polygon (polygon, district) := bg_outer_multi_polygon(polyset/geometry);