<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Ah, the issue here is that the GeoTIFF keys in the .tif partially
      define the projection (or possibly the .tif.aux.xml contain this
      invalid WKT). But METHOD["unnamed"] means that the projection
      method is unknown, so it is logical that GDAL/PROJ can't compute
      geographic coordinates from projected coordinates.</p>
    <p><br>
    </p>
    <p>The output of "listgeo HiBar_21022022_A1.tif" might be useful to
      further diagnose.<br>
    </p>
    <p><br>
    </p>
    <p>You likely need to gdal_translate -a_srs EPSG:2039 to do
      something useful with that file, and report to the data producer
      that the CRS encoding is broken</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 08/03/2023 à 13:18, Micha Silver a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:a8073719-7e8b-af6a-55be-6ecf558b4256@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hi Even:<br>
        <span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"> </span></span></p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"><br>
          </span></span></p>
      <p><span style="color:#000000;background-color:#ffffff;">Here's
          the full gdalinfo, with the reported CRS:</span></p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"><br>
          </span></span></p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">gdalinfo
            HiBar_21022022_A1.tif </span><br>
          Driver: GTiff/GeoTIFF <br>
          Files: HiBar_21022022_A1.tif <br>
                HiBar_21022022_A1.tif.aux.xml <br>
          Size is 25000, 25000 <br>
          Coordinate System is: <br>
          PROJCRS["Israel 1993 / Israeli TM Grid", <br>
             BASEGEOGCRS["WGS 84", <br>
                 DATUM["World Geodetic System 1984", <br>
                     ELLIPSOID["WGS 84",6378137,298.257223563, <br>
                         LENGTHUNIT["metre",1, <br>
                             ID["EPSG",9001]]]], <br>
                 PRIMEM["Greenwich",0, <br>
                     ANGLEUNIT["degree",0.0174532925199433, <br>
                         ID["EPSG",9122]]]], <br>
             CONVERSION["unnamed", <br>
                 METHOD["unnamed"]], <br>
             CS[Cartesian,2], <br>
                 AXIS["(E)",east, <br>
                     ORDER[1], <br>
                     LENGTHUNIT["metre",1, <br>
                         ID["EPSG",9001]]], <br>
                 AXIS["(N)",north, <br>
                     ORDER[2], <br>
                     LENGTHUNIT["metre",1, <br>
                         ID["EPSG",9001]]]] <br>
          Data axis to CRS axis mapping: 1,2 <br>
          Origin = (202245.240786847687559,421915.720555976789910) <br>
          Pixel Size = (0.125000000000000,-0.125000000000000) <br>
          Metadata: <br>
           AREA_OR_POINT=Area <br>
          Image Structure Metadata: <br>
           INTERLEAVE=PIXEL <br>
          Corner Coordinates: <br>
          ERROR 1: No inverse operation <br>
          Upper Left  (  202245.241,  421915.721)  <br>
          ERROR 1: No inverse operation <br>
          Lower Left  (  202245.241,  418790.721)  <br>
          ERROR 1: No inverse operation <br>
          Upper Right (  205370.241,  421915.721)  <br>
          ERROR 1: No inverse operation <br>
          Lower Right (  205370.241,  418790.721)  <br>
          ERROR 1: No inverse operation <br>
          Center      (  203807.741,  420353.221) <br>
          <br>
        </span>and proj version:<span style="font-family:monospace"><br>
        </span></p>
      <p><span style="font-family:monospace"><br>
        </span><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;"></span></span></p>
      <p><span style="font-family:monospace"><span
            style="color:#000000;background-color:#ffffff;">proj </span><br>
          Rel. 9.1.1, December 1st, 2022</span></p>
      <p><span style="font-family:monospace"><br>
        </span></p>
      <p>(a newly installed debian 12)<span
          style="font-family:monospace"><br>
        </span></p>
      <p><br>
      </p>
      <p>Thanks,</p>
      <p>Micha</p>
      <p><span style="font-family:monospace"><br>
        </span></p>
      <div class="moz-cite-prefix">On 08/03/2023 13:47, Even Rouault
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:ec6ceb21-9995-6036-339b-d31d7d42e264@spatialys.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <p>Micha,</p>
        <p><br>
        </p>
        <p>which CRS is reported and which PROJ version do you use ? It
          is presumably one projection method for which PROJ only
          implements the forward conversion, that is from geographic to
          projected coordinates, but not the reverse way</p>
        <p><br>
        </p>
        <p>Even<br>
        </p>
        <p><br>
        </p>
        <div class="moz-cite-prefix">Le 08/03/2023 à 09:37, Micha Silver
          a écrit :<br>
        </div>
        <blockquote type="cite"
          cite="mid:49eb2124-9d86-df3f-ae41-cfc5eacfff20@gmail.com">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          <style id="bidiui-paragraph-margins" type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; }</style>
          <p>I received some Geotiff files, and gdalinfo shows:</p>
          <p><br>
          </p>
          <p><span style="font-family:monospace"><span
                style="color:#000000;background-color:#ffffff;">Corner
                Coordinates: </span><br>
              ERROR 1: No inverse operation <br>
              Upper Left  (  205370.241,  418790.721)  <br>
              ERROR 1: No inverse operation <br>
              Lower Left  (  205370.241,  415665.721)  <br>
              ERROR 1: No inverse operation <br>
              Upper Right (  206198.866,  418790.721)  <br>
              ERROR 1: No inverse operation <br>
              Lower Right (  206198.866,  415665.721)  <br>
              ERROR 1: No inverse operation <br>
              Center      (  205784.553,  417228.221) <br>
            </span><br>
            What does that mean?</p>
          <p><span style="font-family:monospace"><br>
            </span></p>
          <p><span style="font-family:monospace"><span
                style="color:#000000;background-color:#ffffff;">gdalinfo
                --version </span><br>
              GDAL 3.6.2, released 2023/01/02<br>
              <br>
            </span>Thanks</p>
          <p><br>
          </p>
          <pre class="moz-signature" cols="72">-- 
Micha Silver
Remote Sensing Lab, Sde Boker
Ben Gurion University
+972-523-665918</pre>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" moz-do-not-send="true">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" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
Micha Silver
Remote Sensing Lab, Sde Boker
Ben Gurion University
+972-523-665918</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>