mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 17:42:38 +00:00
Inherit gbox flags from lwgeom when calculating. This makes sense.
git-svn-id: http://svn.osgeo.org/postgis/trunk@6197 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
c692cf3eed
commit
2e43836409
|
@ -2329,7 +2329,8 @@ int lwgeom_calculate_gbox_geodetic(const LWGEOM *geom, GBOX *gbox)
|
|||
{
|
||||
int result = LW_FAILURE;
|
||||
LWDEBUGF(4, "got type %d", geom->type);
|
||||
FLAGS_SET_GEODETIC(gbox->flags,1);
|
||||
|
||||
gbox->flags = gflags(FLAGS_GET_Z(geom->flags),FLAGS_GET_M(geom->flags),1);
|
||||
|
||||
switch (geom->type)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue