<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@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","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Markeringsbobletekst Tegn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.MarkeringsbobletekstTegn
        {mso-style-name:"Markeringsbobletekst Tegn";
        mso-style-priority:99;
        mso-style-link:Markeringsbobletekst;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:DA;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Martin,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think you missed my last post about it being a 64 bit issue.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>But I tried your suggestion.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Both 1.0.0 and 1.1.0 performs perfectly in the 32 bit version.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>However, in the 64 bit version, both queries ends up with the nasty Windows exception shown below:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><i><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>The instruction at "0x77f15531" referenced memory at "0x0000d990". The memory could not be "read". Click on OK to terminate the program.<o:p></o:p></span></i></b></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The error occurs after the capabilities document has been output. Just I experienced with the browser.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So the 64 bit version do indeed have some kind of bug.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>--<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I also tried running the command with "describefeaturetype" without typenames, and both the 32 and 64 bit version performs this without issues.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So I'm not entirely sure why the 32 bit version gave me troubles the other day.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kind regards / Med venlig hilsen<br>Lars I. Nielsen<br>----------------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Landinspektør, Senior GIS Programmør og Konsulent<br>Hvenegaard og Jens Bo Landinspektører A/S<br>Rugaardsvej 55, DK-5000 Odense C<br>Denmark<br>Tel. +45 6313 5050<br><a href="http://www.hvenegaard.dk/">http://www.hvenegaard.dk</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Fra:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> mapserver-users-bounces@lists.osgeo.org [mailto:mapserver-users-bounces@lists.osgeo.org] <b>På vegne af </b>Martin Kofahl<br><b>Sendt:</b> 28. november 2013 20:26<br><b>Til:</b> mapserver-users@lists.osgeo.org<br><b>Emne:</b> Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Lars,<o:p></o:p></p></div><div><p class=MsoNormal>can you try to run the request from command line in order to rule out a connection between iis and mapserser. See <a href="http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi">http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi</a> for an how-to. From command prompt you should be able to run somethin like <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>X:\yz\mapserv64.exe -nh "QUERY_STRING=map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities"<o:p></o:p></p></div><div><p class=MsoNormal>You'll have to chdir the Location of BallerupGO_WFS.map before.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Are there differences between wfs Version 1.0.0 and 1.1.0?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Kind regards,<o:p></o:p></p></div><div><p class=MsoNormal>Martin<o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>2013/11/26 Lars I. Nielsen <<a href="mailto:lin@hvenegaard.dk" target="_blank">lin@hvenegaard.dk</a>><o:p></o:p></p><p class=MsoNormal>Hi,<br><br>I'm still having problems with my setup of a WFS server using Mapserver 6.4.0 :-(<br><br>My GetCapabilities requests take forever (or more precisely 5 minutes) to finish. Mapserver finishes in a split second, and returns a full document, but the connection - regardless of it being an url in a browser, or running ogrinfo.exe or some other program - stays open for circa 5 minutes before it finishes/times out.<br><br>How can I get Mapserver/something-else to force closing the connection ?<br><br>Mapserver runs as a standalone exe under IIS v6 on Windows 2003, but there's nothing in the IIS setup that I can find that prompts this behaviour.<br><br><a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities</a><br><br>Any advise will be helpful :-)<o:p></o:p></p><div><p class=MsoNormal><br><br>Kind regards / Med venlig hilsen<br>Lars I. Nielsen<br>----------------------------------------------------------------<br>Landinspektør, Senior GIS Programmør og Konsulent<br>Hvenegaard og Jens Bo Landinspektører A/S<br>Rugaardsvej 55, DK-5000 Odense C<br>Denmark<br>Tel. <a href="tel:%2B45%206313%205050">+45 6313 5050</a><br><a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><br><br><br>-----Oprindelig meddelelse-----<o:p></o:p></p></div><p class=MsoNormal>Fra: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] På vegne af Lars I. Nielsen<br>Sendt: 26. november 2013 10:35<br>Til: Rahkonen Jukka; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><o:p></o:p></p><div><div><p class=MsoNormal>Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br><br>Hi Jukka,<br><br>It turns out that it was my adding  - PROCESSING "CLOSE_CONNECTION=DEFER" - statements to my layer definitions that blocked fetching attributes from other layers than the first.<br><br>Apparently the OGR VRT frameworks needs to open separate connections, and keeping the first connection open blocked subsequent connections.<br><br>This part now works :-)<br><br>Still working on other issues though ...<br><br><br>Kind regards / Med venlig hilsen<br>Lars I. Nielsen<br>----------------------------------------------------------------<br>Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. <a href="tel:%2B45%206313%205050">+45 6313 5050</a> <a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><br><br><br>-----Oprindelig meddelelse-----<br>Fra: Rahkonen Jukka [mailto:<a href="mailto:jukka.rahkonen@mmmtike.fi">jukka.rahkonen@mmmtike.fi</a>]<br>Sendt: 19. november 2013 15:59<br>Til: Lars I. Nielsen; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br><br>Hi,<br><br>I can only show how my MS 6.2.1 server reacts<br><br><a href="http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType" target="_blank">http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType</a><<a href="http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.1.0&request=DescribeFeatureType" target="_blank">http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.1.0&request=DescribeFeatureType</a>><br><br>-Jukka Rahkonen-<br><br><br>________________________________<br>Lähettäjä: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] käyttäjän Lars I. Nielsen [<a href="mailto:lin@hvenegaard.dk">lin@hvenegaard.dk</a>] puolesta<br>Lähetetty: 19. marraskuuta 2013 16:16<br>Vastaanottaja: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>Aihe: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br><br>Hi,<br><br>I got the standalone Mapserver 6.4 x64 up and running, but there are still some issues:<br><br><br>If I run "request=describefeaturetype" on any of the three typenames in my setup, it returns its list of attributes as it should.<br><br>But if I omit the typename, wanting Mapserver to return a description of all three typenames (which is a valid request), it only returns the attributes for the first !??<br><br>Is this WAD, or is Mapserver forgetting to return attributes for the latter two typenames (as I suspect) ?<br><br><br>The server is online on this address if anyone wants to have a look:<br><br><a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities</a><br><br>DescribeFeatureType that works: <a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype&typename=GO_Flader" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype&typename=GO_Flader</a><br><br>DescribeFeatureType that doesn't work: <a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype</a><br><br><br><br>Kind regards / Med venlig hilsen<br>Lars I. Nielsen<br>----------------------------------------------------------------<br>Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. <a href="tel:%2B45%206313%205050">+45 6313 5050</a> <a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><<a href="http://www.hvenegaard.dk/" target="_blank">http://www.hvenegaard.dk/</a>><br><br>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>_______________________________________________<br>mapserver-users mailing list<br><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>