[postgis-devel] [PostGIS] #259: ST_Distance geography throws an error with empty geographies

PostGIS trac at osgeo.org
Mon Oct 5 15:39:26 PDT 2009


#259: ST_Distance geography throws an error with empty geographies
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:               
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by pramsey):

 Oh, the semantics of EMPTY, I love you so. So, distance(something, empty)
 == 0 in general? What about distance(empty, empty)? Same? Shouldn't
 distance(something, empty) return NULL? Or (heh, IEEE) NaN?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/259#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list