[postgis-devel] [PostGIS] #2090: gserialized_read_gbox_p sets Z dimension instead of M dimension for two-point lines

PostGIS trac at osgeo.org
Sat Nov 10 00:37:27 PST 2012


#2090: gserialized_read_gbox_p sets Z dimension instead of M dimension for two-
point lines
-----------------------+----------------------------------------------------
 Reporter:  darkpanda  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.2
Component:  postgis    |     Version:  2.0.x        
 Keywords:             |  
-----------------------+----------------------------------------------------
 It appears that the M dimension values are accidentally being set to the
 gbox's Z dimension values in gserialized_read_gbox_p around line 233 of
 liblwgeom/g_serialized.c in the trunk branch. Looks like those lines
 should be setting to gbox->mmin and gbox->mmax rather than zmin and zmax.
 The same problem exists in the 2.0 branch as well. No patch attached since
 the change is so trivial.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2090>
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