<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <br>
    <blockquote type="cite"
cite="mid:CACJ51z2Bwk5hynJ76Rc3ULO_z-Cgcf9OYE4bgPDiHc5Bmbk5Uw@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <div>Still, it seems like there's no support to get WKT2 from
            the exportToPretty() function. Is this correct?</div>
        </div>
      </div>
    </blockquote>
    <p>$ python -c "from osgeo import osr; srs = osr.SpatialReference();
      srs.ImportFromEPSG(4326); print(srs.ExportToWkt(['FORMAT=WKT2']))"</p>
    <p><br>
    </p>
    GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984
    ensemble",MEMBER["World Geodetic System 1984
    (Transit)"],MEMBER["World Geodetic System 1984
    (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World
    Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984
    (G1674)"],MEMBER["World Geodetic System 1984
    (G1762)"],ELLIPSOID["WGS
84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic
    latitude
(Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic
    longitude
(Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal
    component of 3D
    system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]<br>
    <br>
    <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>