Opened 13 years ago

Last modified 7 years ago

#1783 new enhancement

Extend ST_Centroid for Z dimension

Reported by: Mike Taves Owned by: pramsey
Priority: medium Milestone: PostGIS Fund Me
Component: postgis Version: master
Keywords: Cc:

Description

Currently ST_Centroid is strictly 2D, and drops Z/M dimensions if they exist. However, a centroid component to these dimensions can be calculated and returned in the Z/M coordinates.

Change History (2)

comment:1 by Mike Taves, 13 years ago

Milestone: PostGIS 2.1.0PostGIS Future
Summary: Extend ST_Centroid for Z/M dimensionsExtend ST_Centroid for Z dimension

This would probably need to be done in GEOSGetCentroid, which would only have the Z dimension. I'm not sure if an M-component of a centroid would be useful anyways.

See http://trac.osgeo.org/geos/ticket/532 for GEOS ticket.

comment:2 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

Note: See TracTickets for help on using tickets.