Hi Dane,<br><br>Thanks very much for the testing.&nbsp; Sounds like maybe there is a problem then.<br><br>So far, the only workaround that I have found which seems to work well is one that is somewhat akin to fixing the missing scanlines in Landsat data.&nbsp; I create a very low resolution version of the data and serve it underneath the high-res layer.&nbsp; It fills in the missing row of pixels without being noticeable, and looks pretty good.&nbsp; Not sure if it will work with all data sets though, and it&#39;s at best a bandaid fix.<br>
--<br><br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 4:58 PM, Dane Springmeyer <span dir="ltr">&lt;<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Roger,<div><br></div><div>Yes, I can replicate the &#39;edge&#39; effect you describe in Mapnik as well, by either viewing a TileCache Mapnik layer in OL or specifically requesting of mapnik (using nik2img) the BBOX that tilecache requests.</div>
<div><br></div><div>The lines (actually missing pixel rows it seems) appear on the bottom edge of tile where the raster data is unrendered but not where vector data is effectively rendered.</div><div><br></div><div>These two bbox&#39;s trigger a one-pixel red line(where the raster file is not rendered) at the bottom of the image:</div>
<div><br></div><div>1) -20037508.34,10018754.17,-10018754.17,20037508.34</div><div><div>2) -20037508.34,0.0,0.0,20037508.34</div></div><div><br></div><div>...when requested as 256x256 tiles, while requesting a 255,256 tile will clip off the missing pixel row.</div>
<div><br></div><div><br></div><div>Sample image attached (not the upper red band is truly lacking data while the single pixel row on the bottom is the un-rendered data)</div><div><br></div><div>Dane</div><div><div></div><div class="Wj3C7c">
<div><br></div><div><img src="cid:AE3B1721-694B-472D-B844-8C9C53FF4F34@hsd1.wa.comcast.net." height="256" width="260"></div><div><br></div><div>On Oct 27, 2008, at 11:58 AM, Roger André wrote:</div></div></div><div><div><br>
<blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi Dane,<br><br>A sample image will be too large to upload - it&#39;s just under 300 MB, but I&#39;ve attached a mapfile.&nbsp; I can send a .tfw for anyone who isn&#39;t able to add georeferencing to the image after they have created it.&nbsp; <br>
 <br>I would be interested in knowing from you whether a WMS request of the same nature, but made to Mapnik, will yield the same results.&nbsp; And I have already posted the same question to the GeoServer list as well.<br><br>
Thanks,<br> <br>Roger<br>--<br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 10:54 AM, Dane Springmeyer <span dir="ltr">&lt;<a href="mailto:blake@hailmail.net" target="_blank">blake@hailmail.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div>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><div></div><div><div><br></div><div>On Oct 27, 2008, at 9:40 AM, Roger André wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div>Hi,<br>
<br>I&#39;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&#39;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 &quot;EPSG:4326&quot; 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&gt; +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;&gt;<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>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></div></div> _______________________________________________<br>FWTools mailing list<br><a href="mailto:FWTools@lists.maptools.org" target="_blank">FWTools@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/fwtools" target="_blank">http://lists.maptools.org/mailman/listinfo/fwtools</a><br>
 <a href="http://fwtools.maptools.org/" target="_blank">http://fwtools.maptools.org/</a><br></blockquote></div><br></div></div></blockquote></div><br> </div></div><span>&lt;bug.map&gt;</span></blockquote></div><br></div></div>
</blockquote></div><br>