[postgis-devel] [PostGIS] #835: ST_CollectionExtract returns EMPTY or NULL inconsistently

PostGIS trac at osgeo.org
Wed Feb 16 10:11:26 PST 2011


#835: ST_CollectionExtract returns EMPTY or NULL inconsistently
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 Request a POINT from a LINE and you get a NULL.
 Request a POINT from an EMPTY and you get an EMPTY.

 Consistently returning NULL sounds like a good idea.
 Do you agree ?

 See http://postgis.refractions.net/pipermail/postgis-
 devel/2011-February/011830.html

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/835>
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