[postgis-tickets] [PostGIS] #4101: garden test crash on ST_ClusterMeans on empty geometries

PostGIS trac at osgeo.org
Sat Jun 2 18:17:38 PDT 2018


#4101: garden test crash on ST_ClusterMeans on empty geometries
----------------------+---------------------------
  Reporter:  robe     |      Owner:  komzpa
      Type:  defect   |     Status:  assigned
  Priority:  blocker  |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------
Description changed by robe:

Old description:

> {{{
> SELECT ST_ClusterKMeans(foo1.the_geom, 3)OVER()  As result
>                                                         FROM ((SELECT
> ST_GeomFromText('POINT EMPTY',4326) As the_geom
>                         UNION ALL SELECT ST_GeomFromText('MULTIPOINT
> EMPTY',4326) As the_geom
>                         UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON
> EMPTY',4326) As the_geom
>                         UNION ALL SELECT ST_GeomFromText('LINESTRING
> EMPTY',4326) As the_geom
>                         UNION ALL SELECT ST_GeomFromText('MULTILINESTRING
> EMPTY',4326) As the_geom ) ) As foo1 LIMIT 10;
> }}}

New description:

 {{{
 SELECT ST_ClusterKMeans(foo1.the_geom, 3)OVER()  As result
                                                         FROM ((SELECT
 ST_GeomFromText('POINT EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTIPOINT
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTIPOLYGON
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('LINESTRING
 EMPTY',4326) As the_geom
                         UNION ALL SELECT ST_GeomFromText('MULTILINESTRING
 EMPTY',4326) As the_geom ) ) As foo1 LIMIT 10;
 }}}


 output

 {{{
 Connection to the server has been lost.
 }}}

--

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