[mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses

Martin Kofahl martin.kofahl at gmail.com
Thu Nov 28 11:25:32 PST 2013


Lars,
can you try to run the request from command line in order to rule out a
connection between iis and mapserser. See
http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi for
an how-to. From command prompt you should be able to run somethin like

X:\yz\mapserv64.exe -nh
"QUERY_STRING=map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities"
You'll have to chdir the Location of BallerupGO_WFS.map before.

Are there differences between wfs Version 1.0.0 and 1.1.0?

Kind regards,
Martin


2013/11/26 Lars I. Nielsen <lin at hvenegaard.dk>

> 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: mapserver-users-bounces at lists.osgeo.org [mailto:
> mapserver-users-bounces at lists.osgeo.org] På vegne af Lars I. Nielsen
> Sendt: 26. november 2013 10:35
> Til: Rahkonen Jukka; mapserver-users at lists.osgeo.org
> 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:jukka.rahkonen at mmmtike.fi]
> Sendt: 19. november 2013 15:59
> Til: Lars I. Nielsen; mapserver-users at lists.osgeo.org
> 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ä: mapserver-users-bounces at lists.osgeo.org [
> mapserver-users-bounces at lists.osgeo.org] käyttäjän Lars I. Nielsen [
> lin at hvenegaard.dk] puolesta
> Lähetetty: 19. marraskuuta 2013 16:16
> Vastaanottaja: mapserver-users at lists.osgeo.org
> 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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131128/2f903a44/attachment.htm>


More information about the MapServer-users mailing list