geopandas / contextily

Context geo-tiles in Python
https://contextily.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
530 stars 83 forks source link

Close and reopen memfile dataset before WarpedVRT #165

Closed sgillies closed 4 years ago

sgillies commented 4 years ago

Depending on format, datasets that have been written need to be closed before they are complete, so this is safer. A future version of rasterio will require that datasets passed to WarpedVRT be opened in read-only mode. Also, using numpy.moveaxis so that we only call mraster.write once.

sgillies commented 4 years ago

The build errors look unrelated :shrug:

jorisvandenbossche commented 4 years ago

Thanks a lot!

The build errors look unrelated shrug

Indeed that is being fixed in https://github.com/geopandas/contextily/pull/164