<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailFormatvorlage17
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body bgcolor=white lang=DE link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Vielleicht besteht die Möglichkeit
ausgehend vom Cgi-bin Pfad eine relative Pfadangabe einzubinden die ggf. kürzer
ist?? </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Z.B.:</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>"<a
href="http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=../msKarten/mapfiles/TOP.map">http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=../msKarten/mapfiles/TOP.map</a>&"</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Ich denke aber die 7 Zeichen kürzer oder
länger sind nicht die Ursache, vielleicht eher die Zugiffsrechte des
Verzeichnisses o.ä.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Mit dem Einfügen von „DEBUG ON“
in der Map Datei im Layer Section plaudert der mapserver eine ganze Menge aus…..</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Grüße Gerd Dreier</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
</div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Ursprüngliche Nachricht-----<br>
<b><span style='font-weight:bold'>Von:</span></b> Sabine Hoffmann
[mailto:hoffmann@gta-geo.de] <br>
<b><span style='font-weight:bold'>Gesendet:</span></b> Donnerstag, 11. Mai 2006
09:42<br>
<b><span style='font-weight:bold'>An:</span></b> </span></font><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>mapserver-de@freegis.org</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Betreff:</span></b> [Mapserver-DE] WMS
Fehlermeldung Pfadlänge?</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Beim Ausführen eines MapFiles mit
eingebundenem WMS erhalte ich folgende Fehlermeldung:</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>msDrawMap(): WMS connection error.
Failed to draw WMS layer named 'Topographie'. This most likely happened because
the remote WMS server returned an invalid image, and XML exception or another
unexpected result in response to the GetMap request. Also check and make sure
that the layer's connection URL is valid. <br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image format <br>
drawEPP(): Image handling error. EPPL7 support is not available. </span></font></p>
</div>
<div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Die Definition dieses WMS erfolgt in
einem separaten Mapfile und sieht so aus:</span></font></p>
</div>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> WEB<br>
IMAGEPATH "C:/ms4w/tmp/"<br>
IMAGEURL "<a href="http://edinburgh/wcc_map/tmp/">http://edinburgh/wcc_map/tmp/</a>" <br>
TEMPLATE
"C:/WCC/wwwroot/msKarten/templates/TOP.htm"<br>
METADATA<br>
wms_title "Topographie"<br>
wms_onlineresource "<a
href="http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/wwwroot/msKarten/mapfiles/TOP.map">http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/wwwroot/msKarten/mapfiles/TOP.map</a>&"<br>
wms_srs "EPSG:31464"<br>
END<br>
END</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Die Einbindung der
"Topographie" im Mapfile sieht folgendermaßen aus:</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>LAYER<br>
NAME Topographie<br>
STATUS default<br>
TYPE RASTER<br>
CONNECTION "<a
href="http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/wwwroot/msKarten/mapfiles/TOP.map">http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/wwwroot/msKarten/mapfiles/TOP.map</a>&"<br>
CONNECTIONTYPE WMS<br>
METADATA<br>
wms_srs "EPSG:31464"<br>
wms_name "Topographie"<br>
wms_server_version "1.1.1"<br>
wms_format "image/png"<br>
legendenpos "1"<br>
titel "Topographie"<br>
END<br>
END</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Ich habe die Vermutung, dass es sich
um ein Problem mit der Pfadlänge handelt. Wenn ich das Unterverzeichnis
"msKarten" eine Stufe höher anlege und in den entsprechenden
Mapfiles "<a
href="http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/msKarten/mapfiles/TOP.map">http://edinburgh/wcc_map/cgi-bin/mapserv.exe?map=//edinburgh/WCC/msKarten/mapfiles/TOP.map</a>&"
angebe, funktioniert alles!</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Wie kann ich das Problem lösen? Ich
bin an die vorgegebene Ordnerstruktur gebunden!</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Viele Grüße</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>Sabine Hoffmann</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> </span></font></p>
</div>
</div>
</body>
</html>