[mapserver-commits] [mapserver/mapserver] 722716: msTransformMapToSource(): fix behaviour at lon_wra...

GitHub noreply at github.com
Mon Jan 2 10:11:12 PST 2017


  Branch: refs/heads/branch-7-0
  Home:   https://github.com/mapserver/mapserver
  Commit: 722716c49de2399f54b275ab31437f0e8c92cd63
      https://github.com/mapserver/mapserver/commit/722716c49de2399f54b275ab31437f0e8c92cd63
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-01-02 (Mon, 02 Jan 2017)

  Changed paths:
    M mapresample.c
    A msautotest/gdal/data/lon_wrap_180.asc
    A msautotest/gdal/data/lon_wrap_180.prj
    A msautotest/gdal/expected/lon_wrap_180.png

  Log Message:
  -----------
  msTransformMapToSource(): fix behaviour at lon_wrap +/- 180 deg

This fixes an issue when drawing a raster whose extent is e.g. [0,360] with
a projection with +lon_wrap=180. Before this fix, when drawing the extent [-180,180],
there was a gap around lon=0 due to the discontinuity during the computation of
the source coordinates.




More information about the mapserver-commits mailing list