[postgis-devel] [PostGIS] #729: ST_MakeLine aggregate function crashes with empty geometries

PostGIS trac at osgeo.org
Thu Dec 23 10:48:41 PST 2010


#729: ST_MakeLine aggregate function crashes with empty geometries
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 This is with gserialized defined.


 {{{
 -- ST_MakeLine aggregate crashes with empty geometries
 SELECT ST_MakeLine(foo1.the_geom) 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
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/729>
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-devel mailing list