[postgis-tickets] [PostGIS] #3733: Cannot ANALYZE table w/ valid features in it
PostGIS
trac at osgeo.org
Tue Sep 26 10:52:12 PDT 2017
#3733: Cannot ANALYZE table w/ valid features in it
----------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.3.4
Component: postgis | Version: 2.3.x
Resolution: wontfix | Keywords:
----------------------+---------------------------
Changes (by pramsey):
* status: new => closed
* resolution: => wontfix
Comment:
OK, so the computation works fine in 2D mode, but in 4D mode it runs afoul
of this little code block:
{{{
if ( ! gbox_is_valid(&gbox) )
{
POSTGIS_DEBUGF(3, " skipped infinite/nan geometry %d", i);
continue;
}
}}}
The super-huge M value gets bumped up to Inf in float space, so the box
is, from the point-of-view of the stats system, not handle-able.
I'm going to close this as won't-fix since hte workaround is just to
force2d the crapping values off your geometries.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3733#comment:3>
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