<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hint: use EPSG:4326 for the SRS of the .gti.fgb, because this is
      the SRS of the tiles.  The GTI driver isn't smart enough to figure
      out that OGC:CRS84 ~= EPSG:4326, and thus a rather dummy
      on-the-fly warping is done.<br>
    </p>
    <div class="moz-cite-prefix">Le 31/01/2024 à 01:37, Michael Sumner a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAcGz9_qY_u_hOMxuGhkMSHGecptZzooVj-G3feFk-vFLWW=gA@mail.gmail.com">
      <div dir="ltr">just to follow up, I got it all working in latest
        GDAL: 
        <div><br>
        </div>
        <div>script at </div>
        <div><br>
        </div>
        <div><a
href="https://github.com/mdsumner/cog-example/blob/main/gti/cop90.py"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/mdsumner/cog-example/blob/main/gti/cop90.py</a><br>
        </div>
        <div><br>
        </div>
        <div>creates dsn</div>
        <div><br>
        </div>
        <div>/vsicurl/<a
href="https://github.com/mdsumner/cog-example/raw/main/gti/cop90.gti.fgb"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/mdsumner/cog-example/raw/main/gti/cop90.gti.fgb</a><br>
        </div>
        <div><br>
        </div>
        <div>which works nicely, thanks! </div>
        <div><br>
        </div>
        <div>Cheers, Mike</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Jan 30, 2024 at
          10:57 PM Even Rouault <<a
            href="mailto:even.rouault@spatialys.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">even.rouault@spatialys.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote">
          <div> <br>
            <blockquote type="cite">
              <p>as you could also attach the XRES, YRES, BANDCOUNT,
                etc. metadata items that would help the GTI driver avoid
                probing one of the tiles.<br>
              </p>
            </blockquote>
            <p>PS: OGRLayer::SetMetadataItem(key, value) only works on
              FlatGeoBuf and GPKG drivers with latest master as well</p>
            <span>
            </span>
            <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
          </div>
        </blockquote>
      </div>
      <br>
      <div><br>
      </div>
      <span class="gmail_signature_prefix">-- </span><br>
      <div dir="ltr" class="gmail_signature">Michael Sumner<br>
        Software and Database Engineer<br>
        Australian Antarctic Division<br>
        Hobart, Australia<br>
        e-mail: <a href="mailto:mdsumner@gmail.com" target="_blank"
          moz-do-not-send="true" class="moz-txt-link-freetext">mdsumner@gmail.com</a></div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>