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

PostGIS trac at osgeo.org
Tue Oct 6 07:38:51 PDT 2009


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

 Sold, to the man with the winning smile. I find the 0.0 result more
 confusing than the null result, so I'll make both results null. Mind you
 there's all kinds of other interesting questions in dealing with empties
 that I'm sure we'll get to :)  Here's one: for st_dwithin(empty,
 geometry), should the result be NULL or FALSE?

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


More information about the postgis-devel mailing list