[gdal-dev] nearblack on multi GB images very slow

Matt.Wilkie at yukon.ca Matt.Wilkie at yukon.ca
Sun Mar 14 21:08:14 PDT 2021


>You need to count tiles in the row, not pixels.

>
>ceil(126015/128)*3*8*128*128 = 387 118 080 = half a gigabyte.

Thank you! That made a huge difference. With GDAL_CACHEMAX=1024 it finished in about 40 minutes.

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210315/f4f3a376/attachment.html>


More information about the gdal-dev mailing list