<span style="font-family: times new roman,serif;">thanks..I am almost there...I think I am making a simple usage typo?</span><br style="font-family: times new roman,serif;"><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;"><span style="font-family: courier new,monospace;">gdalwarp</span> without the option<span style="font-family: courier new,monospace;"> &#39;-t_srs EPSG:4326&#39;</span> works OK.</span><br style="font-family: times new roman,serif;">

<br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">But it doesnt work with the command written exactly as you have it </span><br style="font-family: times new roman,serif;">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex; font-family: times new roman,serif;"><div>
    <br>
    gdalwarp -t_srs EPSG:4326 in.jpg out.jpg<br>
    <span style="font-family: times new roman,serif;"><br></span></div></blockquote><div> <br><span style="font-family: times new roman,serif;">After that command, I do not get anything processed (it just outputs to the screen the usage info). <br>

</span> <br><span style="font-family: times new roman,serif;">I also had no luck with trying different variations of the<span style="font-family: courier new,monospace;"> -t_srs </span>option such as</span><br style="font-family: times new roman,serif;">

<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">gdalwarp -t_srs &quot;+proj=EPSG:4326&quot; in.jpg out.jpg </span><br style="font-family: times new roman,serif;"><br style="font-family: times new roman,serif;">

<span style="font-family: times new roman,serif;">I am using the most recent SVN GDAL.</span><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div text="#000000" bgcolor="#ffffff">
    then use gdalinfo to get the corner coordinates.<br>
    <br>
    Currently the entire page of the PDF is rendered into the image.  
    Perhaps we can convince Even to add an option to convert only the
    mapped area (or mask everything else?)<br>
    <br>
    Best Regards,<br>
    Brent Fraser<div><div></div><div class="h5"><br>
    <br>
    On 10/20/2010 8:07 AM, Boris Dev wrote:
    </div></div><blockquote type="cite"><div><div></div><div class="h5">My objective is to make a KML ground overlay with a
      geospatial PDF map.<br>
      <br>
      Using GDAL&#39;s translate utility I have converted the PDF to a JPEG.
      The next step and problem for me is to write the text of the KML
      ground overlay, which requires a text of bounding box information
      like this:<br>
      <br>
      <pre>&lt;LatLonBox&gt;
        &lt;north&gt;37.91904192681665&lt;/north&gt;
        &lt;south&gt;37.46543388598137&lt;/south&gt;
        &lt;east&gt;15.35832653742206&lt;/east&gt;
        &lt;west&gt;14.60128369746704&lt;/west&gt;


        &lt;rotation&gt;-0.1556640799496235&lt;/rotation&gt;
      &lt;/LatLonBox&gt;</pre>
      <br>
      As GDAL&#39;s output, I saw that the entire PDF with legend, title,
      etc and not just the map image was converted.<br>
      <br>
      As GDAL&#39;s output, I also saw 2 parts of data that seem they are
      useful to match a bounding box to the map within the jpeg, but I
      cant figure out the puzzle of how to make this work? Can I get the
      bounding box of the entire PDF image with this information below?<br>
      <br>
      <font style="font-family: courier new,monospace;" size="1">Corner
        Coordinates:<br>
        Upper Left  (  666937.758, 2024687.983) <br>
        Lower Left  (  666991.811, 2018338.153) <br>
        Upper Right (  674511.276, 2024754.795) <br>
        Lower Right (  674565.328, 2018404.965) <br>
        Center      (  670751.543, 2021546.474) </font><br>
      <font size="1"><br style="font-family: courier new,monospace;">
        <span style="font-family: courier new,monospace;">&lt;MDI
          key=&quot;NEATLINE&quot;&gt;POLYGON ((672676.488065659650601
          2019417.955749646294862,672636.091432046378031
          2024030.267778463661671,667347.405745737953112
          2023983.612156898481771,667385.539170471020043
          2019370.524140953086317,672676.488065659650601
          2019417.955749646294862,672676.488065659650601
          2019417.955749646294862,672676.488065659650601
          2019417.955749646294862,672676.488065659650601
          2019417.955749646294862))&lt;/MDI&gt;</span></font><br>
      <br>
      I realize the coordinate above need to be converted to lat/long to
      be a KML ground overlay onto Google Maps, which I think I can
      handle.<br>
      <br>
      But I am unsure if I need to extract the map image from the jpeg
      using the NEATLINE?<br>
      How are the Corner Coordinates translated into a bounding box?<br>
      <br>
      Any suggestions? <br>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
    </blockquote>
  </div>

</blockquote></div><br>