[gdal-dev] python: set CacheMax to percent, MB, GB?
Matt.Wilkie at yukon.ca
Matt.Wilkie at yukon.ca
Thu Jun 17 10:14:54 PDT 2021
I see in https://gdal.org/python/osgeo.gdal-module.html#SetCacheMax we set the value using bytes. Is there a prebuilt method to convert units like percent, megabytes, gigabytes to bytes or is it up to us to build one?
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210617/904b33de/attachment-0001.html>
More information about the gdal-dev
mailing list