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

PostGIS trac at osgeo.org
Mon Oct 7 09:05:57 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):

 A 181 degrees wide box is enough to confuse geography_overlaps:
 {{{
 pg22=# select geography_overlaps( ST_MakeEnvelope(-90,-1,91,1,4326),
 'POINT(0 1)' );
  geography_overlaps
 --------------------
  f
 (1 row)
 }}}

 180 is good:
 {{{
 pg22=# select geography_overlaps( ST_MakeEnvelope(-90,-1,90,1,4326),
 'POINT(0 1)' );
  geography_overlaps
 --------------------
  f
 (1 row)
 }}}

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