[postgis-tickets] [PostGIS] #2487: Support invalid keys in GiST index
PostGIS
trac at osgeo.org
Wed Sep 25 15:56:54 PDT 2013
#2487: Support invalid keys in GiST index
---------------------+------------------------------------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.5
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
For various input geometries (ones with NaN coordinates, EMPTY ones) there
is no reasonable box2df that can be created to represent it within the
index. We need to return a key, or an error, and we can't error
particularly on valid things like EMPTY. So we need a key which means
"just ignore me". Probably (NaN, Nan, Nan, Nan). Or, really, any box2df
with xmin==NaN.
Then 2d ops and 3d ops need to be fixed up to understand it. And probably
also Inf geometries need to be either supported (in all their Inf glory)
or considered invalid as well.
This is legitimately a bug, though probably an under-exercised one, since
people don't use invalid/empty geometries very much. It should be fixed
all the way back into the 2.0 branch.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2487>
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-tickets
mailing list