Opened 11 years ago

Closed 11 years ago

#2090 closed defect (fixed)

gserialized_read_gbox_p sets Z dimension instead of M dimension for two-point lines

Reported by: darkpanda Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.2
Component: postgis Version: 2.0.x
Keywords: Cc:

Description

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.

Change History (1)

comment:1 by pramsey, 11 years ago

Resolution: fixed
Status: newclosed

fixed in 2.0, trunk, thanks!

Note: See TracTickets for help on using tickets.