Opened 12 years ago
Last modified 5 years ago
#532 new enhancement
Extend GEOSGetCentroid for Z dimension
| Reported by: | Mike Taves | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | GEOS Fund Me |
| Component: | Default | Version: | main |
| Severity: | Unassigned | Keywords: | |
| Cc: |
Description
Extend GEOSGetCentroid to calculate the Z component of a centroid from 3D geometries.
Change History (7)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
| Type: | defect → enhancement |
|---|
no, there's no co-planarity check in isValid. There's no support for real 3D, only 2.5D. Extension requests would be better directed at JTS.
comment:3 by , 11 years ago
| Milestone: | 3.4.0 → 3.5.0 |
|---|
comment:4 by , 9 years ago
| Milestone: | 3.5.0 → 3.6.0 |
|---|
comment:6 by , 7 years ago
| Milestone: | 3.7.0 → 3.8.0 |
|---|
comment:7 by , 5 years ago
| Milestone: | 3.8.0 → GEOS Fund Me |
|---|
Note:
See TracTickets
for help on using tickets.

Updating
CentroidPoint.cppandCentroidLine.cppis straight-forward, and the results work with the C-API (via PostGIS). However, I'm stumped onCentroidArea.cpp, in particular CentroidArea::area2. The linear rings would really need to be co-planar to have a true 3D areal feature (is this part ofisValid()?).