[postgis-tickets] [PostGIS] #3433: ST_ClusterIntersecting gives incorrect results for MultiPoints

PostGIS trac at osgeo.org
Mon Jan 18 06:44:00 PST 2016


#3433: ST_ClusterIntersecting gives incorrect results for MultiPoints
---------------------+---------------------------
 Reporter:  dbaston  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  high     |  Milestone:  PostGIS 2.2.2
Component:  postgis  |    Version:  2.2.x
 Keywords:           |
---------------------+---------------------------
 The following query

 {{{
 SELECT ST_AsText(unnest(ST_ClusterIntersecting(geom)))
 FROM (SELECT unnest(ARRAY['POINT (0 0)', 'MULTIPOINT (0 0, 1 1)']) AS
 geom) sq;
 }}}

 returns

 {{{
 GEOMETRYCOLLECTION(POINT(0 0))
 GEOMETRYCOLLECTION(MULTIPOINT(0 0,1 1))
 }}}

 ST_ClusterWithin seems to be unaffected.

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