Hi all,
I've written a test for rasterio and the output has me scratching my head.
The gist of it: It creates a VSIMEM file copied from an ordinary GeoTIFF on
my filesystem, calls GDALOpenEx on the VSIMEM file to get a handle, calls
GDALAutoCreateWarpedVRT with that handle to make a warped VRT and
> In your scenario, the C++ object corresponding to rgb has a VSILFILE* opened
> on it. And the C ++ object corresponding to vrt keeps the C++ object
> corresponding to rgb alive, hence this works.
I assume your question was triggered by
https://github.com/mapbox/rasterio/issues/2000
which is I be
Sean,
/vsimem/ tries to honour POSIX file behaviour. That is you can delete a file
while it has file
descriptors opened on it, and the file will actually be destroyed when the last
file descriptor
is closed, but nobody is able to open/list it in the meantime. (by the way, I
wouldn't be
surpr