[gdal-dev] WFS driver bug1
Odd Ragnar Lydersen
Odd-Ragnar.Lydersen at powel.no
Wed Sep 28 05:00:36 PDT 2016
When I'm using the WFS driver for version 1.0.0, or version 1.1.0 then I get some error messages back from GDAL, when the service is password protected.
I have not tested this for version 2.x.
Here is what I have found out:
1) Calls to CPLHTTPFetch() from OGRWFSDataSource::HTTPFetch() is sent with UserPwd in papszOptions parameter.
2) Calls to CPLHTTPFetch() from OGRGMLDataSource::Open() is sent without UserPwd in papszOptions parameter,
in fact the calls from the GML driver is always called with the parameter set to NULL .
Even though I get these errors, I'm still able to read features from the service.
But why are the calls in the GML driver, (on behalf of the WFS driver), made without UserPwd in papszOptions parameter?
I have attached some output from the calls tack, so you can see which calls are causing this behaviour.
Best regards
Odd-Ragnar Lydersen
System Developer
Powel AS Storgata 27B, Pb 369, N-4349 Bryne, NORWAY
Email: odd-ragnar.lydersen at powel.no<mailto:odd-ragnar.lydersen at powel.no>
www.powel.no<http://www.powel.com/>
[cid:image002.jpg at 01CDD1F7.F470C190]<http://www.powel.no/en>[cid:image004.jpg at 01CDD1F7.F470C190]<https://www.facebook.com/pages/Powel/350917775700>[cid:image006.jpg at 01CDD1F7.F470C190]<http://www.linkedin.com/company/powel-as>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160928/08271e6f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1268 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160928/08271e6f/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 870 bytes
Desc: image002.jpg
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160928/08271e6f/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 909 bytes
Desc: image003.jpg
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160928/08271e6f/attachment-0005.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CallStackGdalWfs.txt
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160928/08271e6f/attachment-0001.txt>
More information about the gdal-dev
mailing list