[postgis-tickets] [PostGIS] #2954: ST_ClipByBox2D: ERROR: gbox_overlaps: cannot compare geodetic and non-geodetic boxes
PostGIS
trac at osgeo.org
Fri Oct 3 01:47:36 PDT 2014
#2954: ST_ClipByBox2D: ERROR: gbox_overlaps: cannot compare geodetic and non-
geodetic boxes
---------------------+------------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.2.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
It's worst: the actual results depend on some previous state.
MEMORY FAULT HIDING !
{{{
=# SELECT st_clipbybox2d('SRID=4326;POINT(0 0)','BOX3D(-1 -1,1
1)'::box3d::box2d);
0101000020E610000000000000000000000000000000000000
=# SELECT st_clipbybox2d('SRID=4326;POINT(0 0)','BOX3D(-1 -1,1
1)'::box3d);
ERROR: gbox_overlaps: cannot compare geodetic and non-geodetic boxes
=# SELECT st_clipbybox2d('SRID=4326;POINT(0 0)','BOX3D(-1 -1,1
1)'::box3d::box2d);
ERROR: gbox_overlaps: cannot compare geodetic and non-geodetic boxes
}}}
Note that the first (succeeding) and last (failing) queries are identical.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2954#comment:2>
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