[postgis-devel] [PostGIS] #1000: box3d_extent output is 2d, casted to box3d makes up random numbers
PostGIS
trac at osgeo.org
Sun Jun 19 07:59:36 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 |
---------------------+------------------------------------------------------
Changes (by simoc):
* cc: simoc (added)
Comment:
Problem is that struct returned to SQL from C function
BOX3D_extent_to_BOX3D() is not fully initialised.
Solution is to add two lines to this C function. A diff of the required
changes is:
{{{
$ diff /tmp/postgis-2.0.0SVN/postgis/lwgeom_box3d.c
./postgis/lwgeom_box3d.c
186a187,188
> out->zmin = 0;
> out->zmax = 0;
}}}
I am working with the current SVN revision 7429 postgis-2.0.0SVN.tar.gz
source.
Can someone with commit access please commit this change.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1000#comment:1>
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