Opened 10 years ago

Last modified 2 years ago

#532 new enhancement

Extend GEOSGetCentroid for Z dimension

Reported by: Mike Taves Owned by: geos-devel@…
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 Changed 10 years ago by Mike Taves

Updating CentroidPoint.cpp and CentroidLine.cpp is straight-forward, and the results work with the C-API (via PostGIS). However, I'm stumped on CentroidArea.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 of isValid()?).

comment:2 Changed 10 years ago by strk

Type: defectenhancement

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 Changed 9 years ago by robe

Milestone: 3.4.03.5.0

comment:4 Changed 7 years ago by robe

Milestone: 3.5.03.6.0

comment:5 Changed 5 years ago by strk

Milestone: 3.6.03.7.0

Ticket retargeted after milestone closed

comment:6 Changed 4 years ago by robe

Milestone: 3.7.03.8.0

comment:7 Changed 2 years ago by pramsey

Milestone: 3.8.0GEOS Fund Me
Note: See TracTickets for help on using tickets.