[PostGIS] #5962: Inconsistent results in multipoint clipping

PostGIS trac at osgeo.org
Wed Aug 13 01:00:35 PDT 2025


#5962: Inconsistent results in multipoint clipping
----------------------+---------------------------
  Reporter:  bradh    |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  low      |  Milestone:  PostGIS 3.5.4
 Component:  postgis  |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by bradh):

 Another example:

 {{{
 SELECT ST_AsText(ST_ClipByBox2D(ST_GeomFromText('MULTIPOINT((1 1),(6 4),(4
 4))'), ST_MakeEnvelope(0, 0, 4, 4 )));
  st_astext
 ------------
  POINT(1 1)
 (1 row)

 SELECT ST_AsText(ST_ClipByBox2D(ST_GeomFromText('MULTIPOINT((1 1),(3 4),(4
 4))'), ST_MakeEnvelope(0, 0, 4, 4 )));
            st_astext
 -------------------------------
  MULTIPOINT((1 1),(3 4),(4 4))
 (1 row)

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