[postgis-devel] [PostGIS] #1377: GML for empty geometries should be NULL

PostGIS trac at osgeo.org
Sat Jan 28 10:25:22 PST 2012


#1377: GML for empty geometries should be NULL
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  gml      |  
---------------------+------------------------------------------------------

Comment(by pramsey):

 Well, IMO we can have symmetric behavior in AsGML/FromGML or we can have
 valid GML: I don't feel that we can have both. Currently AsGML emits
 invalid GML on empty, so that needs to be changed or accepted. I don't
 believe that we can depend on the complex valid variants that we think
 signify "empty" will be generally accepted as empty, so it would be better
 to punt on empty, either by erroring or by emitting null.

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