geos_buffer_point - ObjectVision/GeoDMS GitHub Wiki
Geometric functions > geos_buffer_point
- geos_buffer_point(point_data_item, buffer_distance, nrPointsInCircle)
geos_buffer_point(point_data_item, buffer_distance, nrPointsInCircle) creates a buffer polygon around each point in the point_data_item. The result is a polygon data item with the same domain as the point_data_item.
The buffer_distance is a Float64 value that specifies the radius of the buffer in the units of the coordinate system of the point_data_item.
The nrPointsInCircle is a UInt8 value that specifies the number of points used to approximate the circle. A higher value results in a smoother circle but increases computation time. The minimum value is 3.
The geos_ prefix of the function name indicates that the implementation of the operator uses geos.
- attribute point_data_item with a point value type
- parameter buffer_distance with a Float64 value type
- parameter nrPointsInCircle with a UInt8 value type
- The composition type of the point_data_item needs to be point.
- buffer_distance must be a positive value.
- nrPointsInCircle must be at least 3.
7.202
attribute<fpoint> buffer_geometry (address) := geos_buffer_point(address/geometry, 100.0, 16b);
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.