Brent,<br>
<br>
Thanks for the suggestion. I switched the output from png to jpeg
- but no change (the jpeg might have looked a little worse??).
Still, the crux of the matter is, I suppose, that these images are
displayed through a context file. The rasters are coming straight
from their "original" (perhaps) source, which doesn't allow me to
specify how the image is displayed, but merely that an image is
displayed (furthermore, the context file is automatically generated by
the "Save Context" widget in Chameleon). <br>
<br>
And an addendum to my last message: I did find output
specifications in the documentation
(<a href="http://mapserver.gis.umn.edu/docs/reference/mapfile/outputformat/">http://mapserver.gis.umn.edu/docs/reference/mapfile/outputformat/</a>),
but I don't have the opportunity in this instance to specify the output
in this sense.<br>
<br>
Jennifer<br><br><div><span class="gmail_quote">On 1/23/06, <b class="gmail_sendername">Brent Pedersen</b> <<a href="mailto:bpederse@nature.berkeley.edu">bpederse@nature.berkeley.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
have you tried using image/jpeg? <div><span class="e" id="q_108fabb80a694918_1"><div><br></div><div><br><div><div>On Jan 23, 2006, at 8:39 PM, Jennifer Zeisloft wrote:</div><br><blockquote type="cite">Thank you for responding, Ed.
<br> <br>
Actually, these raster data sets are displayed as part of Chameleon
contexts (so there is no mapfile). I added the USGS orthos to a
mapfile to see if the result was any different and it wasn't (the
mapfile code for this layer is pasted below in any case).<br> <br> The application can be found at <a href="http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://maps.aqua.wisc.edu/lscmp/viewmaps.phtml</a>. The example data sets I am referring to can be found in the Wisconsin: Imagery context.<br> <br>
I have read through the documentation on rasters in MapServer, as well
as searched list archives and have not been able to determine how I
would go about specifying low or high -color output. So, perhaps
this is part of the problem? <br> <br> Again, any suggestions are greatly appreciated!! <br> <br> Jennifer Zeisloft<br> <br> LAYER<br> NAME DOQ<br> STATUS ON<br> CONNECTIONTYPE WMS<br> TYPE RASTER<br> CONNECTION "
<a href="http://terraservice.net/ogcmap.ashx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://terraservice.net/ogcmap.ashx</a>"<br> PROJECTION<br> "init=epsg:4326"<br> END # Projection
<br> METADATA<br> "wms_srs" "EPSG:4326"<br> "wms_name" "DOQ"<br> "wms_title" "USGS Digital Ortho-Quadrangles"<br> "wms_onlineresource" "
<a href="http://terraservice.net/ogcmap.ashx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://terraservice.net/ogcmap.ashx</a>"<br> "wms_abstract" "NA - test"
<br> "wms_keywordlist" "NA -test"<br> "wms_server_version" "1.1.1"<br> "wms_formatlist" "image/png,image/jpeg,image/wbmp"<br> "wms_format" "image/png"
<br> END # Metadata<br> END # layer<br> <br><br><div><span class="gmail_quote">On 1/23/06, <b class="gmail_sendername">Ed McNierney</b> <<a href="mailto:ed@topozone.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ed@topozone.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">
Jennifer -</font></span></div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">You don't give us much information to go on, other than your dislike of the results!
</font></span></div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">If
you're consistently seeing poor-quality results, then there may well be
something systematic you're doing in your map files or MapServer
configuration. I'm assuming you're using MapServer to generate
these "horrible-looking" images. If you are, for example,
requesting low-color output from high-color images, you're going to see
blotchy output. DRGs are low-color images (only 13 unique colors)
so they are not as prone to being affected by a low-color output
request.</font></span></div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Could
you provide an example of the map file and configuration you're using
to retrieve and display these images? There's nothing special
about the WMS interface that inherently limits image quality - you can
get a perfect reproduction of the source imagery in many cases.</font></span></div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div> <div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">
- Ed</font></span></div> <div align="left" dir="ltr"><span><font size="2"></font></span> </div> <div align="left" dir="ltr"><span><font size="2">Ed McNierney<br>President and Chief Mapmaker<br>TopoZone.com / Maps a la carte, Inc.
<br>73 Princeton Street, Suite 305<br>North Chelmsford, MA 01863<br>Phone: +1 (978) 251-4242<br>Fax: +1 (978) 251-1396<br><a href="mailto:ed@topozone.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ed@topozone.com</a></font> </span></div><br> <div align="left" dir="ltr" lang="en-us"> <hr> <font face="Tahoma" size="2"><b>From:</b> UMN MapServer Users List [mailto:<a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
MAPSERVER-USERS@LISTS.UMN.EDU</a>] <b>On Behalf Of </b>Jennifer Zeisloft<br><b>Sent:</b> Monday, January 23, 2006 10:00 PM<br><b>To:</b> <a href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
MAPSERVER-USERS@LISTS.UMN.EDU</a><br><b>Subject:</b> [UMN_MAPSERVER-USERS] Horrible Looking WMS Raster Imagery<br></font><br></div><div><span> <div></div>Greetings All,<br><br>We
have been noticing that some (but not all) WMS raster images look
pretty terrible (extremely low resolution compared to what they should
be) when added to our MapServer application. For instance, from
TerraServer (<a href="http://terraservice.net/ogcmap.ashx" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://terraservice.net/ogcmap.ashx</a>),
USGS Digital Ortho Quads are virtually useless regardless of scale,
while USGS DRGs look decent. Daily MODIS imagery from NASA JPL
World Map Service (<span><a href="http://wms.jpl.nasa.gov/wms.cgi?" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://wms.jpl.nasa.gov/wms.cgi?</a>) </span>has also typically been a problem. And there are others...
<br><br>I
have recently been playing with GDAL to display our own rasters, but
also partially with the hope that it might somehow magically fix this
problem (of course it hasn't). <br><br>I am wondering whether the
display problem is local or if it is on the data custodian's end, and
whether this is typically the case. Is there any way to correct
it? If it is at the custodial end, what might be done differently
to increase the display resolution for WMS clients (so that we don't
make the same mistake)?<br><br>I really appreciate any hints or ideas you can offer.<br><br>Thanks much!<br><br>Jennifer Zeisloft<br>UW Sea Grant<br> </span></div></blockquote></div><br></blockquote></div><br></div>
</span></div></blockquote></div><br>