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

PostGIS trac at osgeo.org
Mon Jun 20 03:39:49 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    |  
---------------------+------------------------------------------------------

Comment(by mcayland):

 Thanks for the report. This looks like a particular solution, however I
 would much rather like to change the patch like this:

 out->zmin = in->zmin;
 out->zmax = in->zmax;

 And then ensure that zmax/zmin are set to zero when the box3d_extent is
 created. If you could rework your patch in this way then I am happy to
 review and commit it.

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