<html>
  <head>
    
  </head>
  <body text="#000066" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      OK, It's only possible to  set "natural" block size with options
      of GDALDataset::AddBand() <span id="result_box" class="short_text"
        lang="en"><span>if</span> <span>the driver</span> <span
          class="">supports</span></span> "natural" block size, like
      "GTiff" driver.<br>
      <br>
      Thank you very much,<br>
      <br>
      Samuel<br>
      <br>
      <br>
      Tim Keitt a écrit :<br>
    </div>
    <blockquote
cite="mid:CANnL8gq+LNtfhqw7yqqFKiXT73ZMTJQP1FBT9Z79Fhv6m4AbGQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">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.
        <div><br>
        </div>
        <div>THK</div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr"><a moz-do-not-send="true"
                href="http://www.keittlab.org/" target="_blank">http://www.keittlab.org/</a></div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Wed, Aug 24, 2016 at 6:44 AM, BRUNEL
          Samuel <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:samuel.brunel@thalesgroup.com"
              target="_blank">samuel.brunel@thalesgroup.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000066" bgcolor="#FFFFFF"> <font size="+1"><font
                  face="DejaVu Sans"><font size="+1">Hi,<br>
                    <br>
                    <font size="+1"><font size="+1"><font size="+1">It'<font
                            size="+1">s e<font size="+1">asy to <font
                                size="+1">fetch </font></font></font></font></font></font></font></font></font><font
                size="+1"><font face="DejaVu Sans"><font size="+1"><font
                      size="+1"><font size="+1"><font size="+1"><font
                            size="+1"><font size="+1"><font size="+1">the
                                "natural" block size of <font size="+1">a</font>
                                band <font size="+1">with<font
                                    size="+1"> "</font></font></font></font></font></font></font></font></font></font></font>void

              GDALRasterBand::GetBlockSize(<wbr>int *pnXSize, int
              *pnYSize)" but <font size="+1">I don't understand how
                pnXSi<font size="+1">ze and pnYsi<font size="+1">ze are
                    set in g<font size="+1">dal.<br>
                      <br>
                    </font></font></font></font>I'm using gdal 1.11.4 <br>
              <br>
              <font size="+1"><font face="DejaVu Sans"><font size="+1"><font
                      size="+1"><font size="+1"><font size="+1"><font
                            size="+1"><font size="+1"><span lang="en"><span>Anyone

                                  know</span> <span>the answer ?</span></span></font></font></font></font></font></font></font></font><font
                size="+1"><font size="+1"><font size="+1"><font
                      size="+1"><font size="+1"><font size="+1"><font
                            size="+1"><br>
                            <br>
                            <br>
                            <font size="+1"><font size="+1"><font
                                  size="+1">Best regards,<br>
                                  <br>
                                  <font size="+1">Samuel<br>
                                    <br>
                                    <br>
                                  </font></font></font></font></font></font></font></font></font></font></font>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            gdal-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
              rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/gdal-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>