[gdal-dev] No way to set natural block size ?

BRUNEL Samuel samuel.brunel at thalesgroup.com
Wed Aug 24 06:09:15 PDT 2016


OK, It's only possible to  set "natural" block size with options of GDALDataset::AddBand() if the driver supports "natural" block size, like "GTiff" driver.

Thank you very much,

Samuel


Tim Keitt a écrit :
It is set at the time of dataset creation and cannot be changed without creating a new dataset. Check which drivers allow you to set a tiled layout on disk.

THK

http://www.keittlab.org/

On Wed, Aug 24, 2016 at 6:44 AM, BRUNEL Samuel <samuel.brunel at thalesgroup.com<mailto:samuel.brunel at thalesgroup.com>> wrote:
Hi,

It's easy to fetch the "natural" block size of a band with "void GDALRasterBand::GetBlockSize(int *pnXSize, int *pnYSize)" but I don't understand how pnXSize and pnYsize are set in gdal.

I'm using gdal 1.11.4

Anyone know the answer ?


Best regards,

Samuel



_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org<mailto:gdal-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/gdal-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160824/11f4b427/attachment.html>


More information about the gdal-dev mailing list