Re: [gdal-dev] Documentation for previous versions

2020-06-08 Thread Howard Butler
Jon, The way to get point-in-time docs for GDAL is to check out the last release branch for the version you care about and run doxygen or sphinx (3.0+) to build the HTML site. Other than that, Sphinx does support multi-version tagging, but it would be a lot of work to retroactively apply taggi

[gdal-dev] Building with recent versions of Visual Studio 2019 fails due to cstdint problems C2039 C2873 

2020-06-08 Thread Millman, Mark
I've been building GDAL for the last 8 years or so for almost every new release. And I successfully built version 2.4.1 with Visual Studio 2019 when it first came out. However, I am no longer able to build V2.4.1 or V3.0.4 or V3.1.0 with the latest releases of Visual Studio 2019. I get error

[gdal-dev] [Docs] Sphinx 3.1.0 + GDAL docs

2020-06-08 Thread Jeff McKenna
Hello fellow GDAL docs contributors, this really isn't worthy for a GDAL ticket, so I'm just sharing here on the mailing list: keep an eye open for the python 'breathe' package currently not allowing to build with Sphinx 3.1.0, which was released today (GDAL docs require breathe + sphinx). You

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Daniel Evans
Hi Jon, That'll be some bit of code passing that in as a creation option (-co) incorrectly - the warning is quite correct that GDAL_CACHEMAX is not a valid creation option for file formats. You'd either need to set an environment variable, or call `gdal.SetConfigOption`. I've spotted a few sim

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
Thanks for the quick fix Even! I'm also getting a warning that I can't find any reference to in the code. We don't get this at 2.2.0, so do you know what version dropped support for this option? Warning 6: driver GTiff does not support creation option GDAL_CACHEMAX Jon From: Even Rouault Sent

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Even Rouault
Jon, thanks for the report. I've just pushed a fix for that Even > Hello all, > > I think I've found an edge case in gdal.Dataset.BuildOverviews. I'm using > GDAL 3.0.4 and have found that some of our BuildOverviews tests were > crashing out with a seg fault. On investigation, it seems to be wh

[gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
Hello all, I think I've found an edge case in gdal.Dataset.BuildOverviews. I'm using GDAL 3.0.4 and have found that some of our BuildOverviews tests were crashing out with a seg fault. On investigation, it seems to be when COMPRESS_OVERVIEW is set to LZW, the height is greater than the width, a