[gdal-dev] OGR and GML?

Ben Discoe ben at v...
Mon Jul 15 17:52:34 EDT 2002


Is there a way to get OGR to parse from a memory buffer, rather than a disk
file?
Right now i am using the following, which assumes a filename:

OGRDataSource *pDatasource = OGRSFDriverRegistrar::Open( filename );

However, my GML files are being acquired using HTTP, as a big string buffer.
I can write the buffer out to a temporary file, and point OGR to that, which
works, but i hope there is a more efficient way?

Thanks,
Ben





More information about the Gdal-dev mailing list