[MapServer-users] WFS-Client time gap
Jörg Thomsen (WhereGroup)
joerg.thomsen at wheregroup.com
Thu Feb 6 07:51:12 PST 2025
Hello,
I'm trying to use a wfs as datasource with this simply layer:
LAYER
NAME "AX_Wohnbauflaeche"
TYPE POLYGON
EXTENT 632397 5452678 663188 5477752
CONNECTIONTYPE OGR
CONNECTION
"WFS:https://geoservices.bayern.de/wfs/v1/ogc_atkis_basisdlm.cgi??NAMESPACES=xmlns(adv,http://www.adv-online.de/namespaces/adv/gid/7.1)&NAMESPACE=xmlns(adv,http://www.adv-online.de/namespaces/adv/gid/7.1)&"
DATA "adv:AX_Wohnbauflaeche"
PROCESSING "CLOSE_CONNECTION=DEFER"
DEBUG 5
METADATA
ows_title 'AX_Wohnbauflaeche'
END
PROJECTION
"init=epsg:25832"
END
CLASS
NAME "wohnflächen"
STYLE
COLOR 255 0 0
END
END
END
It takes about 3 Minutes to get the WMS-Image and there is time gap of
140 sec(!) between the connection to the wfs und getting the data by
mapserver. I don't know where to look further to solve this issue, any
ideas anyone?
Loading the WFS into QGIS works fine.
here's the mapserver-log:
> [Thu Feb 6 16:12:35 2025].368191 msOGRFileOpen(WFS:https://geoservices.bayern.de/wfs/v1/ogc_atkis_basisdlm.cgi?)...
> [Thu Feb 6 16:12:35 2025].368214 GDALOpenEx(WFS:https://geoservices.bayern.de/wfs/v1/ogc_atkis_basisdlm.cgi?)
> [Thu Feb 6 16:12:35 2025].675318 msConnPoolRegister(AX_Wohnbauflaeche,WFS:https://geoservices.bayern.de/wfs/v1/ogc_atkis_basisdlm.cgi?,0x557a9fac0b80)
> [Thu Feb 6 16:12:36 2025].483355 msOGRFileWhichShapes: Setting spatial filter to 639740.503472222 5458590.60069444 656889.079861111 5471734.94097222
> [Thu Feb 6 16:14:56 2025].440708 msOGRFileNextShape: Returning shape=65597, tile=0
> [Thu Feb 6 16:14:56 2025].440961 msOGRFileNextShape: Returning shape=65600, tile=0
> [Thu Feb 6 16:14:56 2025].441024 msOGRFileNextShape: Returning shape=65601, tile=0
Jörg
--
Viele Grüße,
Jörg Thomsen
---------------------------------------------
Schon gewusst?
In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software
und berichten aus unseren Projekten
https://wheregroup.com/blog/
---------------------------------------------
Jörg Thomsen
WhereGroup GmbH
Bundesallee 23
10717 Berlin
Germany
Tel: +49 (0)30 / 5130 278 74
Fax: +49 (0)30 / 5130 278 11
joerg.thomsen at wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
More information about the MapServer-users
mailing list