[postgis-devel] [PostGIS] #259: ST_Distance geography throws an error with empty geographies
PostGIS
trac at osgeo.org
Mon Oct 5 15:43:21 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 robe):
Yap that's why I said its technically not a bug just a difference in
behavior and philosophy.
I have no idea what theoretically the distance is between empty space and
a nonempty geometry or empty and empty. I would say its 0 because empty
space exists everywhere :)
However NULL with anything should be NULL -- because NULL is just missing
value (missing geometr/geography and empty space are hmm different :) )
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/259#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
More information about the postgis-devel
mailing list