<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am sending this because I just realized that I posted w/ the wrong
    subject so that it gets filed correctly in the archive:<br>
    <br>
    <pre wrap="">This is a great listserv!

Chaitanya using a vrt worked so thank for that tip. Also, it must be the 
case as Jukka says that img isn't holding the control points. But as 
suggested a GeoTiff (and VRT) work fine.

Thanks so much for your help.

Cheers,
Derek</pre>
    <br>
    On 5/25/2012 3:00 AM, Chaitanya kumar CH wrote:
    <blockquote
cite="mid:CAMKgpObbfjDbRUQCdq=nARfp8L8vRniY9G13K4t0m8K2Ldgw6A@mail.gmail.com"
      type="cite">Derek,<br>
      <br>
      Please provide the gdalinfo output of the img file.<br>
      <br>
      Also, try this:<br>
      Create a vrt file instead of a HFA using the same gdal_translate
      command. See if gdalwarp works with the vrt file.<br>
      <br>
      <div class="gmail_quote">
        On Fri, May 25, 2012 at 7:17 AM, jdmorgan <span dir="ltr">&lt;<a
            moz-do-not-send="true" href="mailto:jdmorgan@unca.edu"
            target="_blank">jdmorgan@unca.edu</a>&gt;</span> wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000">
            <p class="MsoNormal">Hello, </p>
            <p class="MsoNormal">I am attempting to georeference and
              project a jpeg image using only gdal tool.<span>  </span>I
              have georeferenced the jpeg using the following command:<span> 
              </span></p>
            <p><span>gdal_translate </span>-<span>a_srs EPSG:</span>102719<span>
                -of HFA </span>-gcp 0.0 0.0 -82.5586187839508
              35.59414007259327 -gcp 0.0 410.0 -82.55858659744263
              35.5937998255945 -gcp 520.0 0.0 -82.55741715431213
              35.594340730401775 -gcp 520.0 410.0 -82.55728840827942
              35.5940266570877<span> NCDCLogo.jpg NCDCLogo.img<span>  </span></span></p>
            <p class="MsoNormal"> </p>
            <p class="MsoNormal">The command run fine and produces a img
              file however it does not line up with similarly project
              layer per the gcp’s.<span>  </span>When I check the
              projection information the file shows to be unprojected.
              Further, when I attempt to project the resulting raster
              with gdalwarp I get the following errors:</p>
            <p class="MsoNormal">“There is no affine transformation and
              no GCPs.”</p>
            <p class="MsoNormal">Any pointers here would be greatly
              appreciated.</p>
            <p class="MsoNormal">Thanks, </p>
            <p class="MsoNormal">Derek</p>
          </div>
          <br>
          _______________________________________________<br>
          gdal-dev mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/gdal-dev"
            target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      -- <br>
      Best regards,<br>
      Chaitanya kumar CH.<br>
      <br>
      +91-9494447584<br>
      17.2416N 80.1426E<br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Derek @ NEMAC
<a class="moz-txt-link-freetext" href="http://nemac.unca.edu">http://nemac.unca.edu</a></pre>
  </body>
</html>