Hi Jörg, Maybe each feature is triggering a new cURL request? You could try adding more logging details using:
CONFIG "CPL_DEBUG" "ON" CONFIG "CPL_CURL_VERBOSE" "ON" CONFIG "CPL_TIMESTAMP" "ON" Is it any faster if you use the WFS client? https://mapserver.org/ogc/wfs_client.html Seth -- web:https://geographika.net & https://mapserverstudio.net mastodon: @geographika@mastodon.social On Thu, Feb 6, 2025, at 4:51 PM, Jörg Thomsen (WhereGroup) via MapServer-users wrote: > 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.thom...@wheregroup.com > www.wheregroup.com > > Geschäftsführer: > Olaf Knopp, Peter Stamm > Amtsgericht Bonn, HRB 9885 > > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users