<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div>
<div style="font-family:Calibri,sans-serif; font-size:11pt">If it is WMS standard compliant it must accept the advertized mime type. That said our KML implementation is not necessarily compliant. There may also be some trouble with parsing the request because
 + is changed into space. But perhaps it is OK to do so for the query string.<br>
<br>
-Jukka Rahkonen-<br>
</div>
</div>
<div dir="ltr">
<hr>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Lähettäjä:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:ivan.ogasawara@gmail.com">Ivan Ogasawara</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Lähetetty:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">‎14.‎12.‎2017 21:03</span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Vastaanottaja:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">Rahkonen Jukka (MML)</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Kopio:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt"><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a></span><br>
<span style="font-family:Calibri,sans-serif; font-size:11pt; font-weight:bold">Aihe:
</span><span style="font-family:Calibri,sans-serif; font-size:11pt">Re: [mapserver-users] mapserver with kml</span><br>
<br>
</div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p>The name of the format in the GetCapabilities is</p>
<p><Format>application/vnd.<wbr>google-earth.kml+xml</Format></p>
<p>Use that.<br>
</p>
</div>
</blockquote>
<div><br>
</div>
<div>yes .. this format is in my GetMap/Format  </div>
<div><br>
</div>
<div>  <Format>application/vnd.google-earth.kml+xml</Format><br>
</div>
<div><br>
</div>
<div>using this format name in url result this error:</div>
<div><br>
</div>
<div>  msWMSLoadGetMapParams(): Image handling error. Unsupported output format (application/vnd.google-earth.kml xml).<br>
</div>
<div><br>
</div>
<div>I think I should use the same value defined on OUTPUTFORMAT/NAME</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p><br>
</p>
<p>I have never used CRS:84 as CRS and I don't know if it really works. You can stay in WMS version 1.1.1 and SRS=EPSG:4326. Verify first with image/png that GetMap returns a map.
<br>
</p>
<p><br>
</p>
</div>
</blockquote>
<div>I have no problem with image/png format  (using 1.1.1 or 1.3.0)</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>Read </p>
<p><a href="http://www.mapserver.org/optimization/debugging.html" target="_blank">http://www.mapserver.org/<wbr>optimization/debugging.html,</a> add MS_ERRORFILE and DEBUG 5 and see what you get.</p>
</div>
</blockquote>
<div><br>
</div>
<div> These parameter are already defined:</div>
<div><br>
</div>
<div>
<div>    CONFIG 'ON_MISSING_DATA' 'IGNORE'</div>
<div>    CONFIG 'PROJ_LIB' './conf/'</div>
<div>    CONFIG      "MS_ERRORFILE" "/var/log/mapserver.log"</div>
<div>    CONFIG      "CPL_DEBUG" "ON"</div>
<div>    CONFIG      "PROJ_DEBUG" "ON"</div>
<div>    DEBUG       5</div>
</div>
<div><br>
</div>
<div>but I couldn't find any important information in the log file (<span style="font-size:12.8px"> </span><a href="https://pastebin.com/iP4h0wXx" target="_blank" style="font-size:12.8px">https://pastebin.com/<wbr>iP4h0wXx</a>)</div>
<div><br>
</div>
<div><br>
</div>
<div>this is the proj_lib/conf/ file : <a href="https://pastebin.com/AFNKC88Z">https://pastebin.com/AFNKC88Z</a></div>
<div><br>
</div>
<div>My best regards,</div>
<div>Ivan</div>
</div>
</div>
</div>
</div>
</body>
</html>