<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">The reverse engineering is not with the
      PDF. Martin do a good job here putting in all the therion output
      pdf a comment with the reference. You only have to open the file
      and search "thCalibrate". You found the next text:<br>
      <i><br>
      </i><i>/thCalibrate0 (X=-22.16017pt, Y=260.12132pt,
        L=-0.3641990570, F=42.2992656650) </i><i><br>
      </i><i>/thCalibrate1 (X=1921.38345pt, Y=199.8752pt,
        L=-0.3608862211, F=42.2991894208) </i><i><br>
      </i><i>/thCalibrate2 (X=3864.92708pt, Y=139.62904pt,
        L=-0.3575733981, F=42.2991130810) </i><i><br>
      </i><i>/thCalibrate3 (X=-0.2183pt, Y=967.96619pt, L=-0.3641616744,
        F=42.3001613659) </i><i><br>
      </i><i>/thCalibrate4 (X=3886.86893pt, Y=847.47388pt,
        L=-0.3575359218, F=42.3000087771) </i><i><br>
      </i><i>/thCalibrate5 (X=21.72351pt, Y=1675.81102pt,
        L=-0.3641242900, F=42.3010570667) </i><i><br>
      </i><i>/thCalibrate6 (X=1965.26714pt, Y=1615.56487pt,
        L=-0.3608113605, F=42.3009808177) </i><i><br>
      </i><i>/thCalibrate7 (X=3908.81078pt, Y=1555.31871pt,
        L=-0.3574984437, F=42.3009044731) </i><i><br>
      </i><i>/thCalibrate8 (X=1943.32529pt, Y=907.72003pt,
        L=-0.3608487917, F=42.3000851193) </i><i><br>
      </i><i>/thCalibrate (HS=3913.97253pt, VS=1573.34683pt,
        HD=546.7244489428)</i><br>
      <br>
      All the information is here:  pdf coordinates (X,Y), real
      coordinates (L,F) and the pdf width (HS) and height (VS).<br>
      <br>
      You only need know the width and height from the generate PGN, and
      you have all the data to do the calculation. <br>
      <br>
      The reverse engineering is to understand the ".map" format and
      found in the tcl file (mapcalc.tc) the equations to do the
      conversion. <br>
      <br>
      Regards,<br>
      <br>
      Evaristo. <br>
      <br>
      <br>
      El 26/03/2018 a las 12:57, Nikita Kozlov via Therion escribió:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEEzkZE8JLWttKAw_DH-MvWTR6JWBXhP9jZAnxYHoeT+fe+GAw@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_extra">You can export 2 PNGs one with grid to
          put GCPs on, and second PNG without grid, but exactly same
          size (in pixels).</div>
        <div class="gmail_extra">And use GCPs put on first grid-equipped
          PNG to georeference second <span
style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">"grid-free"</span>
          PNG.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Grid is used only to get pixel
          coordinates.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Dealing with pdf and 'reverse
          engineering' for me seems a bit complicated stuff, </div>
        <div class="gmail_extra">since in addition to 6 georeference
          parameters, you need to deal with scale and so on,</div>
        <div class="gmail_extra">so I'd rather used quick and dirty
          solution with grid and rasters.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra"><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Therion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Therion@speleo.sk">Therion@speleo.sk</a>
<a class="moz-txt-link-freetext" href="https://mailman.speleo.sk/listinfo/therion">https://mailman.speleo.sk/listinfo/therion</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>