Skip to content

Commit

Permalink
Merge pull request #4967 from dufop/master
Browse files Browse the repository at this point in the history
Fix an issue with the complex polygon in oracle
  • Loading branch information
sdlime committed Jul 30, 2014
2 parents f2ab894 + 46849f4 commit 5085e5c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion maporaclespatial.c
Expand Up @@ -1625,8 +1625,11 @@ static int osGetOrdinates(msOracleSpatialDataHandler *dthand, msOracleSpatialHan
} /* end of gtype big-if */
} /* end of not-null-object if */

if (compound_type)
if (compound_type){
if(gtype == 2003)
shape->type = MS_SHAPE_POLYGON;
msFreeShape(&newshape);
}

return MS_SUCCESS;
}
Expand Down

0 comments on commit 5085e5c

Please sign in to comment.