[gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

Even Rouault even.rouault at mines-paris.org
Wed May 16 18:20:01 EDT 2012


Le mercredi 16 mai 2012 23:58:29, Yingqi Tang a écrit :
> Hi all,
> 
> I am communicating against a WFS server which supports data (GML)
> streaming, which means that once I send a GetFeature quest for a big GML
> (2.0GB+), server will take only seconds to start streaming GML back to
> client while at the same time it's still preparing the rest of the big GML.
> 
> Now I wonder if GDAL/OGR WFS client can take advantage of that? Will I be
> able to access the first few features while the streaming is still going
> on? It seems to me that it doesn't because it always waiting the whole big
> GML response is loaded in memory.

Yes indeed, the OGR WFS driver waits for the whole response to be downloaded 
before parsing it. It could be desirable to have on-the-fly parsing indeed, but 
we currently lack the capability of doing it with the way we use the Curl 
library.

> 
> Thanks


More information about the gdal-dev mailing list