Skip to content

Commit be21bcf

Browse files
committed
Fix error to support Oracle compound elements for GTYPE 2007 (multipolygon) and not only for GTYPE 2003 (polygon)
1 parent 89810ed commit be21bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maporaclespatial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1707,7 +1707,7 @@ static int osGetOrdinates(msOracleSpatialDataHandler *dthand, msOracleSpatialHan
17071707
} /* end of not-null-object if */
17081708

17091709
if (compound_type){
1710-
if(gtype == 2003)
1710+
if (gtype == 2003 || gtype == 2007)
17111711
shape->type = MS_SHAPE_POLYGON;
17121712
msFreeShape(&newshape);
17131713
}

0 commit comments

Comments
 (0)