<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)">
<!--[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;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.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;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</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=SV link=blue vlink=purple>
<div class=Section1>
<div>
<div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Hello<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>I have a strange problem…<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>I should use MapServer with Mapscript to call a WMS server as a
client. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>I created a LAYER definition and after some struggle it went thru,
I get my map. I used the <i>shp2img</i> command to test the mapfile. Next step
was to test the mapfile with <i>drawmap</i> so the mapscript implementation was
tested and now an error showed up. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>“CURLOPT_PROXYAUTH
not supported. Requires Curl 7.10.7”<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
expected that this error should show up already in the shp2img-test, but there
it worked fine. <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Anyone
having a clue what’s wrong?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Here
is the error:</span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>-----------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Unhandled
Exception: System.ApplicationException: msHTTPExecuteRequests(): HTTP<br>
request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up.
*_p<br>
roxy_auth_type setting ignored.<br>
at OSGeo.MapServer.mapObj.draw()<br>
at DrawMap.Main(String[] args)<br>
GDAL: GDALDeregister_GTiff() called.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>--------------------------------------- <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>…
and here is the layer definition.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>--------------------------------------- <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'> LAYER<br>
NAME 'WMS-Oversikt'<br>
TYPE RASTER<br>
STATUS ON<br>
CONNECTION '</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><a
href="http://maps.metria.se/geoserver/wms" target="_blank"><span lang=EN-US>http://maps.metria.se/geoserver/wms</span></a></span><span
lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>?'<br>
CONNECTIONTYPE WMS<br>
METADATA<br>
'wms_srs' 'EPSG:2400'<br>
'wms_name' 'anyname'<br>
'wms_server_version' '1.1.1'<br>
'wms_format' 'image/png'<br>
'wms_auth_type' 'basic'<br>
'wms_auth_username' 'xxx'<br>
'wms_auth_password' 'yyy'<br>
'wms_proxy_type' 'http'<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>
'wms_proxy_host' '147.44.134.17'<br>
'wms_proxy_port' '80'
'wms_proxy_auth_type' 'basic'<br>
'wms_proxy_username' 'zzz'<br>
'wms_proxy_password' 'yyy'<br>
END<br>
END<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>------------------------------------------<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Regards<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>Johan<o:p></o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=1 width="100%" noshade style='color:#D70005' align=center>
</div>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=600
style='width:450.0pt'>
<tr>
<td width=200 valign=top style='width:150.0pt;padding:0cm 0cm 0cm 0cm'>
<div>
<p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif"'>Johan
Hallgren</span></b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:"Verdana","sans-serif"'>Gruppchef
<br>
Telefon direkt 023-464 92 <br>
Mobil 073-800 64 92 <br>
johan.hallgren@sweco.se<o:p></o:p></span></p>
</div>
</td>
<td width=200 valign=top style='width:150.0pt;padding:0cm 0cm 0cm 0cm'>
<div>
<p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif"'>Sweco
Position AB</span></b><span style='font-size:8.0pt;font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:"Verdana","sans-serif"'>Parkgatan
3<br>
Box 1902<br>
791 19 Falun<br>
Telefon 023-464 00<br>
<a href="http://www.sweco.se">www.sweco.se</a><o:p></o:p></span></p>
</div>
</td>
<td width=103 valign=top style='width:77.25pt;padding:0cm 0cm 0cm 0cm'>
<div>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal align=right style='text-align:right'><span
style='font-size:7.0pt;font-family:"Verdana","sans-serif"'><br>
<br>
</span><span style='font-size:7.0pt;font-family:"Verdana","sans-serif"'><img
border=0 width=127 height=37 id="_x0000_i1027"
src="cid:image001.png@01CBF9EC.EB232C20"></span><span style='font-size:7.0pt;
font-family:"Verdana","sans-serif"'><o:p></o:p></span></p>
</td>
</tr>
</table>
<div>
<p class=MsoNormal><span style='font-size:3.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p> </o:p></span></p>
</div>
<div>
<p class=MsoNormal><span style='font-size:7.0pt;font-family:"Verdana","sans-serif";
color:green'><img border=0 width=11 height=10 id="_x0000_i1026"
src="cid:image002.png@01CBF9EC.EB232C20"></span><span lang=EN-US
style='font-size:7.0pt;font-family:"Verdana","sans-serif";color:green'>Please
consider the environment before printing my e-mail. <o:p></o:p></span></p>
</div>
<div>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>