[PostGIS] #6076: ST_Length() on GEOMETRYCOLLECTION for geography type
PostGIS
trac at osgeo.org
Mon May 11 08:58:27 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:
--------------------------+---------------------------
Comment (by Paul Ramsey <pramsey@…>):
In [changeset:"2d60db735cd96d889d7e43474deb436563ec3b77/git" 2d60db7/git]:
{{{#!CommitTicketReference repository="git"
revision="2d60db735cd96d889d7e43474deb436563ec3b77"
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:3>
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