bg_outer_single_polygon - ObjectVision/GeoDMS GitHub Wiki
Geometric functions bg_outer_single_polygon
- bg_outer_single_polygon(polygon_data_item)
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.
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.
- attribute polygon_data_item with a point value type and a composition type polygon.
14.1.1
attribute<fpoint> outer_polygon (polygon, district) := bg_outer_single_polygon(polyset/geometry);