Commit fce3e121 authored by Paul Ramsey's avatar Paul Ramsey

Fix flags in case where a boxless geom comes in with a "has box" set of flags.

References #4707


git-svn-id: http://svn.osgeo.org/postgis/trunk@16612 b70326c6-7e19-0410-871a-916f4a2858ee
parent d5d26781
Pipeline #23672978 passed with stage
in 18 minutes and 13 seconds
......@@ -1193,6 +1193,8 @@ GSERIALIZED* gserialized_from_lwgeom(LWGEOM *geom, size_t *size)
*/
if ( geom->bbox )
FLAGS_SET_BBOX(geom->flags, 1);
else
FLAGS_SET_BBOX(geom->flags, 0);
/* Set up the uint8_t buffer into which we are going to write the serialized geometry. */
expected_size = gserialized_from_lwgeom_size(geom);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment