<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 15 (filtered medium)">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I need your help…<o:p></o:p></p>
<p class="MsoNormal">I installed mapserver on windows server and tested the installation successful. The console output from „mapserv –v“ looked like it should and my GetCapabilities worked fine. Then I tested the GetMap and GetLegend from my test-WMS and it
 isn’t working correctly. The requests gives me a false coloured picture with jpeg and an error with png "the image can't be displayed cause it contains errors" (or so in german). I never saw something like this and after my research in the internet I still
 don’t know what to do…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The test with „shp2img -m E:/mapserv_ows/rheinek.map -o test.png -layer_debug ug_test 5“ worked fine and I got the corret result as an image (jpeg and png); but only after I added the „SIZE“ parameter in my mapfile. Until this I got the
 error „dimensions not defined / can’t be calculated“. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My mapfile is very simple, cause i wanted to test if it works (one shapefile, one polygon, simple red fill and black outline to display). In the following cloud folder you can see my mapfile, the weird jpeg-GetMap answer and the error message:
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="https://my.hidrive.com/lnk/jrySL9oJ">https://my.hidrive.com/lnk/jrySL9oJ</a>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Greetings <o:p></o:p></p>
<p class="MsoNormal">Charly<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="mso-fareast-language:DE">Mit freundlichen Grüßen<br>
im Auftrag <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="color:black;mso-fareast-language:DE">Charlotte Toma
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:black;mso-fareast-language:DE">Landeshauptstadt Wiesbaden<br>
-Der Magistrat-<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;color:black;mso-fareast-language:DE">Stadtplanungsamt<br>
-610230-<br>
Gustav-Stresemann-Ring 15<br>
65189 Wiesbaden<br>
Tel.: 0611 31-3436<br>
Fax: 0611 31-3917<br>
E-Mail: </span><span style="color:black;mso-fareast-language:DE"><a href="mailto:61GIS@wiesbaden.de"><span style="font-size:10.0pt;color:black">61GIS@wiesbaden.de</span></a></span><span style="font-size:10.0pt;color:black;mso-fareast-language:DE"><br>
Internet: </span><span style="color:black;mso-fareast-language:DE"><a href="http://www.wiesbaden.de/"><span style="font-size:10.0pt;color:black">www.wiesbaden.de</span></a></span><span style="font-size:10.0pt;color:black;mso-fareast-language:DE">
</span><span style="color:#1F497D;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;mso-fareast-language:DE">Jede nicht gedruckte Seite spart Holz, Wasser und Strom.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>