Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Wrong Dateline wrapping on extents that cross the dateline #4896
added a commit
this pull request
Mar 27, 2014
@tbonfort Are you sure about your change in msProjectShapeLine ? The original code was consistant with the use of msTestNeedWrap() done in msProjectLine(), i.e. that we compare the current point with the first point of the line. In which situation does it makes things better to compare to previous point rather than to first point ? Perhaps if we have a polygon with a nearly world extent but that does not cross the antimeridian, and whose point density is sufficiently high so that 2 consecutive points don't have an abs difference of longitude > 180 ?