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">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>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 class="Wj3C7c"><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 class="Wj3C7c">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>