Changes between Initial Version and Version 1 of Ticket #2175


Ignore:
Timestamp:
Jul 27, 2007, 11:36:19 AM (17 years ago)
Author:
dmorissette
Comment:

Which version of MapServer are you using? 4.10?

Can you please try again with 5.0-beta1? Steve did some work to address this issue in 5.0. See ticket #2015 for more details.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2175

    • Property Cc sdlime added
    • Property Milestone5.0 release
  • Ticket #2175 – Description

    initial v1  
    11When used as a WMS server mapserver will re-create the WMS BBOX by adding a -0.5pixel buffer to it (in fact its not a 0.5 pixel but a 0.5 unit so could be quite a distance). From the code I can see that it was done because mapserver uses the centre of the four corner pixels as its BBOX and not the outside of the pixels like WMS. This causes several problems:
     2
    231/ if you ask for a geoTiff the header will also be buffered by -0.5 and will not represent the original BBOX from the WMS request;
     4
    352/ if you have cascaded WMS layers in the map file the request they get uses the new buffered BBOX and not the original WMS one, this in itself can cause the returned image to be offset by half a unit.
    46