On 09/28/2010 09:41 AM, Alexander Bruy wrote:
Hi all,

I've develop a small GIS tool and use GDAL/OGR to work with raster and
vector data.

Is it possible to access shapefiles which loaded in memory with OGR?
And same things with SpatiaLite databases? I know that SQLIte/SpatiaLite
can create in-memory DB. But is it possible to access such databases
with OGR?

Small example or any hinst will be very useful

The way to accomplish that in GDAL is to copy the layer to a data source controlled by the MEM driver. Depending on which language you work with take a look at OGRDataSource::CopyLayer method or one of its FFI's.

Best regards,

Ari

Thanks


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to