<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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";}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.E-mailStijl17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:679309550;
        mso-list-type:hybrid;
        mso-list-template-ids:-1215937984 -1950158388 68354051 68354053 68354049 68354051 68354053 68354049 68354051 68354053;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l1
        {mso-list-id:1845583920;
        mso-list-type:hybrid;
        mso-list-template-ids:28862494 -1383986708 68354051 68354053 68354049 68354051 68354053 68354049 68354051 68354053;}
@list l1:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:53.25pt;
        text-indent:-18.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</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=NL link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I am currently working on a project where
I&#8217;m trying to use Mapserver as a WMS client, intending to have Mapserver
handle the overlaying of data for me. The WMS service I&#8217;m going to be
using one licensed from the National Land Survey of Finland.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>This server only supports HTTPS connections
and requires Basic Authorization to get data from the service. This may prove
to be an issue for me in the future, but at the moment I&#8217;m having (what I
suspect to be) a different problem.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>When I test my Map file, which to the best
of my (currently limited) knowledge of Mapserver, should work, I only get
entirely white images back from the mapserv binary. I&#8217;ve not yet figured
out how to get mapserv to do verbose logging, but the logging it does so far
does not show me what the issue might be.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>I&#8217;ve been trying to get it to work on
linux, but then when it didn&#8217;t I tried it on my local windows machine as
well. Both machines display the same white image.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The output of my mapserv &#8211;v invocations:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>On Linux:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
SUPPORTS=GEOS INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>On Windows:<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>MapServer version 5.0.2 OUTPUT=GIF
OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG
SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE 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=JPEG
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The map file I&#8217;m using can be found
at the following location: <a href="http://www.gonewacko.com/work/finland.map">http://www.gonewacko.com/work/finland.map</a><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>For more information about the capabilities
of the WMS Server I&#8217;m trying to connect to, I&#8217;ve uploaded the
results of a GetCapabilities request here: <a
href="http://gonewacko.com/work/GetCapabilities.xml">http://gonewacko.com/work/GetCapabilities.xml</a>
(Most of the text is in Finnish; Which I don&#8217;t actually understand myself,
but luckily it&#8217;s not too relevant).<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>The URL I&#8217;ve been using to test it
has usually just been <a
href="http://example.com/cgi-bin/mapserv?map=/path/to/finland.map&amp;mode=map">http://example.com/cgi-bin/mapserv?map=/path/to/finland.map&amp;mode=map</a>.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>My theories are<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -
The map has been set up in such a way that mapserv finds it&#8217;s not within
the area I&#8217;m requesting, and as such does not attempt to render it.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -
The map has just been set up incorrectly (most likely)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Note that the only files I have are the map
file. I do not have any shape files or anything of that nature. And apart from
the censored login information in the URLs, the map file is available in its entirety.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Also note that I&#8217;ve tried replacing
the WMS URLs with something that is not a https url (i.e. a normal http url),
as well as omitting the authorization data. It still wouldn&#8217;t send a
request to the URL.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Can anyone shed some light on what I&#8217;m
doing wrong? Thanks in advance.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Best Regards,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Stijn Gijsen<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

</div>

</body>

</html>