Opened 10 years ago

Last modified 3 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 by Mike Taves, 10 years ago

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 by strk, 10 years ago

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

Milestone: 3.4.03.5.0

comment:4 by robe, 7 years ago

Milestone: 3.5.03.6.0

comment:5 by strk, 6 years ago

Milestone: 3.6.03.7.0

Ticket retargeted after milestone closed

comment:6 by robe, 5 years ago

Milestone: 3.7.03.8.0

comment:7 by pramsey, 3 years ago

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