<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Mark,<br>
<br>
You could try having mapserver render PNG files instead of JPEG.
And since there's a re-projection from zone 13 to 14, perhaps
mapserver is reading a lower resolution level from the mrsid file;
adding <br>
<br>
PROCESSING "LOAD_FULL_RES_IMAGE=YES"<br>
<br>
to the layer def might help (or it might not).<br>
<pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
<br>
On 7/1/2011 9:26 AM, Mark Volz wrote:
<blockquote
cite="mid:36CA828A36E29F45B7CF0A1766E5DFA3A5FC@swmail01.r8nssis.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hello</div>
<div> </div>
<div>I set up a WMS Server using Mapserver. The quality of
the map is terrible. If anyone an example of a mapfile to
serve imagery via wms it would be appreciated.</div>
<div> </div>
<div>Thanks </div>
<div> </div>
<div>MAP</div>
<div> NAME "MAP"</div>
<div> EXTENT 699283 4853930 736320 4904147</div>
<div> PROJECTION</div>
<div> "init=epsg:26914"</div>
<div> END #PROJECTION</div>
<div> OUTPUTFORMAT</div>
<div> NAME 'gd/jpeg'</div>
<div> #DRIVER GD/JPEG</div>
<div> IMAGEMODE RGB </div>
<div> #IMAGEMODE PC256</div>
<div> FORMATOPTION "TRANSPARENT=FALSE"</div>
<div> FORMATOPTION "QUALITY=90"</div>
<div> DRIVER "AGG/JPEG"</div>
<div> MIMETYPE "image/jpeg"</div>
<div> END #outputformat</div>
<div> MAXSIZE 10000 #limit size of wms</div>
<div> IMAGETYPE gd/jpeg</div>
<div> WEB</div>
<div> IMAGEPATH '/tmp/'</div>
<div> IMAGEURL '/tmp/'</div>
<div> METADATA</div>
<div> 'wms_title' 'MAP'</div>
<div> 'wms_onlineresource' '<a
moz-do-not-send="true"
href="http://localhost/cgi-bin/mapserv.exe?MAP=/ms4w/apps/PipestoneMOOSE/maps_pipestone/Raster/LocalRaster/FSA2010/LocalFSA2010.map">http://localhost/cgi-bin/mapserv.exe?MAP=/ms4w/apps/PipestoneMOOSE/maps_pipestone/Raster/LocalRaster/FSA2010/LocalFSA2010.map</a>'</div>
<div> 'wms_srs' 'EPSG:26914'</div>
<div> END #metadata</div>
<div> END #web</div>
<div>########################### </div>
<div> LAYER</div>
<div> NAME 'FSA'</div>
<div> TYPE RASTER</div>
<div> DATA './ortho_1-1_1n_s_mn117_2010_1.sid'</div>
<div> METADATA</div>
<div> 'wms_title' 'FSA'</div>
<div> END #metadata</div>
<div> STATUS DEFAULT</div>
<div> PROJECTION</div>
<div> "proj=utm"</div>
<div> "zone=14"</div>
<div> "ellps=GRS80"</div>
<div> "datum=NAD83"</div>
<div> "units=m"</div>
<div> "no_defs"</div>
<div> END #PROJECTION</div>
<div> PROCESSING "OVERSAMPLE_RATIO=1"</div>
<div> END #layer</div>
<div>END ## end Map</div>
<div> </div>
<div> </div>
<div>Mark Volz</div>
<div>GIS Specialist</div>
<div> </div>
<div> </div>
<div> </div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
</body>
</html>