Skip to content

Commit

Permalink
Suppress geos error in offsetcurve and fall back to the original beha…
Browse files Browse the repository at this point in the history
…vior (#5442)
  • Loading branch information
szekerest committed May 31, 2017
1 parent 4f67ecd commit 70cbb55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maputil.c
Original file line number Diff line number Diff line change
Expand Up @@ -1759,6 +1759,8 @@ shapeObj *msOffsetCurve(shapeObj *p, double offset)
if that is the case.*/
if(ret)
return ret;
/* clear error raised by geos in this case */
msResetErrorList();
#endif
/*
** For offset corner point calculation 1/sin() is used
Expand Down

0 comments on commit 70cbb55

Please sign in to comment.