<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19088"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial>You can request tiles from MapServer by a MapServer
cgi request or by a WMS request.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial>OpenLayers uses this</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial> DEFAULT_PARAMS:
{<BR> mode:
"map",<BR> map_imagetype: "png" // a
8bit png if not otherwise declared in the mapfile<BR>
},<BR></DIV></FONT></SPAN>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial>for OpenLayers.Layer.MapServer</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial> DEFAULT_PARAMS: { service:
"WMS",<BR>
version:
"1.1.1",<BR>
request:
"GetMap",<BR>
styles:
"",<BR>
exceptions:
"application/vnd.ogc.se_inimage",<BR>
format:
"image/jpeg"<BR>
},<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=453092822-30062011><FONT color=#0000ff
size=2 face=Arial>for OpenLayers.Layer.WMS</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=453092822-30062011><FONT color=#0000ff size=2 face=Arial>if you
not specify a imageformat, then the OpenLayers.Layer.MapServer requests a png
and the WMS requests a jpg (if not set
transparent=true).</FONT></SPAN></DIV>
<DIV><SPAN class=453092822-30062011><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=453092822-30062011><FONT color=#0000ff size=2
face=Arial>Arnd</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> kensei3000 [mailto:kensei3000@yahoo.com]
<BR><B>Gesendet:</B> Donnerstag, 30. Juni 2011 04:58<BR><B>An:</B> Arnd
Wippermann<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Betreff:</B> Re:
AW: [mapserver-users] "Low-resolution" raster image problem when
usingOpenlayers<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV
style="BACKGROUND-COLOR: #fff; FONT-FAMILY: arial, helvetica, sans-serif; COLOR: #000; FONT-SIZE: 10pt">
<DIV><SPAN>Hi Arnd,</SPAN></DIV>
<DIV><SPAN><BR></SPAN></DIV>
<DIV><SPAN>I see. I used the same 'mapserv' url in both OpenLayers.Layer.WMS and
.MapServer code. The requests were sent to the same remote server. So the
difference must be in the requests. Is it possible that OpenLayers.Layer.WMS
generated a different output url string from the one generated by
OpenLayers.Layer.MapServer?</SPAN></DIV>
<DIV><BR></DIV>
<DIV>Ken</DIV>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV
style="FONT-FAMILY: 'times new roman', 'new york', times, serif; FONT-SIZE: 12pt"><FONT
size=2 face=Arial>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Arnd Wippermann
<arnd.wippermann@web.de><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> 'kensei3000'
<kensei3000@yahoo.com><BR><B><SPAN
style="FONT-WEIGHT: bold">Cc:</SPAN></B>
mapserver-users@lists.osgeo.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, June 30, 2011 1:15
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> AW:
[mapserver-users] "Low-resolution" raster image problem when
usingOpenlayers<BR></FONT><BR>
<DIV id=yiv1640254091>
<DIV dir=ltr align=left>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT face=Arial>Hi
Ken,</FONT></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><FONT
face=Arial><SPAN class=yiv1640254091765290517-29062011>Quote :
"</SPAN>Interestingly, if I use the 'mapserv' executable directly in the browser
instead of using OpenLayers API, the image also renders correctly.<SPAN
class=yiv1640254091765290517-29062011>"</SPAN></FONT></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><FONT
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT face=Arial>There could be no
difference (OpenLayers.Layer.WMS or .MapServer), because with OpenLayers you
only create an url for an image tag (<img src="url">). The response have
to be the same as from the browser directly.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT face=Arial>The difference could only
be a result from different requests or the same request to different
servers.</FONT></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011><FONT
face=Arial>Arnd</FONT></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span><SPAN
class=yiv1640254091765290517-29062011></SPAN></SPAN> </DIV>
<DIV>
<HR tabIndex=-1>
</DIV>
<DIV><FONT size=2 face=Tahoma><B>Von:</B> kensei3000
[mailto:kensei3000@yahoo.com] <BR><B>Gesendet:</B> Mittwoch, 29. Juni 2011
09:56<BR><B>An:</B> Arnd Wippermann<BR><B>Cc:</B>
users@openlayers.org<BR><B>Betreff:</B> Re: AW: [mapserver-users]
"Low-resolution" raster image problem when
usingOpenlayers<BR></FONT><BR></DIV></DIV>
<DIV
style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>Hi
Arnd,</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN><BR></SPAN></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">I
checked the images properties of the tile images using ImageMagick.<BR></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>tile_topleft_remote.png
has image type "Palette" (8-bit)</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>tile_topleft_local.png
has image type "TrueColor" (32-bit)</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">The
results I got seem to correlate with your findings.</DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">Indeed,
it appears that the image rendering between my local pc and the server are
different.</DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">The map
files are exactly same since I sync them in both computers.
<BR></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">The
MapServer versions, however, are different. Here's what I got:</DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>LOCAL:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>MapServer version 6.0.0
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CAIRO
SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>REMOTE:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>MapServer version 5.6.1
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF OUTPUT=SVG
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>The MapServer executable
in the remote server is an older version (5.6.1) than the one in my pc (6.0.0).
I edited the map files and images in my local pc, then synced them to the
server, so there may be an incompatibility. I checked the Mapserver Migration
Guide (http://mapserver.org/de/MIGRATION_GUIDE.html) and my guess was that the
default OUTPUTFORMAT specifications of both versions could be
different. </FONT><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span>I did not specify an explicit OUTPUTFORMAT
in my map file.</SPAN></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>I created another test.
This time I explicitly defined the OUTPUTFORMAT with the following lines added
to the map file in the remote server:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span> OUTPUTFORMAT</SPAN><BR></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>
<DIV>
<DIV> NAME jpeg</DIV>
<DIV> DRIVER "AGG/JPEG"</DIV>
<DIV> MIMETYPE "image/jpeg"</DIV>
<DIV> IMAGEMODE RGB</DIV>
<DIV> EXTENSION "jpg"</DIV>
<DIV> END</DIV></DIV>
<DIV><BR></DIV></FONT><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span>The result was that the output image
generated by the remote server rendered in TrueColor, similar to the output
image in my local pc. Problem appears to be fixed.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span>My guess
right now is that the IMAGEMODE parameter above was somehow set to PC256
(i.e. 8-bit color palette) by default.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span>Interestingly, if I use the 'mapserv'
executable directly in the browser instead of using OpenLayers API, the image
also renders correctly.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span>EXAMPLE: </SPAN></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span
size=2>http://remotehost/cgi-bin/mapserv?map=/opt/maps/sandbox/mapserver_openlayers_if/sample.map&mode=map<BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Above 'sample.map' did not
have the OUTPUTFORMAT object explicitly defined. </FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>In another test I ran
using the original 'sample.map' (i.e. no OUTPUTFORMAT object), I edited the
OpenLayers code in the remote server:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>//sample.html</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>FROM:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2> 17<SPAN
style="WHITE-SPACE: pre" class=yiv1640254091Apple-tab-span> </SPAN>
layer = new OpenLayers.Layer.MapServer("World
Map", <BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>TO:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>
<DIV> 17<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
layer = new OpenLayers.Layer.WMS("World Map", </DIV>
<DIV><BR></DIV></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>I used the generic 'WMS'
layer instead of the 'MapServer' layer. And the result was that the output image
rendered correctly. I am not yet sure why. </FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span>I might
need to run additional tests to confirm my findings.</SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px"
class=yiv1640254091Apple-style-span><BR></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 13px" class=yiv1640254091Apple-style-span>Thanks
for your help in pointing out the discrepancies in the images and in MapServer.
:)</SPAN></DIV></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">Ken</DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"> </DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Arnd Wippermann
<arnd.wippermann@web.de><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> 'kensei3000'
<kensei3000@yahoo.com><BR><B><SPAN
style="FONT-WEIGHT: bold">Cc:</SPAN></B> users@openlayers.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, June 29, 2011 2:28
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> AW:
[mapserver-users] "Low-resolution" raster image problem when
usingOpenlayers<BR></FONT><BR>
<DIV id=yiv1640254091>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011>use some image viewer to get information of your
images.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-28062011></SPAN><FONT
face=Arial><FONT color=#0000ff><FONT size=2>tile_topleft_remote.png<SPAN
class=yiv1640254091-28062011> is a 8bit image (256 color image), where only 45
colors used.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011>tile_topleft_local.png is a 24bit image (16,7 Mill.
colors), where 13274 colors used.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011>The requests ask for map_imagetype=png. So it
seems, that your mapfiles are different, because the response of the servers
delivers a different image for the same imagetype. Or do you
use different MapServer versions?</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=yiv1640254091-28062011>The problem has to
be an issue with MapServer and not with
OpenLayers.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011>Arnd</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=yiv1640254091-28062011></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><FONT size=2 face=Tahoma><B>Von:</B> kensei3000
[mailto:kensei3000@yahoo.com] <BR><B>Gesendet:</B> Dienstag, 28. Juni 2011
04:32<BR><B>An:</B> Arnd Wippermann<BR><B>Cc:</B>
users@openlayers.org<BR><B>Betreff:</B> Re: AW: [mapserver-users]
"Low-resolution" raster image problem when usingOpenlayers<BR></FONT><BR></DIV>
<DIV
style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>Hi
Arnd,</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN><BR></SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>Thanks
a lot for the tip. I copied the image url of the top-left most tile for both
local pc and remote server tests.</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN>Here is
what I got:</SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><SPAN><BR></SPAN></DIV>
<DIV><SPAN>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Local:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span
size=2>http://localhost/cgi-bin/mapserv?map=%2Fopt%2Fmaps%2Fsandbox%2Fmapserver_openlayers_if%2Fsample.map&layers=sample_raster&mode=map&map_imagetype=png&mapext=-90+0+0+90&imgext=-90+0+0+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Remote:</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span
size=2>http://remotehost/cgi-bin/mapserv?map=%2Fopt%2Fmaps%2Fsandbox%2Fmapserver_openlayers_if%2Fsample.map&layers=sample_raster&mode=map&map_imagetype=png&mapext=-180+-90+0+90&imgext=-180+-90+0+90&map_size=256+256&imgx=128&imgy=128&imgxy=256+256</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>The only significant
difference of the two urls appear to be the 'mapext' and 'imgext' parameters.
When I checked the resulting images after inputting the urls in the browser, I
noticed that the tile images had different sizes and positions. I believe this
was due to the said parameters. I tried changing the 'mapext' and 'imagext'
parameters of the server test url to match that of the local test url, and
indeed the size and position of the remote server tile image changed. However, I
am still unable to figure out what causes the color distortion or "downsampling"
of the image in the remote server.</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>For further reference,
I've attached the tile images I got using the above urls.</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Here is the openlayers
code I used. It is the same for both local and remote server tests except for
the host in line 18. </FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>//sample.html</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>
<DIV>
<DIV> 1<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN><html
xmlns="http://www.w3.org/1999/xhtml"></DIV>
<DIV> 2<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <head></DIV>
<DIV> 3<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <style
type="text/css"></DIV>
<DIV> 4<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> #map
{</DIV>
<DIV> 5<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
width: 1024px;</DIV>
<DIV> 6<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
height: 768px;</DIV>
<DIV> 7<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
border: 1px solid black;</DIV>
<DIV> 8<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> }</DIV>
<DIV> 9<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> </style></DIV>
<DIV> 10<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <script
src="http://openlayers.org/dev/lib/OpenLayers.js"></script></DIV>
<DIV> 11<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <script
type="text/javascript"></DIV>
<DIV> 12<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
<!--</DIV>
<DIV> 13<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> var map,
layer;</DIV>
<DIV> 14<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 15<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> function
init(){</DIV>
<DIV> 16<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
map = new OpenLayers.Map( 'map' );</DIV>
<DIV> 17<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
layer = new OpenLayers.Layer.MapServer("World Map", </DIV>
<DIV> 18<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
"http://localhost/cgi-bin/mapserv",</DIV>
<DIV> 19<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
{map:
'/opt/maps/sandbox/mapserver_openlayers_if/sample.map', layers:
'sample_raster'});</DIV>
<DIV> 20<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
map.addLayer(layer);</DIV>
<DIV> 21<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
map.zoomToMaxExtent();</DIV>
<DIV> 22<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> }</DIV>
<DIV> 23<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> //
--></DIV>
<DIV> 24<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> </script></DIV>
<DIV> 25<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> </head></DIV>
<DIV> 26<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <body
onload="init()"></DIV>
<DIV> 27<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> <div
id="map"></div></DIV>
<DIV> 28<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> </body></DIV>
<DIV> 29<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></html></DIV>
<DIV><BR></DIV></DIV>
<DIV><BR></DIV></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>And below is the common
.map file I created with the help of the Quantum GIS Mapserver Export
tool.</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>The raster image has an
associated World file (.wld) for georeferencing.</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>
<DIV> 1<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN># Map file created from QGIS project
file /var/maps/sandbox/mapserver_openlayers_if/sample.qgs</DIV>
<DIV> 2<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN># Edit this file to customize for your
map interface</DIV>
<DIV> 3<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN># (Created with PyQgis MapServer
Export plugin)</DIV>
<DIV> 4<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>MAP</DIV>
<DIV> 5<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> NAME "QGIS-MAP"</DIV>
<DIV> 6<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Map image size</DIV>
<DIV> 7<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> SIZE 8180 4930</DIV>
<DIV> 8<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> UNITS meters</DIV>
<DIV> 9<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 10<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> EXTENT -86.515507 -50.290979
88.076495 48.225271</DIV>
<DIV> 11<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> PROJECTION</DIV>
<DIV> 12<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'proj=longlat'</DIV>
<DIV> 13<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'ellps=WGS84'</DIV>
<DIV> 14<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
'towgs84=0,0,0,0,0,0,0'</DIV>
<DIV> 15<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'no_defs'</DIV>
<DIV> 16<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 17<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 18<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Background color for the map
canvas -- change as desired</DIV>
<DIV> 19<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGECOLOR 255 255 255</DIV>
<DIV> 20<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGEQUALITY 95</DIV>
<DIV> 21<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGETYPE jpeg</DIV>
<DIV> 22<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 23<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Legend</DIV>
<DIV> 24<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> LEGEND</DIV>
<DIV> 25<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGECOLOR 255 255
255</DIV>
<DIV> 26<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> STATUS ON</DIV>
<DIV> 27<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> KEYSIZE 18 12</DIV>
<DIV> 28<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> LABEL</DIV>
<DIV> 29<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> TYPE BITMAP</DIV>
<DIV> 30<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> SIZE MEDIUM</DIV>
<DIV> 31<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> COLOR 0 0 89</DIV>
<DIV> 32<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 33<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 34<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 35<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Web interface definition. Only
the template parameter</DIV>
<DIV> 36<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # is required to display a map.
See MapServer documentation</DIV>
<DIV> 37<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> WEB</DIV>
<DIV> 38<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Set IMAGEPATH to the
path where MapServer should</DIV>
<DIV> 39<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # write its output.</DIV>
<DIV> 40<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGEPATH '/tmp/'</DIV>
<DIV> 41<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 42<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Set IMAGEURL to the url
that points to IMAGEPATH</DIV>
<DIV> 43<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # as defined in your web
server configuration</DIV>
<DIV> 44<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> IMAGEURL '/tmp/'</DIV>
<DIV> 45<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 46<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> #Scale range at which web
interface will operate</DIV>
<DIV> 47<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Template and
header/footer settings</DIV>
<DIV> 48<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> # Only the template
parameter is required to display a map. See MapServer documentation</DIV>
<DIV> 49<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> TEMPLATE
'fooOnlyForWMSGetFeatureInfo'</DIV>
<DIV> 50<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 51<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 52<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> LAYER</DIV>
<DIV> 53<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> NAME
'sample_raster'</DIV>
<DIV> 54<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> TYPE RASTER</DIV>
<DIV> 55<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> DUMP true</DIV>
<DIV> 56<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> TEMPLATE
fooOnlyForWMSGetFeatureInfo</DIV>
<DIV> 57<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> EXTENT -86.515507 -50.290979
88.076495 48.225271</DIV>
<DIV> 58<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> DATA
'sec_field.jpg'</DIV>
<DIV> 59<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> STATUS DEFAULT</DIV>
<DIV> 60<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> TRANSPARENCY 100</DIV>
<DIV> 61<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> PROJECTION</DIV>
<DIV> 62<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'proj=longlat'</DIV>
<DIV> 63<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'ellps=WGS84'</DIV>
<DIV> 64<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>
'towgs84=0,0,0,0,0,0,0'</DIV>
<DIV> 65<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> 'no_defs'</DIV>
<DIV> 66<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 67<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN> END</DIV>
<DIV> 68<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN></DIV>
<DIV> 69<SPAN style="WHITE-SPACE: pre"
class=yiv1640254091Apple-tab-span> </SPAN>END</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Hope you could provide
further assistance.</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2><BR></FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span size=2>Ken</FONT></DIV>
<DIV><FONT class=yiv1640254091Apple-style-span
size=2><BR></FONT></DIV></SPAN></DIV>
<DIV
style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times, serif; FONT-SIZE: 12pt"><FONT size=2 face=Arial>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Arnd Wippermann
<arnd.wippermann@web.de><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> 'kensei3000'
<kensei3000@yahoo.com><BR><B><SPAN
style="FONT-WEIGHT: bold">Cc:</SPAN></B> users@openlayers.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Tuesday, June 28, 2011 1:53
AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> AW:
[mapserver-users] "Low-resolution" raster image problem when
usingOpenlayers<BR></FONT><BR>
<DIV id=yiv1640254091>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial>hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial>if you do a right click on a tile to get the context menu, you
should be able to copy the url (if the tiles of your server is the most top of
the visible layers). Compare the different urls. If you load them in your
browser you should get a response for a single tile from your
server.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial>Perhaps that gives you an idea, what goes
wrong.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=yiv1640254091-27062011><FONT color=#0000ff
size=2 face=Arial>Arnd</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=de class=yiv1640254091OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> mapserver-users-bounces@lists.osgeo.org
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Im Auftrag von
</B>kensei3000<BR><B>Gesendet:</B> Montag, 27. Juni 2011 05:37<BR><B>An:</B>
mapserver-users@lists.osgeo.org<BR><B>Betreff:</B> [mapserver-users]
"Low-resolution" raster image problem when usingOpenlayers<BR></FONT><BR></DIV>
<DIV
style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial, helvetica, sans-serif; COLOR: rgb(0,0,0); FONT-SIZE: 10pt">
<DIV>Hi!</DIV>
<DIV><BR></DIV>
<DIV>I am trying to use MapServer as a WMS layer in Openlayers. I setup the
MapServer in our server machine, using my own PC as the test client. I created a
simple .map file in our server that contains one raster image. Using the
mapserver tool 'mapserv' in a URL string, I was able to load the output map with
full resolution correctly in a browser (Google Chrome). However, when I tried to
load the map using a simple Openlayers script (HMTL) which I created on our
server (accessible via browser), the map image appeared to have a much
lower-resolution (i.e. 256-colors only) and was pixelized. Also, I could see
white lines representing the tile edges of the map. </DIV>
<DIV><BR></DIV>
<DIV>I did another test. This time, I installed MapServer in my own PC. I
created a .map file similar to the one I used in our server, with the same
raster image. I created a similar Openlayers script (HTML) in my own PC, but
this time it would call the MapServer from my own PC. I loaded the script using
a browser and the image displayed correctly with full resolution. </DIV>
<DIV><BR></DIV>
<DIV>Does anyone have an idea what the problem could be?</DIV>
<DIV><BR></DIV>
<DIV>I would appreciate any help in this matter.</DIV>
<DIV><BR></DIV>
<DIV>Thanks in advance! :)
</DIV></DIV></DIV><BR><BR></DIV></DIV></DIV></DIV><BR><BR></DIV></DIV></DIV></DIV><BR><BR></DIV></DIV></DIV></BODY></HTML>