[gdal-dev] Multiple layers in OGRDataSource
olitour at gmail.com
Mon Apr 7 15:51:24 EDT 2008
I read the OGR documentation OGR API Tutorial, and I found this sentence :
" An OGRDataSource <http://www.gdal.org/ogr/classOGRDataSource.html> can
potentially have many layers associated with it"
However, I cannot find the way to add multiple layers in one instance of
OGRDataSource. What I would like to do is to read a set of shapefiles,
create a layer for each of them and store them in an OGRDataSource object.
Note I also want to be able to create an OGRDataSource object and add layers
(from shapefiles) in a second time. Could you please give me the way to do
such a task ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev