[gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL
Rob.Langford at salford.gov.uk
Tue Oct 10 04:38:31 PDT 2017
Thank you for looking at this and confirming.
So would this fix be available in the next major release and if so does that have a release date currently?
In the meantime any thoughts on how we could programmatically pick up this error?
From: Even Rouault [mailto:even.rouault at spatialys.com]
Sent: 10 October 2017 12:03
To: gdal-dev at lists.osgeo.org
Cc: Langford, Robert <Rob.Langford at salford.gov.uk>
Subject: Re: [gdal-dev] OGR2OGR WFS HTTP 504 but no ERRORLEVEL
> Could anyone advise if this a bug, or if not how we can detect such errors?
Yes, that can probably be considered as a bug. The HTTP 504 error here occurs not when opening the WFS datasource or retrieving the layer schema but when iterating over features, and ogr2ogr lacked propragation of read errors when iterating over source features. I've just added it in trunk. For now, I'm a bit hesitant to backport that to the stable series (in hypothetical case of drivers that would emit errors when reading at end of dataset, which would be an inappropriate behaviour)
Spatialys - Geospatial professional services
DISCLAIMER: The information contained in this communication/message from Rob.Langford at salford.gov.uk sent on Tue Oct 10 12:38:32 2017 is confidential. It is intended solely for the addressee(s) gdal-dev at lists.osgeo.org;even.rouault at spatialys.com
Access to this message by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful.
As a public body, Salford City Council may be required to disclose this email [or any response to it] under the Freedom of Information Act 2000, unless the information in it is covered by one of the exemptions in the Act.
Please immediately contact the sender, Rob.Langford at salford.gov.uk if you have received this message in error.
For the full disclaimer please access http://www.salford.gov.uk/e-mail. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev