<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Olivier,</p>
    <p>hum, good finding. This is actually an oversight of the
      implementation. The WKT2 grammar
      (<a class="moz-txt-link-freetext" href="http://docs.opengeospatial.org/is/18-010r7/18-010r7.html#149">http://docs.opengeospatial.org/is/18-010r7/18-010r7.html#149</a>)
      does indeed allow usage/scope/extent/id/remark for a bound CRS but
      our C++ classes do not allow for that now. Could you file a ticket
      in <a class="moz-txt-link-freetext" href="https://github.com/OSGeo/PROJ/issues/new">https://github.com/OSGeo/PROJ/issues/new</a> about that ?</p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 18/08/2021 à 13:38, Olivier PENA a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:VI1PR0302MB3471995DD8FCDB4CE9CE3BEAB2FF9@VI1PR0302MB3471.eurprd03.prod.outlook.com">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <div class="WordSection1">
        <p class="MsoNormal">Hi</p>
        <p class="MsoNormal"><span lang="EN-US">I’m looking for a way to
            set area of use for a BoundCRS I define with WKT like this
            one :</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal">BOUNDCRS[</p>
        <p class="MsoNormal">    SOURCECRS[</p>
        <p class="MsoNormal">        PROJCRS["Monte Mario / Italy zone
          2",</p>
        <p class="MsoNormal">            <span lang="EN-US">BASEGEOGCRS["Monte
            Mario",</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            DATUM["Monte Mario",</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ELLIPSOID["International 1924",6378388,297,</span></p>
        <p class="MsoNormal"><span lang="EN-US">         
                          LENGTHUNIT["metre",1]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            PRIMEM["Greenwich",0,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ANGLEUNIT["degree",0.0174532925199433]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            ID["EPSG",4265]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            CONVERSION["unnamed",</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            METHOD["Transverse Mercator",</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",9807]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            PARAMETER["Latitude of natural origin",0,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ANGLEUNIT["degree",0.0174532925199433],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",8801]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            PARAMETER["Longitude of natural origin",15,</span></p>
        <p class="MsoNormal"><span lang="EN-US"> 
                              ANGLEUNIT["degree",0.0174532925199433],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",8802]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            PARAMETER["Scale factor at natural origin",0.9996,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            SCALEUNIT["unity",1],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",8805]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">            
               PARAMETER["False easting",2520000,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            LENGTHUNIT["metre",1],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",8806]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            PARAMETER["False northing",0,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            LENGTHUNIT["metre",1],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ID["EPSG",8807]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">        
               CS[Cartesian,2],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            AXIS["x",east,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ORDER[1],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            LENGTHUNIT["metre",1]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            AXIS["y",north,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ORDER[2],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            LENGTHUNIT["metre",1]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",3004]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">    TARGETCRS[</span></p>
        <p class="MsoNormal"><span lang="EN-US">        GEOGCRS["WGS
            84",</span></p>
        <p class="MsoNormal"><span lang="EN-US">            DATUM["World
            Geodetic System 1984",</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            ELLIPSOID["WGS 84",6378137,298.257223563,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            LENGTHUNIT["metre",1]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            PRIMEM["Greenwich",0,</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            ANGLEUNIT["degree",0.0174532925199433]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            CS[ellipsoidal,2],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            AXIS["latitude",north,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ORDER[1],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ANGLEUNIT["degree",0.0174532925199433]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">               
            AXIS["longitude",east,</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ORDER[2],</span></p>
        <p class="MsoNormal"><span lang="EN-US">                   
            ANGLEUNIT["degree",0.0174532925199433]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",4326]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">   
            ABRIDGEDTRANSFORMATION["Transformation from Monte Mario to
            WGS84",</span></p>
        <p class="MsoNormal"><span lang="EN-US">        METHOD["Position
            Vector transformation (geog2D domain)",</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",9606]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["X-axis translation",-50.2,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8605]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["Y-axis translation",-50.4,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8606]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["Z-axis translation",84.8,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8607]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["X-axis rotation",-0.69,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8608]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["Y-axis rotation",-2.012,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8609]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            PARAMETER["Z-axis rotation",0.459,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8610]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">        PARAMETER["Scale
            difference",0.99997192,</span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            ID["EPSG",8611]]],</span></p>
        <p class="MsoNormal"><span lang="EN-US">    USAGE[</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            SCOPE["unknown"],</span></p>
        <p class="MsoNormal"><span lang="EN-US">        AREA["Italy -
            Sicily onshore"],</span></p>
        <p class="MsoNormal"><span lang="EN-US">       
            BBOX[36.59,12.36,38.35,15.71]]</span></p>
        <p class="MsoNormal"><span lang="EN-US">]</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">I would be happy if
            proj_get_area_of_use() on the crs return the Sicily BBox.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">I ran a debug session
            and it seems that USAGE node is not taken account in
            buildBoundCRS() in io.cpp. Same behavior in the json parser.</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
        <p class="MsoNormal"><span lang="EN-US">Is this normal behavior
            ?</span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks</span></p>
        <p class="MsoNormal"><span lang="EN-US"> </span></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
PROJ mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PROJ@lists.osgeo.org">PROJ@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/proj">https://lists.osgeo.org/mailman/listinfo/proj</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>