[mapserver-dev] Mode=tile offset problem in trunk...

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Fri Jan 21 00:53:54 EST 2011


Hi all: I'm using mode=tile over Google Maps (v.3) and am seeing some offset issues with trunk. Here are some sample URLs. Default output format is:

  IMAGETYPE PNG8Q
  OUTPUTFORMAT
    NAME 'PNG8Q'
    DRIVER AGG/PNG
    IMAGEMODE RGB
    FORMATOPTION "QUANTIZE_FORCE=ON"
    FORMATOPTION "QUANTIZE_DITHER=OFF"
    FORMATOPTION "QUANTIZE_COLORS=256"
  END

Anyway, case 1: 5.6, default image format. Result is ugly image, no offset.
http://maps.dnr.state.mn.us/cgi-bin/mapserv56?map=/usr/local/mapserver/apps/mr/lakefinder/tiles.map&mode=tile&tilemode=gmap&tile=981+1452+12

Case 2: 6.0, default image format. Nice image, notice the offset down and to the right.
http://maps.dnr.state.mn.us/cgi-bin/mapserv60?map=/usr/local/mapserver/apps/mr/lakefinder/tiles.map&mode=tile&tilemode=gmap&tile=981+1452+12

Case 3: 6.0, GIF format. no offset.
http://maps.dnr.state.mn.us/cgi-bin/mapserv60?map.imagetype=gif&map=/usr/local/mapserver/apps/mr/lakefinder/tiles.map&mode=tile&tilemode=gmap&tile=981+1452+12

I've attached a screen shot of tiles overlayed with 6.0 the above output format. The offset is real obvious.

Any idea what might cause it? It seems a very curious error.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tilemode60.gif
Type: image/gif
Size: 146770 bytes
Desc: tilemode60.gif
Url : http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110120/422e2d0a/tilemode60-0001.gif


More information about the mapserver-dev mailing list