Hi Dane,<br><br>Thanks very much for the testing.  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.  I create a very low resolution version of the data and serve it underneath the high-res layer.  It fills in the missing row of pixels without being noticeable, and looks pretty good.  Not sure if it will work with all data sets though, and it'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"><<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>></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 'edge' 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'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's just under 300 MB, but I've attached a mapfile.  I can send a .tfw for anyone who isn't able to add georeferencing to the image after they have created it.  <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.  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"><<a href="mailto:blake@hailmail.net" target="_blank">blake@hailmail.net</a>></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 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'd like to ask for some help from a couple people running MapServer.  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.  Below are the steps needed, they don't take very long.<br>
 <br>Step 1.  Create a large rectangular image of Size 14400 x 7200.<br> <br>Step 2.  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><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 <><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>
 &layers=imagery<br>&srs=EPSG%3A900913<br>&version=1.1.1<br>&bbox=-20037508.34%2C-<div>20037508.34%2C-10018754.1704%2C-10018754.1704<br>&service=WMS<br>&width=256<br> &styles=<br>&format=image%2Fpng<br>
 &request=GetMap<br>&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.  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><bug.map></span></blockquote></div><br></div></div>
</blockquote></div><br>