[PostGIS] #6076: ST_Length() on GEOMETRYCOLLECTION for geography type
PostGIS
trac at osgeo.org
Mon May 11 08:57:00 PDT 2026
#6076: ST_Length() on GEOMETRYCOLLECTION for geography type
--------------------------+---------------------------
Reporter: paleolimbot | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 3.6.3
Component: postgis | Version: 3.6.x
Resolution: fixed | Keywords:
--------------------------+---------------------------
Changes (by Paul Ramsey <pramsey@…>):
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"ae7249900558365d48a7c5fe5ed34463becd8382/git" ae72499/git]:
{{{#!CommitTicketReference repository="git"
revision="ae7249900558365d48a7c5fe5ed34463becd8382"
Fix ST_Length and ST_Perimeter for geography collections, closes #6076
ST_Length(geography) on collections now only sums linear components,
and ST_Perimeter(geography) now only sums areal components. Added
lwgeom_perimeter_spheroid to support the separation of logic.
Preserve legacy behaviour in ST_LengthSpheroid.
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6076#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list