[postgis-devel] [PostGIS] #1059: Regress failure after gserialized: ST_ASGML/ST_GeomFromGML POINT empty invalid GML

PostGIS trac at osgeo.org
Fri Jan 27 22:59:46 PST 2012


#1059: Regress failure after gserialized: ST_ASGML/ST_GeomFromGML POINT empty
invalid GML
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  gml      |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Actually I get
 {{{
 select st_asgml('POINT EMPTY');
 <gml:Point/>
 }}}
 and I have a patch fixed up now that correctly handles that as input so
 that the behavior is symmetric
 {{{
 postgis20=# select st_astext(st_geomfromgml(st_asgml('POINT EMPTY')));
   st_astext
 -------------
  POINT EMPTY
 (1 row)
 }}}
 As long as we agree that select st_asgml('POINT EMPTY')  == <gml:Point/>
 then we're good to go. I'm ready to commit. The regression suite for
 in_gml right now insists that the correct answer to
 GeomFromGML('<gml:Point/>') is an ERROR

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1059#comment:2>
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