<div dir="ltr"><div>I've been trying to get KML output working (6.5, OSgeo4W). After a lot of experimentation and all kinds of strange results, I managed to get something somewhat working, but still have some problems... The IRC channel seems dead, so here I am again.<br>I've adapted the Itasca example map file to try to make it simpler... My example query strings are at the bottom. <a href="https://gist.github.com/anonymous/f0516f2766699e1ce3db">https://gist.github.com/anonymous/f0516f2766699e1ce3db</a><br><br>With the driver set to "OGR/KML" (this is undocumented?):<br></div><div>WFS (queries 1 and 2) works.<br>WMS (query 3) causes mapserv.exe to crash.<br><br>With the driver set to "KML":<br>WFS (queries 1 and 2) produces output with no points. There must be some projection problem. "Projection library error. All points failed to reproject". If I use the other EXTENT line, it crashes.<br>WMS (query 3) now works. Or seems to...<br><br></div><div>There may be a problem with my settings, but I don't think it should ever crash because of that. I've had lots of problems before I tried to use KML output, but they didn't include crashing. Because making various apparently unrelated changes results in it crashing, with no output to the log at all, perhaps there's a problem with some error message routine? This may be a problem with the OSgeo4W build, but they seem to have no user support at all... <br>And should the output options affect the projection at all?<br><br></div><div>Another problem... With WMS, the width and height parameters in the query have a big effect on the coordinates in the output (same as this? <a href="https://trac.osgeo.org/mapserver/ticket/3928">https://trac.osgeo.org/mapserver/ticket/3928</a>). This doesn't make sense to me, as KML doesn't have "pixels", so the width and height of a hypothetical "image" should have no effect on coordinates, and maybe no effect on output at all. Also "non-square pixels" (<a href="https://trac.osgeo.org/mapserver/ticket/3949">https://trac.osgeo.org/mapserver/ticket/3949</a>) makes no sense for vector output. After discovering this problem with WMS, I switched to trying WFS, but then had the other problems.<br></div></div>