[gdal-dev] OGR: read datasources from a database

Stefan Röckelein sroeckelein at gmail.com
Tue Feb 28 07:06:36 EST 2012


Hi,

the usual procedure to open a file with OGR is to use
OGRSFDriverRegistrar::Open("somefile.dxf",FALSE)
Now I want to open a DXF-file which was previously stored in a database.
Therefore I would need some ORG method which reads the drawing not from a
file, but from a string (containing the whole DXF-file) directly.
Is it possible to do this somehow?

An alternative could be to save and read an OGRDataSource object inside the
database. Is this possible?

Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120228/88c2f13c/attachment.html


More information about the gdal-dev mailing list