[gdal-dev] Documentation of

Even Rouault even.rouault at spatialys.com
Wed Mar 6 12:47:12 PST 2019


On mercredi 6 mars 2019 11:38:50 CET Rahkonen Jukka (MML) wrote:
> Hi,
> 
> In the documentation of GDAL config options I noticed this:
> GDAL_SWATH_SIZE
> Defaults to 10000000 (10 MB). Used by gcore/rasterio.cpp
> Size of the swath when copying raster data from one dataset to another one
> (in bytes). Should not be smaller than GDAL_CACHEMAX

Actually there is no direct connection between both. There is just no sense in 
making GDAL_SWATH_SIZE larger than the size of the uncompressed dataset.

> 
> Should it be "...not be bigger than GDAL_CACHEMAX"? Lay man thinking and the
> comment in ticket https://trac.osgeo.org/gdal/ticket/2195 makes me think
> so. "There's a configuration option for it, GDAL_SWATH_SIZE, and now it's
> 1/4 of the GDAL_CACHEMAX (still defaulting to 10 MB is GDAL_CACHEMAX let to
> its default value)"
> 
> 
> -Jukka Rahkonen-


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list