[postgis-tickets] [PostGIS] #2495: geography && large_bbox fails

PostGIS trac at osgeo.org
Mon Oct 7 03:28:39 PDT 2013


#2495: geography && large_bbox fails
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.1
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 But even with somewhat smaller box, segmentized in geometry space, I still
 get a false ?
 {{{
 with params as (
  select st_makeenvelope(-170,-80,170,80,4326) as env, 'POINT(0
 0)'::geography as g
 ) SELECT g && st_segmentize(env::geometry,0.1) from params;
 }}}

 Thinking about it, I actually don't see why segmentize should make any
 difference as we're doing a bbox-only operation... uhm. Is there any way
 we can determine the direction of the box ?
 I mean, couldn't we interpret -180..180  differently than 180..-180 ? The
 former would be 360 degrees, the latter would be 0 degrees.

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