<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Simon,</p>
    <p>epsg.io is not a reference site. You should rather consult
      epsg.org</p>
    <p>For CRS EPSG:29902, it refers to extent
      <a class="moz-txt-link-freetext" href="https://epsg.org/extent_3767/Ireland-onshore.html">https://epsg.org/extent_3767/Ireland-onshore.html</a> which has -5.93°
      as east longitude</p>
    <p><a class="moz-txt-link-freetext" href="https://epsg.org/extent_1305/Europe-Ireland-Republic-and-Ulster-onshore.html">https://epsg.org/extent_1305/Europe-Ireland-Republic-and-Ulster-onshore.html</a>
      has -5.34° as east longitude.  So epsg.io is perhaps confused by
      which extent to use, or an update has occured between the last
      state of the database it used and today.<br>
    </p>
    <p>Even<br>
    </p>
    <div class="moz-cite-prefix">Le 03/01/2023 à 18:33, Simon Wright a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:LO3P123MB3291E46B21AFE558854859E390F49@LO3P123MB3291.GBRP123.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:black;
        font-weight:normal;
        font-style:normal;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">Dear
            All<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">Happy
            New Year!<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">I’m
            trying to use the GetAreaOfUse() method on a
            osgeo.osr.SpatialReference to check the validity of
            coordinates.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">With
            the following for the Irish National Grid (EPSG:29902) I get
            the WGS84 bounds – west, east, south, north - of the spatial
            reference system to be -10.56, -5.93, 51.39, 55.43:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">>>>
            from osgeo import osr<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">>>>
            srs = osr.SpatialReference()<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">>>>
            srs.ImportFromEPSG(29902)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">0<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">>>>
            aou = srs.GetAreaOfUse()<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">>>>
            aou.west_lon_degree, aou.east_lon_degree,
            aou.south_lat_degree, aou.north_lat_degree<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">(-10.56,
            -5.93, 51.39, 55.43)<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">However,
            at
            <a href="https://epsg.io/29902%20the%20WGS84"
              moz-do-not-send="true">https://epsg.io/29902 the WGS84</a>
            bounds are listed as -10.56, -5.34, 51.39, 55.43.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">How
            is the GetAreaOfUse() method implemented? And is there a bug
            in the values stored for the EPSG:29902 projection?  Or is
            there another reason why the values differ to those listed
            at epsg.io.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-family:"Arial",sans-serif;color:black">Many
            thanks, best wishes, Simon.<o:p></o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#F6A124;mso-fareast-language:EN-GB"
              lang="EN-US"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#F6A124;mso-fareast-language:EN-GB"
              lang="EN-US"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#F6A124;mso-fareast-language:EN-GB"
              lang="EN-US"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#F6A124;mso-fareast-language:EN-GB"
              lang="EN-US"><o:p> </o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#F6A124;mso-fareast-language:EN-GB"
              lang="EN-US">Simon Wright<o:p></o:p></span></b></p>
        <p class="MsoNormal"><b><span
style="font-family:"Arial",sans-serif;color:#4A4A49;mso-fareast-language:EN-GB"
              lang="EN-US">JBA Risk Management Limited<o:p></o:p></span></b></p>
        <p class="MsoNormal"><span
            style="color:black;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="color:black;mso-fareast-language:EN-GB">-- <o:p>
            </o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <div dir="ltr"
style="mso-line-height-rule:exactly;-webkit-text-size-adjust:100%;font-size:1px;direction:ltr;">
        <table style="width:100%;font-size:1px;" cellspacing="0"
          cellpadding="0" border="0">
          <tbody>
            <tr style="font-size:0;">
              <td style="vertical-align:top;" align="left">
                <table style="font-size:0;" cellspacing="0"
                  cellpadding="0" border="0">
                  <tbody>
                    <tr style="font-size:0;">
                      <td style="padding:10px 0 0;vertical-align:top;"
                        align="left">
                        <table
style="font-size:0;color:#4A4A49;font-style:normal;font-weight:700;white-space:nowrap;"
                          cellspacing="0" cellpadding="0" border="0">
                          <tbody>
                            <tr style="font-size:14.67px;">
                              <td
                                style="padding:0;vertical-align:top;font-family:Arial;"
                                align="left">e: <span
style="font-family:remialcxesans;font-size:1px;color:#FFFFFF;line-height:1px;">​</span></td>
                              <td style="padding:0 0 0
                                4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;"
                                align="left"><a
                                  href="mailto:Simon.Wright@jbarisk.com"
                                  target="_blank" id="LPlnk689713"
                                  style="text-decoration:none;color:#F6A124;"
                                  moz-do-not-send="true"><strong
                                    style="font-weight:400;">Simon.Wright@jbarisk.com</strong></a></td>
                            </tr>
                            <tr style="font-size:14.67px;">
                              <td
                                style="padding:0;vertical-align:top;font-family:Arial;"
                                align="left">d:</td>
                              <td style="padding:0 0 0
                                4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;"
                                align="left">+44 (0)1756 587258<br>
                              </td>
                            </tr>
                            <tr style="font-size:14.67px;">
                              <td
                                style="padding:0;vertical-align:top;font-family:Arial;"
                                align="left">t: </td>
                              <td style="padding:0 0 0
                                4px;vertical-align:top;color:#F6A124;font-family:Arial;font-weight:400;"
                                align="left"><a
                                  href="tel:+44%20(0)1756%20799919"
                                  target="_blank" id="LPlnk689713"
                                  style="text-decoration:none;color:#F6A124;"
                                  moz-do-not-send="true"><strong
                                    style="font-weight:400;">+44 (0)1756 799919</strong></a></td>
                            </tr>
                            <tr style="font-size:0;">
                              <td style="padding:0;vertical-align:top;"
                                align="left"><br>
                              </td>
                              <td style="padding:0 0 0
                                4px;vertical-align:top;" align="left"><br>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
            <tr
style="font-size:14.67px;color:#000001;font-style:normal;font-weight:400;white-space:nowrap;">
              <td style="vertical-align:top;font-family:Arial;"
                align="left"><a href="http://www.jbarisk.com/"
                  target="_blank" id="LPlnk689713" title="Click to visit
                  our website"
                  style="text-decoration:none;color:#F6A124;"
                  moz-do-not-send="true"><strong
                    style="font-weight:400;">www.jbarisk.com</strong></a></td>
            </tr>
            <tr style="font-size:0;">
              <td style="vertical-align:top;" align="left">
                <table style="font-size:0;" cellspacing="0"
                  cellpadding="0" border="0">
                  <tbody>
                    <tr style="font-size:0;">
                      <td style="padding:10px 0 0;vertical-align:top;"
                        align="left">
                        <table style="font-size:0;" cellspacing="0"
                          cellpadding="0" border="0">
                          <tbody>
                            <tr style="font-size:0;">
                              <td rowspan="3" style="padding:0 0
                                5px;vertical-align:top;" align="left">
                                <table style="width:100%;font-size:0;"
                                  cellspacing="0" cellpadding="0"
                                  border="0">
                                  <tbody>
                                    <tr style="font-size:0;">
                                      <td style="vertical-align:top;"
                                        align="left">
                                        <table
                                          style="font-size:0;line-height:normal;"
                                          cellspacing="0"
                                          cellpadding="0" border="0">
                                          <tbody>
                                            <tr style="font-size:0;">
                                              <td style="padding:0 0
                                                11px;vertical-align:top;"
                                                align="left"><img
                                                  src="cid:part1.MPZkST0C.z6rs50wS@spatialys.com"
                                                  alt=""
                                                  style="font-size:0;"
                                                  class="" border="0"></td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                    <tr style="font-size:0;">
                                      <td style="vertical-align:top;"
                                        align="left">
                                        <table style="font-size:0;"
                                          cellspacing="0"
                                          cellpadding="0" border="0">
                                          <tbody>
                                            <tr style="font-size:0;">
                                              <td style="padding:0 0
                                                12px;vertical-align:top;"
                                                align="left">
                                                <table
                                                  style="height:30px;font-size:0;"
                                                  cellspacing="0"
                                                  cellpadding="0"
                                                  border="0">
                                                  <tbody>
                                                    <tr
                                                      style="font-size:0;">
                                                      <td
                                                        style="vertical-align:top;"
                                                        align="left">
                                                        <table
                                                          style="font-size:0;line-height:normal;"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0;">
                                                          <td
                                                          style="padding:0
                                                          4px 5px
                                                          0;vertical-align:top;"
                                                          align="left"><a
href="https://www.facebook.com/TheFloodPeople" target="_blank"
                                                          id="LPlnk689713"
style="text-decoration:none;" moz-do-not-send="true"><img
                                                          src="cid:part2.WrAIu7P3.Ufjp3nlZ@spatialys.com"
title="Facebook" alt="Facebook"
                                                          style="width:34px;min-width:34px;max-width:34px;font-size:12px;"
                                                          class=""
                                                          width="34"
                                                          border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                        </table>
                                                      </td>
                                                      <td
                                                        style="vertical-align:top;"
                                                        align="left">
                                                        <table
                                                          style="font-size:0;line-height:normal;"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0;">
                                                          <td
                                                          style="padding:0
                                                          4px 5px
                                                          0;vertical-align:top;"
                                                          align="left"><a
href="https://www.linkedin.com/company/jba-risk-management/"
                                                          target="_blank"
id="LPlnk689713" style="text-decoration:none;" moz-do-not-send="true"><img
src="cid:part3.7DO7n4kA.Xr6uRdId@spatialys.com" title="LinkedIn"
                                                          alt="LinkedIn"
style="width:34px;min-width:34px;max-width:34px;font-size:12px;"
                                                          class=""
                                                          width="34"
                                                          border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                        </table>
                                                      </td>
                                                      <td
                                                        style="vertical-align:top;"
                                                        align="left">
                                                        <table
                                                          style="font-size:0;line-height:normal;"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0;">
                                                          <td
                                                          style="padding:0
                                                          4px 5px
                                                          0;vertical-align:top;"
                                                          align="left"><a
href="https://twitter.com/JBARisk" target="_blank" id="LPlnk689713"
                                                          style="text-decoration:none;"
moz-do-not-send="true"><img
                                                          src="cid:part4.0hyes9KT.nGtBsgFj@spatialys.com"
title="Twitter" alt="Twitter"
                                                          style="width:34px;min-width:34px;max-width:34px;font-size:12px;"
                                                          class=""
                                                          width="34"
                                                          border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                        </table>
                                                      </td>
                                                      <td
                                                        style="vertical-align:top;"
                                                        align="left">
                                                        <table
                                                          style="font-size:0;line-height:normal;"
cellspacing="0" cellpadding="0" border="0">
                                                          <tbody>
                                                          <tr
                                                          style="font-size:0;">
                                                          <td
                                                          style="padding:0
                                                          4px 5px
                                                          0;vertical-align:top;"
                                                          align="left"><a
href="https://www.youtube.com/channel/UC0iatom2jYbW96voW0rlpCw"
                                                          target="_blank"
id="LPlnk689713" style="text-decoration:none;" moz-do-not-send="true"><img
src="cid:part5.entDFN5z.7ykB35Ti@spatialys.com" title="YouTube"
                                                          alt="YouTube"
style="width:34px;min-width:34px;max-width:34px;font-size:12px;"
                                                          class=""
                                                          width="34"
                                                          border="0"></a></td>
                                                          </tr>
                                                          </tbody>
                                                        </table>
                                                      </td>
                                                    </tr>
                                                  </tbody>
                                                </table>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                              <td style="padding:0;"> </td>
                            </tr>
                            <tr style="font-size:0;">
                              <td style="padding:0;"> </td>
                            </tr>
                            <tr style="font-size:0;">
                              <td style="padding:0;"> </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
            <tr style="font-size:0;">
              <td style="vertical-align:top;" align="left">
                <table style="font-size:0;" cellspacing="0"
                  cellpadding="0" border="0">
                  <tbody>
                    <tr style="font-size:0;">
                      <td style="padding:7px 0 5px;border-top:solid 1px
#4A4A49;border-right:none;border-bottom:none;border-left:none;vertical-align:top;"
                        align="left">
                        <table
style="white-space:normal;color:#444444;font-size:14.67px;font-family:Calibri,Arial,sans-serif;font-weight:400;font-style:normal;text-align:left;line-height:12px;"
                          cellspacing="0" cellpadding="0" border="0">
                          <tbody>
                            <tr style="font-size:9px;">
                              <td style="font-family:Arial;"><span
                                  style="background-color:#FFFFFF;">All
                                  JBA Risk Management's email messages
                                  contain confidential information and
                                  are intended only for the
                                  individual(s) named. If you are not
                                  the named addressee you should not
                                  disseminate, distribute or copy this
                                  e-mail.</span><br>
                                <span style="background-color:#FFFFFF;">Please
                                  notify the sender immediately by email
                                  if you have received this email by
                                  mistake and delete this email from
                                  your system.</span> <br>
                                <span style="background-color:#FFFFFF;">JBA
                                  Risk Management Limited is registered
                                  in England, company number 07732946, 1
                                  Broughton Park, Old Lane North,
                                  Broughton, Skipton, North Yorkshire,
                                  BD23 3FD, England</span><span
                                  style="color:#000001;">.</span><br>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></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>