[postgis-devel] [PostGIS] #1000: box3d_extent output is 2d, casted to box3d makes up random numbers

PostGIS trac at osgeo.org
Tue May 31 09:24:57 PDT 2011


#1000: box3d_extent output is 2d, casted to box3d makes up random numbers
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  boxes    |  
---------------------+------------------------------------------------------
 {{{
 create table test (g geometry);
 insert into test values ('POINT(0 0)');
 insert into test values ('POINT(10 10)');
 select st_extent(g) from test;
  BOX(0 0,10 10)
 select st_extent(g)::box3d from test;
  BOX3D(0 0 6.90298898654887e-310,10 10 6.90298898647219e-310)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1000>
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-devel mailing list