Re: MemoryFile loses Profile information


Sean Gillies
 



On Wed, Apr 29, 2020 at 1:38 AM <ciaran.evans@...> wrote:

As with Guillaume's answer, it's a Sentinel 2 band and has no side-car file, when I write straight to a file, the georeferencing is maintained.

Since there's no JP2 specific code in MemoryFile and things work with the GeoTIFF driver, I suspect there's a subtle bug involving the vsimem system and one of the JP2 drivers. It would be useful to try to reproduce this with GDAL's Python bindings, but I don't have them installed and won't be able to try that.

--
Sean Gillies

Join main@rasterio.groups.io to automatically receive all group messages.