[PostGIS] #5928: ST_Collect creates invalid result with only valid input

PostGIS trac at osgeo.org
Tue Jun 24 07:50:08 PDT 2025


#5928: ST_Collect creates invalid result with only valid input
--------------------------------+---------------------------
  Reporter:  Lars Aksel Opsahl  |      Owner:  pramsey
      Type:  defect             |     Status:  new
  Priority:  medium             |  Milestone:  PostGIS 3.6.0
 Component:  postgis            |    Version:  3.5.x
Resolution:                     |   Keywords:
--------------------------------+---------------------------
Comment (by pramsey):

 Your simple example doesn't occur for me.
 {{{
  select ST_IsValid('GEOMETRYCOLLECTION(POLYGON((0 0,10 0,5 5,0
 0)),POLYGON((5 4,10 0,15 5,5 4)))');
  st_isvalid
 ------------
  t

 --  POSTGIS="3.6.0dev 3.5.0-404-g4e4b425e2" [EXTENSION] PGSQL="180"
 GEOS="3.14.0dev-CAPI-1.20.0" PROJ="9.6.2 NETWORK_ENABLED=ON
 URL_ENDPOINT=https://cdn.proj.org
 USER_WRITABLE_DIRECTORY=/Users/pramsey/Library/Application Support/proj
 DATABASE_PATH=/opt/homebrew/Cellar/proj/9.6.2/share/proj/proj.db"
 (compiled against PROJ 9.6.2) LIBXML="2.9.13" LIBJSON="0.18"
 LIBPROTOBUF="1.5.2" WAGYU="0.5.0 (Internal)"

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5928#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