<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 17/09/2021 à 23:03, Brent Fraser a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:a87f2830d8e44cbbbb577e2a1fd0becd@geoanalytic.com">
      <div>
        <div>Hi All,<br id="isPasted">
          <br>
          I'm interested in experimenting with creating tile sets in
          various coordinate systems (other than the usual EPSG:3857 and
          EPSG:4326).  The good news is that it looks like as of GDAL
          v3.2 gdal2tiles.py supports a "profile" option for defining
          the tile set including the coordinate system.<br>
          <br>
          The profile is in JSON with all the detail gdal2tiles would
          require to create tiles (example: <a target="_blank"
            rel="noopener noreferrer"
href="https://github.com/OSGeo/gdal/blob/master/gdal/data/tms_MapML_APSTILE.json"
            moz-do-not-send="true">https://github.com/OSGeo/gdal/blob/master/gdal/data/tms_MapML_APSTILE.json</a>)<br>
        </div>
      </div>
    </blockquote>
    This follows the JSON encoding of the OGC Two Dimensional Tile
    Matrix Set  specification:
    <a class="moz-txt-link-freetext" href="https://docs.opengeospatial.org/is/17-083r2/17-083r2.html">https://docs.opengeospatial.org/is/17-083r2/17-083r2.html</a><br>
    <blockquote type="cite"
      cite="mid:a87f2830d8e44cbbbb577e2a1fd0becd@geoanalytic.com">
      <div>
        <div><br>
          I suppose I could create a profile JSON file by hand (or do
          some coding) but I thought I would ask if there was an
          existing tool?<br>
        </div>
      </div>
    </blockquote>
    Not that I'm aware of. A few lines of Python should be enough to
    create a profile with zoom levels varying by a factor of 2 for the
    resolution, which is currently a constraint for the profile to be
    accepted by gdal2tiles.<br>
    <blockquote type="cite"
      cite="mid:a87f2830d8e44cbbbb577e2a1fd0becd@geoanalytic.com">
      <div>
        <div><br>
          Thanks!<br>
          Brent Fraser</div>
        <div><br>
        </div>
        <div contenteditable="false"><span> </span></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </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>