Repository navigation
Center_bound
MaartenHilferink edited this page Aug 12, 2026
·
11 revisions
Geometric functions center_bound
- center_bound(polygon_data_item)
center_bound(polygon_data_item) results in a point data item with the center of the bounding box of the polygon_data_item.
data item polygon_data_item with fpoint or dpoint value type and composition type polygon
attribute<point_rd> cb (district) := center_bound(district/geometry);
| district/geometry | cb |
|---|---|
| {21: xy(113810; 403025) ... | xy(113061; 402990) |
| {17: xy(113269; 400990) ... | xy(112734; 401207) |
| {19: xy(115099; 401238) ... | xy(114026; 401265) |
domain district, nr of rows = 3
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.