<div dir="ltr"><div>Dear all,</div><div><br></div>I think the problem is related to this: <div><br></div><div><a href="https://github.com/mapserver/mapserver/issues/4938">https://github.com/mapserver/mapserver/issues/4938</a><br><div><br></div><div>because using this URL works fine:</div><div><br></div><div><a href="http://172.17.0.2?map=/maps/dengue-Rio-de-Janeiro.map&mode=map&MAP_IMAGETYPE=KML&layers=RIO_DE_JANEIRO">http://172.17.0.2?map=/maps/dengue-Rio-de-Janeiro.map&mode=map&MAP_IMAGETYPE=KML&layers=RIO_DE_JANEIRO</a><br></div><div><br></div></div><div>I changed the image width/height ratio and works fine too!<br></div><div><br></div><div>thanks so much!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-14 18:00 GMT-04:00 Ivan Ogasawara <span dir="ltr"><<a href="mailto:ivan.ogasawara@gmail.com" target="_blank">ivan.ogasawara@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Stephen,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2017-12-14 15:44 GMT-04:00 Stephen Woodbridge <span dir="ltr"><<a href="mailto:woodbri@swoodbridge.com" target="_blank">woodbri@swoodbridge.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The "+" char in the URL is interpreted as a space you have to ecapce this as %2B<br></blockquote><div><br></div></span><div>You're right, thanks .. but there is the same issue ... </div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
But you should be able to give the OUTPUTFORMAT block an NAME "kml" and give that the appropriate parameters like:<br>
<br>
EXTENSION "kml"<br>
MIMETYPE "application/vnd.google-earth.<wbr>kml+xml"<br>
<br>
and whatever other parameters are needed, then request the format "kml"<br></blockquote><div><br></div></span><div>yes .. this is the kml outputformat that I am using:</div><div><br></div><div><div>OUTPUTFORMAT</div><div> NAME "kml"</div><div> DRIVER KML</div><div> MIMETYPE "application/vnd.google-earth.<wbr>kml+xml"</div><div> IMAGEMODE RGBA</div><div> EXTENSION "kml"</div><div> FORMATOPTION 'ATTACHMENT=RIO_DE_JANEIRO.<wbr>kml'</div><div> END</div></div><div><br></div><div><br></div></div></div></div>
</blockquote></div><br></div>