Title: SkenData Email Signatur
So here is the working not working setup. Unfortunately the working OGR WFS client layers are all private so I can not share them.

This call delivers objects as expected:
http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer
This one, too:
http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer

Data is delivered in the correct srs (verified manually with QGIS).

This call doesn't work as described before as BBOX is not transmitted to external server:
http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=TestLayer

While the same direct call works:
http://sg.geodatenzentrum.de/wfs_info?SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=info:dop
(funny, epsg 3857 is not in the capabilities but works anyhow)

I hope you can find out what is going wrong. Thanks so much for looking into this!

Best

Lars


Am 27.05.21 um 18:28 schrieb Rahkonen Jukka (MML):
SkenData Email Signatur

Hi,

 

Have you already tried to use WFS connection instead of OGR connection?

 

 

-Jukka Rahkonen-

 

Lähettäjä: mapserver-users <mapserver-users-boun...@lists.osgeo.org> Puolesta Lars Fricke
Lähetetty: torstai 27. toukokuuta 2021 14.59
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: Re: [mapserver-users] WFS Client returns data at random with very same call

 

Dear all,
I apologize for finding and posting bits and pieces not all at one time.
I fired up 'CONFIG "CPL_DEBUG" "ON"' and there I see, that
"""

HTTP: Fetch(http://url-to-external-server?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1000&REQUEST=GetFeature&TYPENAME=dop)
"""
So there is no BBOX. On other layers I see
"""
GDALOpen(/vsicurl_streaming/https:...
"""
with BBOX.
No wonder I do not get reliable results if the server is calling some 1000 whatsoever result objects and starts filtering the bbox after.

Any idea what is happening? Or is this something for a GDAL thread?

Best
Lars

 


<<attachment: issue_mapserver_files.zip>>

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to