<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>2 items-- may be interconnected???</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I recently set up a WMS mapserver using
MS4W. It works better than I have any right to expect, what with it being
my first real attempt; would have never gotten that far without help from the
list.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>During the setup phase, I was having the raster data
output as PNG files. Which looked awful. Which is because I was used
to seeing these aerial photos as 24 bit jpeg files. (the
documentation seems to indicate an 8-bit limit on png colors...?)</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>They would dutifully create a temporary png file in the
tmp folder.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Then, I changed my map file and my request URL to
indicate jpeg files, which works great. My observation is that my
mapserver is no longer storing temporary files. </FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>This also is good news -- because I don't have to delete
them -- but I am a little worried that they are building up somewhere else --
like in the cooling fins on my cpu, or in my power supply ;>)
</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Seriously, can someone explain about the apparent
8-bit limit in png files (is it true, will it change, etc.) and suggest where
the temp files are going? Below is the "WEB" section of my .map
file...</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face=Arial> WEB<BR>
TEMPLATE "SD.html"<BR>
IMAGEPATH "C:\ms4w\Apache\htdocs\tmp/" # have
verified the correct path!<BR>
IMAGEURL "/tmp/"
#
and it saved png tmp files to
it<BR> <BR>
METADATA<BR>
"wms_title" "WMS
McCOOK"<BR> "wms_onlineresource"
"<A
href="http://206.183.188.202/cgi-bin/mapserv">http://206.183.188.202/cgi-bin/mapserv</A>?"<BR>
"wms_srs"
"EPSG:26914 EPSG:26914"<BR> END</FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Arial> END</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Ken<BR>Ken S. Elvehjem<BR>ELVEHJEM TECHNICAL
SUPPORT<BR>250 Drury Ave<BR>PO Box 37<BR>Lowry MN
56349<BR>320.283.5684<BR>320.283.5247 h<BR>320.424.1299
c</FONT></DIV></BODY></HTML>