<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Roger,<div><br></div><div>Uploading a test case with a sample image and sample mapfile prepackaged would be really useful to speed testing and keep&nbsp;consistent.</div><div><br></div><div>Dane</div><div><br></div><div><br><div><div><br></div><div>On Oct 27, 2008, at 9:40 AM, Roger André wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi,<br><br>I'd like to ask for some help from a couple people running MapServer.&nbsp; I would like to know if others are able to replicate some strange behavior I have noticed lately, and what versions of MapServer they are using.&nbsp; Below are the steps needed, they don't take very long.<br> <br>Step 1.&nbsp; Create a large rectangular image of Size 14400 x 7200.<br> <br>Step 2.&nbsp; Assign georeferencing to the image:<br>gdal_translate -a_ullr -180 90 180 -90 -a_srs "EPSG:4326" big_black.tif wgs84_big_black.tif<br><br>Step 3. Load this image into a MapServer layer and set a contrasting IMAGECOLOR in the mapfile (red works well).<br> <br>Step 4. Make sure you have a spherical mercator projection defined in your epsg file.<br>&lt;900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs &lt;><br> <br>Step 5. Make a WMS request for a tile that replicates one that TileCache makes:<br><a href="http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/test/test.map" target="_blank">http://localhost/cgi-bin/mapserv?map=/var/www/mapfiles/test/test.map</a><br> &amp;layers=imagery<br>&amp;srs=EPSG%3A900913<br>&amp;version=1.1.1<br>&amp;bbox=-20037508.34%2C-<div id=":wm" class="ArwC7c ckChnd">20037508.34%2C-10018754.1704%2C-10018754.1704<br>&amp;service=WMS<br>&amp;width=256<br> &amp;styles=<br>&amp;format=image%2Fpng<br> &amp;request=GetMap<br>&amp;height=256<br><br>Step 6. Look at your resulting tile. Is it full of data from top to bottom, or is there a band of IMAGECOLOR at the bottom?<br><br>Step 7.&nbsp; Let me know your results.<br><br>Thanks very much!<br> <br>Roger<br>--<br></div><br> _______________________________________________<br>FWTools mailing list<br><a href="mailto:FWTools@lists.maptools.org">FWTools@lists.maptools.org</a><br>http://lists.maptools.org/mailman/listinfo/fwtools<br>http://fwtools.maptools.org/<br></blockquote></div><br></div></body></html>