Bg_buffer_multi_point
Geometric functions bg_buffer_multi_point

syntax
- bg_buffer_multi_point(multipoint_data_item, size, nr_angles)
definition
bg_buffer_multi_point(multipoint_data_item, size, nr_angles) results in a multi Polygon Data item with buffer circles around each coordinate in the multipoint_data_item. The resulting data item has the same Domain unit as the multipoint_data_item.
The size argument indicates the buffer circle size.
The nr_angles argument indicates how many angles are used to make the buffer circles. More angles result in smoother circles but also in more data.
The bg_ prefix of the function name indicates that the implementation of the operator uses boost geometry library, more specifically, the buffer function.
applies to
- Attribute multipoint_data_item with a point Value type and composition type multipoint
- Data item size with a Float64 value type: a parameter, or an attribute with one value per element
- Data item nr_angles with a Uint8 value type: a parameter, or an attribute with one value per element
arc or polygon geometry as first argument
The first argument has composition type multipoint. An arc or polygon attribute as first argument is deprecated: it works, with a deprecation warning, and GeoDMS 21 will refuse it. Make multipoint geometry with points2multi_point.
since version
7.413
example
attribute<fpoint> points (district, multipoint) := points2multi_point(point, Sequence_rel, ordinal);
attribute<fpoint> buffer_circles (district, polygon) := bg_buffer_multi_point(points, 10.0, 16b);
More examples of buffer functions are on the page Buffer processing.
see also
- Bg_buffer_point
- Bg_buffer_linestring
- Bg_buffer_multi_polygon
- geos_buffer_multi_point
- bp_buffer_multi_point
- cgal_buffer_multi_point
- points2sequence, which makes multipoint geometry