<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Raivo, <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I sometimes get odd artifacts showing up on my PNG24 maps as
well. I don&#8217;t know if it&#8217;s related to your problem, but I believe mine
is client-related based on its behavior, even though it happens on multiple
computers and browsers. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Every now and then, my map comes out looking like this: https://netfiles.umn.edu/users/emers089/www/imgerror.jpg<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It doesn&#8217;t always look the same, sometimes  the map is
greyed out or covered in mostly black, sometimes only part of the map is
affected. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Since it&#8217;s unpredictable and infrequent, I haven&#8217;t
been able to test very much. However, It clears itself immediately when I click
anything on the page, or when I resize the browser window. That makes me think that
my problem is related to client-side graphics drivers; the correct image is already
in the browser, just hidden under the artifacting. I&#8217;ve been meaning to play
around with driver updates, but it hasn&#8217;t been enough of an issue.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-Gabe<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Rahkonen Jukka<br>
<b>Sent:</b> Wednesday, September 17, 2008 7:22 AM<br>
<b>To:</b> Raivo Alla; mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] mapserver 5 TIFF displaying problem<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I'm sorry,&nbsp;I fear I can't help you further.&nbsp; I'm sure
that somebody else will go on with your problem soon.&nbsp;&nbsp;There must be
something odd in the image or in your Mapserver.&nbsp; You could still&nbsp;try
two things and try to find exact reason for the failure:</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>- use&nbsp;ready&nbsp;compiled Mapserver if you find such for your
operating system</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>- test with another image from different source</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>-Jukka-</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=FI>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=FI
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähettäjä:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Raivo Alla
[mailto:snaperski@gmail.com] <br>
<b>Lähetetty:</b> 17. syyskuuta 2008 14:57<br>
<b>Vastaanottaja:</b> Rahkonen Jukka<br>
<b>Aihe:</b> Re: [mapserver-users] mapserver 5 TIFF displaying problem</span><span
lang=FI><o:p></o:p></span></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>
<br>
thank you but sadly it did'nt help. <br>
Changed the DRIVER and translated to GeoTiff, but the problem remained. <br>
Even after I changed my .map file projection to EPSG:3301 (same like that .tif
file has) was the same picture there.<br>
If I zoom in/out, then the picture changes a bit -&gt;<br>
<a href="http://picasaweb.google.com/snaperski/Ort#5246949911192681730">http://picasaweb.google.com/snaperski/Ort#5246949911192681730</a><br>
Strange:)<br>
<br>
Raivo<o:p></o:p></p>

<div>

<p class=MsoNormal>On Wed, Sep 17, 2008 at 2:27 PM, Rahkonen Jukka &lt;<a
href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>&gt;
wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>If all the clients show the same artifacts we can trust they come
from the server.&nbsp; For some reason it does not like your original
image.&nbsp; Try converting it to uncompressed&nbsp;geotiff image with
gdal_translate<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>gdal_translate -of GTiff </span><span style='color:black'>54653.tif
54653_basic.tif</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Make another layer from this new image, or edit your mapfile to use
that instead of the original 54653.tif.&nbsp; What happens? By the way, I
believe it should read<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>DRIVER &quot;GD/PNG24&quot;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>-Jukka-<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'><o:p>&nbsp;</o:p></span></p>

</div>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=FI>

<hr size=2 width="100%" align=center>

</span></div>

<div>

<p class=MsoNormal><b><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähettäjä:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Raivo Alla
[mailto:<a href="mailto:snaperski@gmail.com" target="_blank">snaperski@gmail.com</a>]
<o:p></o:p></span></p>

</div>

<p class=MsoNormal><b><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähetetty:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 17.
syyskuuta 2008 14:16 <o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
<b>Vastaanottaja:</b> Rahkonen Jukka<br>
<b>Aihe:</b> Re: [mapserver-users] mapserver 5 TIFF displaying problem<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=FI><o:p>&nbsp;</o:p></span></p>

<div>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hei,<br>
<br>
thank you for advice!<br>
I changed .map a bit:&nbsp; <br>
<br>
IMAGETYPE png24<br>
OUTPUTFORMAT<br>
&nbsp; NAME png24<br>
&nbsp; DRIVER &quot;GD/PNG&quot;<br>
&nbsp; MIMETYPE &quot;image/png&quot;<br>
&nbsp; IMAGEMODE RGBA<br>
&nbsp; EXTENSION &quot;png&quot;<br>
END<br>
<br>
output quality looks better, but that black-lined crap is still there:(<br>
I tried the same with uDig and Gaia WMS-clients, but it's the same.<br>
<br>
<br>
Raivo<o:p></o:p></p>

<div>

<p class=MsoNormal>On Wed, Sep 17, 2008 at 1:51 PM, Rahkonen Jukka &lt;<a
href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>&gt;
wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>It's getting closer.&nbsp;&nbsp;Image is now at least in a correct
place?&nbsp; Distortion can be due to ArcMAP, perhaps it does not like the
outputformat you are using.&nbsp; Next trials:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>- Have a try with another&nbsp;client software. like&nbsp;Quantum
GIS, OpenJUMP, Cadcorp SIS map browser, or just your web browser.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>- Try changing outputformat.&nbsp; I believe you will need
to&nbsp;change it anyway, png is not good for aerial images.&nbsp;&nbsp;Try
png24 or jpeg instead.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>-Jukka-<o:p></o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=FI>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähettäjä:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Raivo Alla
[mailto:<a href="mailto:snaperski@gmail.com" target="_blank">snaperski@gmail.com</a>]
<br>
<b>Lähetetty:</b> 17. syyskuuta 2008 13:43<br>
<b>Vastaanottaja:</b> Rahkonen Jukka <o:p></o:p></span></p>

<div>

<div>

<p class=MsoNormal><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
<b>Aihe:</b> Re: [mapserver-users] mapserver 5 TIFF displaying problem<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><span lang=FI><o:p>&nbsp;</o:p></span></p>

<div>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Thank you,<br>
<br>
I added PROJECTION block to the layer, but unfortunately the same dance: output
is corrupted as it could be seen here: <br>
<a href="http://picasaweb.google.com/snaperski/Ort#5246933992333025954"
target="_blank">http://picasaweb.google.com/snaperski/Ort#5246933992333025954</a><br>
<br>
Maybe I should compile mapserver without -with-tiff key?<br>
<br>
Raivo<o:p></o:p></p>

<div>

<p class=MsoNormal>On Wed, Sep 17, 2008 at 1:03 PM, Rahkonen Jukka &lt;<a
href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>&gt;
wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Tere.</span><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>You have defined the output projection as epsg:4326 and by quick
look it is OK in both map projection and WMS metadata.&nbsp; However, your
original image is in Estonian projection, but&nbsp;Mapserver does not know it
automatically.&nbsp;&nbsp;You need to add PROJECTION block to layer definitions
as well.&nbsp; Try&nbsp;editin&nbsp;your mapfile as follows:&nbsp;</span><o:p></o:p></p>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span style='color:black'>LAYER<br>
&nbsp; TYPE RASTER<br>
&nbsp;&nbsp;NAME &quot;raster&quot;<br>
&nbsp;&nbsp;STATUS ON<br>
&nbsp;&nbsp;DATA &quot;54653.tif&quot;</span><o:p></o:p></p>

</div>

<p class=MsoNormal><span style='color:black'>PROJECTION</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:black'>&nbsp;
&nbsp;&quot;init=epsg:3301&quot;</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:black'>END&nbsp; #end projection<br>
END #end layer</span><o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>I hope I guessed the epsg code right.</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>-Jukka Rahkonen-</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=FI>

<hr size=2 width="100%" align=center>

</span></div>

<div>

<p class=MsoNormal><b><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähettäjä:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>Puolesta </b>Raivo Alla<o:p></o:p></span></p>

</div>

<p class=MsoNormal><b><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähetetty:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> 17.
syyskuuta 2008 12:51 <o:p></o:p></span></p>

<div>

<p class=MsoNormal><span lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br>
<b>Vastaanottaja:</b> <a href="mailto:mapserver-users@lists.osgeo.org"
target="_blank">mapserver-users@lists.osgeo.org</a><o:p></o:p></span></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=FI
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Aihe:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Re:
[mapserver-users] mapserver 5 TIFF displaying problem</span><span lang=FI><o:p></o:p></span></p>

<div>

<div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'>Thank you for answering!<br>
<br>
There's some additional information. Gdalinfo output:<br>
<br>
Driver: GTiff/GeoTIFF<br>
Files: 65812.tif<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 65812.aux<br>
Size is 5000, 5000<br>
Coordinate System is:<br>
LOCAL_CS[&quot;Estonia_1997_Estonia_National_Grid&quot;,<br>
&nbsp;&nbsp;&nbsp; UNIT[&quot;meters&quot;,1]]<br>
Origin = (715000.500000000000000,6584999.500000000000000)<br>
Pixel Size = (1.000000000000000,-1.000000000000000)<br>
Metadata:<br>
&nbsp; TIFFTAG_XRESOLUTION=2272.0896<br>
&nbsp; TIFFTAG_YRESOLUTION=2272.0896<br>
&nbsp; TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)<br>
Image Structure Metadata:<br>
&nbsp; COMPRESSION=LZW<br>
&nbsp; INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left&nbsp; (&nbsp; 715000.500, 6584999.500)<br>
Lower Left&nbsp; (&nbsp; 715000.500, 6579999.500)<br>
Upper Right (&nbsp; 720000.500, 6584999.500)<br>
Lower Right (&nbsp; 720000.500, 6579999.500)<br>
Center&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (&nbsp; 717500.500, 6582499.500)<br>
Band 1 Block=5000x8 Type=Byte, ColorInterp=Red<br>
&nbsp; Metadata:<br>
&nbsp;&nbsp;&nbsp; LAYER_TYPE=athematic<br>
Band 2 Block=5000x8 Type=Byte, ColorInterp=Green<br>
&nbsp; Metadata:<br>
&nbsp;&nbsp;&nbsp; LAYER_TYPE=athematic<br>
Band 3 Block=5000x8 Type=Byte, ColorInterp=Blue<br>
&nbsp; Metadata:<br>
&nbsp;&nbsp;&nbsp; LAYER_TYPE=athematic<br>
<br>
<br>
And from .map file:<br>
IMAGETYPE PNG<br>
&nbsp;OUTPUTFORMAT<br>
&nbsp; NAME png<br>
&nbsp; DRIVER &quot;GD/PNG&quot;<br>
&nbsp; MIMETYPE &quot;image/png&quot;<br>
&nbsp; IMAGEMODE RGB<br>
END<br>
PROJECTION<br>
&nbsp;&nbsp;&nbsp;&nbsp; &quot;init=epsg:4326&quot;<br>
END<br>
METADATA<br>
&nbsp;&nbsp;&nbsp; WMS_TITLE &quot;UMN MapServer Maa-ameti TEST&quot;<br>
&nbsp;&nbsp;&nbsp; WMS_ABSTRACT &quot;Mõeldud testimiseks&quot;<br>
&nbsp;&nbsp;&nbsp; WMS_ACCESSCONSTRAINTS &quot;none&quot;<br>
&nbsp;&nbsp;&nbsp; WMS_SRS &quot;EPSG:4326&quot;<br>
END<br>
<br>
Could it be problem that coordinate systems does not match?<br>
However, I remember it's written that Mapserver could do SRS transforming
on-the-fly.<br>
<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal>On Wed, Sep 17, 2008 at 11:23 AM, Rahkonen Jukka &lt;<a
href="mailto:Jukka.Rahkonen@mmmtike.fi" target="_blank">Jukka.Rahkonen@mmmtike.fi</a>&gt;
wrote:<o:p></o:p></p>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>Impossible to say with this information.&nbsp; Much better
possibilities to&nbsp;help you if you could send also the main MAP part of your
mapfile including at lesast outputformat and projection, and the metadata
sections.&nbsp; Gdalinfo report about the image might be helpful as well.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>&nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>-Jukka Rahkonen-<o:p></o:p></span></p>

<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='text-align:center'><span lang=FI>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><span lang=FI
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Lähettäjä:</span></b><span
lang=FI style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a
href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
<b>Puolesta </b>Raivo Alla<br>
<b>Lähetetty:</b> 17. syyskuuta 2008 9:38<br>
<b>Vastaanottaja:</b> <a href="mailto:mapserver-users@lists.osgeo.org"
target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Aihe:</b> [mapserver-users] mapserver 5 TIFF displaying problem</span><span
lang=FI><o:p></o:p></span></p>

<div>

<div>

<div>

<p class=MsoNormal>Hello,<br>
<br>
I'm quite new using Mapserver and found myself struggling with this
simple-looking problem:<br>
<br>
In my map file, there is layer defined as follows:<br>
LAYER<br>
&nbsp;TYPE RASTER<br>
&nbsp;NAME &quot;raster&quot;<br>
&nbsp;STATUS ON<br>
&nbsp;DATA &quot;54653.tif&quot;<br>
END<br>
<br>
The problem is, that this image is corrupted when I look at it in ArcMap - it
contains strange black boxes and stripes. Original image is OK, so<br>
I guess the problem is somewhere in map file. <br>
.tfw file should be ok:<br>
1.000000000000000<br>
0.000000000000000<br>
0.000000000000000<br>
-1.000000000000000<br>
650000.500000000000000<br>
6469999.500000000000000<br>
<br>
What could be the problem?<br>
<br>
<br>
Raivo Alla<o:p></o:p></p>

</div>

</div>

</div>

</blockquote>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</div>

</blockquote>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</div>

</blockquote>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</div>

</div>

</blockquote>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</blockquote>

</div>

</body>

</html>