<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>Invalid Layers given in the layers parameter</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Hallo Liste,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Ich habe mal wieder ein Problem. Und zwar möchte ich einfach nur ein Luftbild in eine Mapbender Oberfläche einbinden. Leider gibt es mir immer die Fehlermeldung:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">"msWMSLoadGetMapParams(): WMS Server Error. Invalid layer(s) given in the layers parameter" aus.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Ich vermute einmal, dass schon das Capabilities-Dokument falsch hochgeladen ist.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Wenn ich einen GetMap-Aufruf direkt im Browser starte, dann kommt benefalls diese Meldung.</FONT>
</P>
<P><A HREF="http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&VERSION=1.1.0&REQUEST=GetMap&SERVICE=WMS&LAYERS=Luftbild&STYLES=&SRS=EPSG:21781&BBOX=690718,233287.35,691935,234382.65&WIDTH=500&HEIGHT=450&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&VERSION=1.1.0&REQUEST=GetMap&SERVICE=WMS&LAYERS=Luftbild&STYLES=&SRS=EPSG:21781&BBOX=690718,233287.35,691935,234382.65&WIDTH=500&HEIGHT=450&FORMAT=image/png&BGCOLOR=0xffffff&TRANSPARENT=TRUE&EXCEPTIONS=application/vnd.ogc.se_inimage</FONT></U></A></P>
<P><FONT SIZE=2 FACE="Arial">Ich habe folgende Map-Datei:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">MAP</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME Rebberg</FONT>
<BR><FONT SIZE=2 FACE="Arial"> STATUS ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TRANSPARENT ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGETYPE png </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> EXTENT 690717.534750 233315.694200 691935.034750 234354.444200</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> #FONTSET 'C:\ms4w\Apache\htdocs\Rebberg\Fontdatei\fonts.txt'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> #SYMBOLSET 'C:\ms4w\Apache\htdocs\Rebberg\Symboldatei\symbol.sym'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> OUTPUTFORMAT</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME png </FONT>
<BR><FONT SIZE=2 FACE="Arial"> DRIVER "GD/png"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> MIMETYPE "image/png"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEMODE RGB</FONT>
<BR><FONT SIZE=2 FACE="Arial"> EXTENSION "png"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TRANSPARENT TRUE</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> PROJECTION</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "init=epsg:21781"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> </FONT>
<BR><FONT SIZE=2 FACE="Arial"> # Legend</FONT>
<BR><FONT SIZE=2 FACE="Arial"> LEGEND</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGECOLOR 255 255 255</FONT>
<BR><FONT SIZE=2 FACE="Arial"> STATUS ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> KEYSIZE 18 12</FONT>
<BR><FONT SIZE=2 FACE="Arial"> LABEL</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TYPE BITMAP</FONT>
<BR><FONT SIZE=2 FACE="Arial"> SIZE MEDIUM</FONT>
<BR><FONT SIZE=2 FACE="Arial"> COLOR 0 0 89</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # Web interface definition. Only the template parameter</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # is required to display a map. See MapServer documentation</FONT>
<BR><FONT SIZE=2 FACE="Arial"> WEB</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # Set IMAGEPATH to the path where MapServer should</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # write its output.</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEPATH '/tmp/'</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # Set IMAGEURL to the url that points to IMAGEPATH</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # as defined in your web server configuration</FONT>
<BR><FONT SIZE=2 FACE="Arial"> IMAGEURL '/tmp/'</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> # WMS server settings</FONT>
<BR><FONT SIZE=2 FACE="Arial"> METADATA</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 'wms_title' 'Rebberg'</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> 'wfs_title' 'Rebberg_WFS'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 'wms_onlineresource' '</FONT><A HREF="http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&</FONT></U></A><FONT SIZE=2 FACE="Arial">'</FONT></P>
<P><FONT SIZE=2 FACE="Arial"> 'wfs_onlineresource' '</FONT><A HREF="http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://webgis.hsw.ch/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/Rebberg/MapDatei/Rebberg.map&</FONT></U></A><FONT SIZE=2 FACE="Arial">'</FONT></P>
<P> <FONT SIZE=2 FACE="Arial"> 'WMS_feature_info_mime_type' 'text/html'</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> 'wms_srs' 'EPSG:21781'</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> 'gml_featuredid' 'ID'</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> 'gml_include_items' 'all'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> #Scale range at which web interface will operate</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # Template and header/footer settings</FONT>
<BR><FONT SIZE=2 FACE="Arial"> # Only the template parameter is required to display a map. See MapServer documentation</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">LAYER</FONT>
<BR><FONT SIZE=2 FACE="Arial"> NAME 'Luftbild'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TYPE RASTER</FONT>
<BR><FONT SIZE=2 FACE="Arial"> DATA 'C:\ms4w\Apache\htdocs\Rebberg\Geodaten\Hintergrund\Ortho\ortho_au.tif'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> METADATA</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 'wms_title' 'Luftbild'</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> STATUS ON</FONT>
<BR><FONT SIZE=2 FACE="Arial"> TRANSPARENCY 100</FONT>
<BR><FONT SIZE=2 FACE="Arial"> PROJECTION</FONT>
<BR><FONT SIZE=2 FACE="Arial"> "init=epsg:21781"</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
<BR><FONT SIZE=2 FACE="Arial"> END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">END</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Ich habe jetzt einfach nur einen Luftbildlayer. Aber ich bekomme immer einen Fehler. Ich nutze ms4w 3 beta 10 und mapbender 2.6.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Kann mir jemand helfen? Ich verzweifel hier fast, weil ich nicht weiss wo ich den fehler suchen muss.</FONT>
<BR><FONT SIZE=2 FACE="Arial">Für Eure Unterstützung und eure Hilfe bedanke ich mich schon einmal recht herzlich im Voraus.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Gruss</FONT>
<BR><FONT SIZE=2 FACE="Arial">Hanno Rahn</FONT>
</P>
<BR>
<P><FONT FACE="Arial">------------------------------------------</FONT>
<BR><FONT FACE="Arial">Hanno Rahn, Dipl.-Ing. (FH) Geoinformatik</FONT>
<BR><FONT FACE="Arial">ZHAW Zürcher Hochschule für Angewandte Wissenschaften Umwelt und Natürliche Ressourcen </FONT>
<BR><FONT FACE="Arial">Fachstelle Geoinformatik </FONT>
<BR><FONT FACE="Arial">Grüental, Postfach CH-8820 Wädenswil </FONT>
<BR><FONT FACE="Arial">Tel +41 (0)58 934 5592</FONT>
<BR><FONT FACE="Arial">Fax +41 (0)58 934 5580 </FONT>
<BR><FONT FACE="Arial">hanno.rahn@zhaw.ch</FONT>
<BR><A HREF="http://www.iunr.zhaw.ch/geoinformatik"><U><FONT COLOR="#0000FF" FACE="Arial">www.iunr.zhaw.ch/geoinformatik</FONT></U></A>
</P>
<P><FONT FACE="Arial"> </FONT>
<BR><FONT FACE="Arial"> </FONT>
</P>
</BODY>
</HTML>