[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:56:31 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):

 Figured, I'm casting a BOX2DF to a GBOX...
 Now, how to deal with these BOX2DF ? I can't find them defined in any
 header file.
 Should I just give up on the idea of using them ?
 Which BOX should a "ClipByBox2D" take then ?
 Would it be a BOX3D with a check of it being 2D only ?
 Or should it be a GEOMETRY with code extracting only bounding box from it
 ?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2954#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