Hi Mo,<br><br>What is the gdalinfo output for the GeoTIFF that you created?  If you didn&#39;t get an error when you tried to load it in GE, perhaps the georeferencing in the image doesn&#39;t quite match what you specified in your KML.<br>
<br>Roger<br>--<br><br><div class="gmail_quote">On Thu, Apr 9, 2009 at 1:21 PM, mohwawang <span dir="ltr">&lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi Roger,<br>
<br>
My goal is to be able to directly import NITF image to GE without using KML. You can see the advantage of this application - if it works. I&#39;m glad that you have viewed in GE georeferenced imagery created or altered by gdal. Maybe you can point out what I did wrong.<br>

<br>
It is good that you asked about GeoTIFF. So I used gdal_translate to convert the tif image to a GeoTIFF image. I tried to drag and drop the GeoTIFF image to GE but nothing happened. I did not see the GeoTIFF image in GE and I did not get any error message either.<br>

<br>
I can open the GeoTIFF image with OpenEV and I can read the lan/lon coordinates and they are correct. One thing is that it seems that OpenEV does not set North to Up. Its orientation aligns with the file coordinates - (0,0) is at the upper left corner. I then opened tif file in the same OpenEV and they match to each other.<br>

<br>
Again, I can import the tif image with its kml to GE but I can not import the GeoTIFF to GE (without using kml), it seems that nothing happened. I can import the GeoTIFF to GE with kml - though that is not what I want. But the GeoTIFF is better than the NITF that could not be imported to GE even with the same kml.<br>

<br>
What&#39;s wrong with GeoTIFF? I mean why I could not import it to GE? I listed the gdal_translate command line here:<br>
<br>
&gt;gdal_translate -of GTiff tiff.tif gtiff.gtf -a_srs EPSG:4326 -gcp 0 0 -70.887525562763 42.8093748999134 -gcp 560 0 -70.887525562763 42.8082925732318 -gcp 560 419 -70.8894939447889 42.8082925732318 -gcp 0 419 -70.8894939447889 42.8093748999134<br>

<br>
I don&#39;t have a .ntif file that was not created by gdal to test GE via the &quot;Import Image Tool&quot;.<br>
<div class="im"><br>
Thanks.<br>
<br>
Mo<br>
<br>
<br>
--- On Thu, 4/9/09, Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt; wrote:<br>
<br>
&gt; From: Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;<br>
&gt; Subject: Re: [gdal-dev] Problem in importing to Google Earth a nitf image  converted from a tif image by gdal_translate<br>
&gt; To: &quot;mohwawang&quot; &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt; Cc: &quot;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&quot; &lt;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&gt;<br>
</div>&gt; Date: Thursday, April 9, 2009, 12:47 PM<br>
<div><div></div><div class="h5">&gt; Hi Mo,<br>
&gt;<br>
&gt; Thanks for that pointer on the differences between GE<br>
&gt; Layers and Places.  I&#39;ll be sure to take a close look<br>
&gt; at those links.  I&#39;ve had occasion in the past to view<br>
&gt; georeferenced imagery in Google Earth, much of it created or<br>
&gt; altered by gdal in some way, so this topic interests me.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m curious, is your goal to view the NITF format<br>
&gt; specifically and to have GE read the internal georeferencing<br>
&gt; info, or is it just to view the image in GE?  It sounds<br>
&gt; like you have already accomplished the latter using a KML<br>
&gt; Ground Overlay and a tif, a method which has also worked<br>
&gt; reliably for me in the past as well. I&#39;ve also had<br>
&gt; success with PNG and JPEG format files. <br>
&gt;<br>
&gt;<br>
&gt; Since in your .nitf test the georeferencing was supplied by<br>
&gt; the KML file, the red &quot;X&quot; you are getting implies<br>
&gt; to me that the image format isn&#39;t being correctly<br>
&gt; interpreted by GE for some reason.  The fact that Envi<br>
&gt; chokes on it as well does seem to point to gdal as a<br>
&gt; possible culprit, although the NITF format is not one that I<br>
&gt; have seen very much.  Have you tried importing the GeoTIFF<br>
&gt; version of your file directly into GE Pro as well?  Also,<br>
&gt; do you have a .nitf file that was not created by gdal, and<br>
&gt; which you could use to test GE via the &quot;Add Image<br>
&gt; Overlay&quot; tool?<br>
&gt;<br>
&gt;<br>
&gt; Roger<br>
&gt; --<br>
&gt;<br>
&gt; On Thu, Apr 9, 2009 at 8:37 AM,<br>
&gt; mohwawang &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Roger,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m using Google Earth Pro 5.0. Thank you for the<br>
&gt; suggestions.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Google Earth Pro 4.0 also supports importing NITF:<br>
&gt;<br>
&gt; <a href="http://earth.google.com/userguide/v4/ug_importdata.html" target="_blank">http://earth.google.com/userguide/v4/ug_importdata.html</a><br>
&gt; that is for importing your data (including vector data and<br>
&gt; imagery data) to the Places of Google Earth while <a href="http://earth.google.com/userguide/v4/ug_imageoverlays.html" target="_blank">http://earth.google.com/userguide/v4/ug_imageoverlays.html</a><br>
&gt; is for &quot;Using Image Overlays and 3D Models&quot;.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; See <a href="http://earth.google.com/userguide/v4/ug_layers.html#layers_vs_places" target="_blank">http://earth.google.com/userguide/v4/ug_layers.html#layers_vs_places</a><br>
&gt; for the difference between Layers and Places in GE.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; This is the first time I&#39;m importing geo-referenced<br>
&gt; images to Google Earth Pro and so far I don&#39;t have much<br>
&gt; luck. As I said that I could not use GE to import the NITF<br>
&gt; images converted from gdal_translate (with EPSG:4326 that is<br>
&gt; the same projection, Simple Cylindrical projection, or known<br>
&gt; as Lat/Lon WGS84 that GE uses). So I tried to narrow down<br>
&gt; the problem. This time I imported to GE an native Erdas<br>
&gt; IMAGINE image (.img) (with UTM projection that GE supports<br>
&gt; too) but still failed. The later test case has nothing to do<br>
&gt; with gdal and is purely a question for GE. That .img image<br>
&gt; can be opened by both IMAGINE and OpenEV.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The NITF image (converted by gdal_translate) not just could<br>
&gt; not be opened by GE it could not be opened by ENVI 4.1<br>
&gt; either. It can be opened by OpenEV (tightly related to gdal)<br>
&gt; though. So it could be a problem in either gdal_translate or<br>
&gt; ENVI (I doubt though) or both.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Mo<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --- On Thu, 4/9/09, Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; From: Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;<br>
&gt;<br>
&gt; &gt; Subject: Re: [gdal-dev] Problem in importing to Google<br>
&gt; Earth a nitf image  converted from a tif image by<br>
&gt; gdal_translate<br>
&gt;<br>
&gt; &gt; To: &quot;mohwawang&quot; &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt;<br>
&gt; &gt; Cc: &quot;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&quot;<br>
&gt; &lt;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&gt;<br>
&gt;<br>
&gt; &gt; Date: Thursday, April 9, 2009, 12:44 AM<br>
&gt;<br>
&gt; &gt; Granted, I haven&#39;t<br>
&gt; tried V 5 yet,<br>
&gt;<br>
&gt; &gt; but your quote also states, &quot;Google Earth Pro or<br>
&gt;<br>
&gt; &gt; EC&quot;.  Are you using one of those versions of<br>
&gt; the<br>
&gt;<br>
&gt; &gt; client?  In any case, if the file opens in OpenEV,<br>
&gt; chances<br>
&gt;<br>
&gt; &gt; are good that the .ntf generated by gdal is ok, and<br>
&gt; that<br>
&gt;<br>
&gt; &gt; there is some sort of problem with how Google Earth<br>
&gt; is<br>
&gt;<br>
&gt; &gt; reading it.  Have you tried emailing the KML support<br>
&gt; list<br>
&gt;<br>
&gt; &gt; as well?<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; --<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; On Wed, Apr 8, 2009 at 8:51 PM,<br>
&gt;<br>
&gt; &gt; mohwawang &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt;<br>
&gt; &gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; Google Earth 5.0 supports NITF see<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; <a href="http://earth.google.com/intl/en/userguide/v5/ug_importdata.html" target="_blank">http://earth.google.com/intl/en/userguide/v5/ug_importdata.html</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; [Importing Imagery<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; You can open GIS imagery files in Google Earth Pro or<br>
&gt; EC<br>
&gt;<br>
&gt; &gt; and have the files correctly projected over the proper<br>
&gt; map<br>
&gt;<br>
&gt; &gt; coordinates in the 3D viewer. Google Earth Pro and EC<br>
&gt;<br>
&gt; &gt; support the following types of GIS imagery:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * TIFF (.tif), including GeoTiff and compressed<br>
&gt; TIFF<br>
&gt;<br>
&gt; &gt; files<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * National Imagery Transmission Format (.ntf)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * Erdas Imagine Images (.img)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; In addition, you can also import the following<br>
&gt; images.<br>
&gt;<br>
&gt; &gt; Because they do not contain projection information,<br>
&gt; you must<br>
&gt;<br>
&gt; &gt; manually edit their coordinates for correct<br>
&gt; positioning:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * Atlantis MFF Raster (.hdr)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * PCIDSK Database File (.pix)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * Portable Pixmap Format (.pnm)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;     * Device Independent Bitmap (.bmp)<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; Note - All imagery files must contain the correct<br>
&gt;<br>
&gt; &gt; projection information in order to be accurately<br>
&gt;<br>
&gt; &gt; re-projected by the Google Earth software.]<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; Mo<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; --- On Wed, 4/8/09, Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;<br>
&gt;<br>
&gt; &gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; From: Roger André &lt;<a href="mailto:randre@gmail.com">randre@gmail.com</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Subject: Re: [gdal-dev] Problem in importing to<br>
&gt; Google<br>
&gt;<br>
&gt; &gt; Earth a nitf image  converted from a tif image by<br>
&gt;<br>
&gt; &gt; gdal_translate<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; To: &quot;mohwawang&quot; &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Cc: &quot;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&quot;<br>
&gt;<br>
&gt; &gt; &lt;<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Date: Wednesday, April 8, 2009, 10:45 PM<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; See <a href="http://earth.google.com/userguide/v4/ug_imageoverlays.html#requirements" target="_blank">http://earth.google.com/userguide/v4/ug_imageoverlays.html#requirements</a>,<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I don&#39;t believe the &quot;NITF (rw+):<br>
&gt; National<br>
&gt;<br>
&gt; &gt; Imagery<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Transmission Format&quot; is supported by Google<br>
&gt;<br>
&gt; &gt; Earth.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Roger<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; --<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; On Wed, Apr 8, 2009 at 3:27 PM,<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; mohwawang &lt;<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Hi all,<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I&#39;m sorry that this is the third time I tried<br>
&gt; to<br>
&gt;<br>
&gt; &gt; send<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; this message out because I myself didn&#39;t get<br>
&gt; the<br>
&gt;<br>
&gt; &gt; first<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; two through <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; so I thought others might not get it either.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I used gdal_translate to convert a tif image to<br>
&gt; a<br>
&gt;<br>
&gt; &gt; nitf<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; image as:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &gt;gdal_translate -of nitf in.tif out.ntf -co<br>
&gt;<br>
&gt; &gt; ICORDS=G<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Input file size is 561, 420<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt; 0...10...20...30...40...50...60...70...80...90...100<br>
&gt;<br>
&gt; &gt; -<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; done.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; I can display both in.tif and out.ntf with<br>
&gt; OpenEV. So<br>
&gt;<br>
&gt; &gt; both<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; in.tif and out.ntf were ok to OpenEV.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; With a simple Google Earth kml file(specifying<br>
&gt; the<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; LanLonBox)(printed below) I could import the<br>
&gt; in.tif<br>
&gt;<br>
&gt; &gt; to<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Google Earth viewer to the right geo-location.<br>
&gt; So<br>
&gt;<br>
&gt; &gt; in.tif was<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; ok to GE.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; However, after replacing the image file name<br>
&gt; from<br>
&gt;<br>
&gt; &gt; in.tif to<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; out.ntf in the same kml file (printed below) I<br>
&gt; could<br>
&gt;<br>
&gt; &gt; not<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; import the out.ntf to Google Earth viewer (shown<br>
&gt; as a<br>
&gt;<br>
&gt; &gt; big<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; red cross in a big red rectangle at the<br>
&gt; geo-location<br>
&gt;<br>
&gt; &gt; in the<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; GE viewer). So out.ntf was not ok to GE. Any<br>
&gt; ideal<br>
&gt;<br>
&gt; &gt; about<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; what might cause the problem? Was the use of<br>
&gt;<br>
&gt; &gt; gdal_translate<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; wrong or missing some options? I tried not to use<br>
&gt; -co<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; ICRODS=G but I got the same problem. Thank you.<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; printed kml for in.tif:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &lt;?xml version=&quot;1.0&quot;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; encoding=&quot;UTF-8&quot;?&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &lt;kml xmlns=&quot;<a href="http://www.opengis.net/kml/2.2" target="_blank">http://www.opengis.net/kml/2.2</a>&quot;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; xmlns:gx=&quot;<a href="http://www.google.com/kml/ext/2.2" target="_blank">http://www.google.com/kml/ext/2.2</a>&quot;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; xmlns:kml=&quot;<a href="http://www.opengis.net/kml/2.2" target="_blank">http://www.opengis.net/kml/2.2</a>&quot;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; xmlns:atom=&quot;<a href="http://www.w3.org/2005/Atom" target="_blank">http://www.w3.org/2005/Atom</a>&quot;&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &lt;GroundOverlay&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;   &lt;description&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; *** Meta-Data ***<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     Lat = 42.808863<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;   &lt;/description&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;name&gt;in.tif&lt;/name&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;Icon&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;        &lt;href&gt;in.tif&lt;/href&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;       <br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt; &lt;viewBoundScale&gt;0.75&lt;/viewBoundScale&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;/Icon&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;       &lt;LatLonBox&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;         <br>
&gt;<br>
&gt; &gt; &lt;north&gt;42.8093748999134&lt;/north&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;         <br>
&gt;<br>
&gt; &gt; &lt;south&gt;42.8082925732318&lt;/south&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;         <br>
&gt;<br>
&gt; &gt; &lt;east&gt;-70.887525562763&lt;/east&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;         <br>
&gt;<br>
&gt; &gt; &lt;west&gt;-70.8894939447889&lt;/west&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;         <br>
&gt;<br>
&gt; &gt; &lt;rotation&gt;-95.909027&lt;/rotation&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;       &lt;/LatLonBox&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &lt;/GroundOverlay&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; &lt;/kml&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; printed kml for out.ntf: same as in.tif<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; except:<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;name&gt;out.ntf&lt;/name&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;Icon&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;        &lt;href&gt;out.ntf&lt;/href&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;       <br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt; &lt;viewBoundScale&gt;0.75&lt;/viewBoundScale&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;     &lt;/Icon&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Best Regards,<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; Mo Wang<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; gdal-dev mailing list<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>