[mapserver-commits] [mapserver/mapserver] 677ff4: avoid going through internal resampling for degene...

GitHub noreply at github.com
Mon Jul 30 06:15:51 PDT 2012


  Branch: refs/heads/branch-6-2
  Home:   https://github.com/mapserver/mapserver
  Commit: 677ff4540fd461df7a6a7f8d19a7d2ae881f48bb
      https://github.com/mapserver/mapserver/commit/677ff4540fd461df7a6a7f8d19a7d2ae881f48bb
  Author: Thomas Bonfort <thomas.bonfort at gmail.com>
  Date:   2012-07-30 (Mon, 30 Jul 2012)

  Changed paths:
    M mapproject.c

  Log Message:
  -----------
  avoid going through internal resampling for degenerate rects (#4039)

when passed an unitialized rectObj, msProjectRect() will try to sample
the rect by going through msProjectRectGrid() which is non needed. This
commit reprojects (minx,miny) and updates the rectObj accordingly. Might
solve #4039 as the failure is happening somewhere inside the
rect reprojection code.





More information about the mapserver-commits mailing list