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

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

 I've added some debugging lines but cannot understand what I'm seeing:
 {{{
 pg22=# 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;
 NOTICE:  Boxes have dims 3 and 3
 NOTICE:   0 - MIN(a):1 MAX(a):1
 NOTICE:   0 - MIN(b):-1 MAX(b):0.173648
  ?column?
 ----------
  f
 (1 row)
 }}}

 Where do those numbers (1,-1,0.173648) come from ?

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