Hi, Did you properly set for each layer a "wfs_extent" ? Than can help.
Best regards Guillaume Le 26/11/13 12:26, Lars I. Nielsen a écrit :
Hi, I'm still having problems with my setup of a WFS server using Mapserver 6.4.0 :-( 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. How can I get Mapserver/something-else to force closing the connection ? 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. http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities Any advise will be helpful :-) Kind regards / Med venlig hilsen Lars I. Nielsen ---------------------------------------------------------------- Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. +45 6313 5050 http://www.hvenegaard.dk -----Oprindelig meddelelse----- Fra: [email protected] [mailto:[email protected]] På vegne af Lars I. Nielsen Sendt: 26. november 2013 10:35 Til: Rahkonen Jukka; [email protected] Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses Hi Jukka, 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. Apparently the OGR VRT frameworks needs to open separate connections, and keeping the first connection open blocked subsequent connections. This part now works :-) Still working on other issues though ... Kind regards / Med venlig hilsen Lars I. Nielsen ---------------------------------------------------------------- Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. +45 6313 5050 http://www.hvenegaard.dk -----Oprindelig meddelelse----- Fra: Rahkonen Jukka [mailto:[email protected]] Sendt: 19. november 2013 15:59 Til: Lars I. Nielsen; [email protected] Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses Hi, I can only show how my MS 6.2.1 server reacts http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType<http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.1.0&request=DescribeFeatureType> -Jukka Rahkonen- ________________________________ Lähettäjä: [email protected] [[email protected]] käyttäjän Lars I. Nielsen [[email protected]] puolesta Lähetetty: 19. marraskuuta 2013 16:16 Vastaanottaja: [email protected] Aihe: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses Hi, I got the standalone Mapserver 6.4 x64 up and running, but there are still some issues: If I run "request=describefeaturetype" on any of the three typenames in my setup, it returns its list of attributes as it should. 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 !?? Is this WAD, or is Mapserver forgetting to return attributes for the latter two typenames (as I suspect) ? The server is online on this address if anyone wants to have a look: http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities DescribeFeatureType that works: http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype&typename=GO_Flader DescribeFeatureType that doesn't work: http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype Kind regards / Med venlig hilsen Lars I. Nielsen ---------------------------------------------------------------- Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. +45 6313 5050 http://www.hvenegaard.dk<http://www.hvenegaard.dk/> _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
