[postgis-devel] [PostGIS] #1323: lwgeom_extent_to_gml3 segfaults when passed an LWGEOM with no BBOX cache

PostGIS trac at osgeo.org
Fri Dec 9 04:58:11 PST 2011


#1323: lwgeom_extent_to_gml3 segfaults when passed an LWGEOM with no BBOX cache
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  strk         
     Type:  defect   |      Status:  assigned     
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 What should this function return for an empty geometry ?
 For comparison, ST_AsGML('LINESTRING EMPTY') returns:
 {{{
  <gml:LineString><gml:coordinates></gml:coordinates></gml:LineString>
 }}}

 .. which I'm not sure is correct either ..

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