See <a href="http://earth.google.com/userguide/v4/ug_imageoverlays.html#requirements">http://earth.google.com/userguide/v4/ug_imageoverlays.html#requirements</a>, I don't believe the "NITF (rw+): National Imagery Transmission Format" is supported by Google Earth.<br>
<br>Roger<br>--<br><br><div class="gmail_quote">On Wed, Apr 8, 2009 at 3:27 PM, mohwawang <span dir="ltr"><<a href="mailto:mohwawang@yahoo.com">mohwawang@yahoo.com</a>></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 all,<br>
<br>
I'm sorry that this is the third time I tried to send this message out because I myself didn't get the first two through <a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a> so I thought others might not get it either.<br>
<div><div></div><div class="h5"><br>
I used gdal_translate to convert a tif image to a nitf image as:<br>
>gdal_translate -of nitf in.tif out.ntf -co ICORDS=G<br>
Input file size is 561, 420<br>
0...10...20...30...40...50...60...70...80...90...100 - done.<br>
<br>
I can display both in.tif and out.ntf with OpenEV. So both in.tif and out.ntf were ok to OpenEV.<br>
<br>
With a simple Google Earth kml file(specifying the LanLonBox)(printed below) I could import the in.tif to Google Earth viewer to the right geo-location. So in.tif was ok to GE.<br>
<br>
However, after replacing the image file name from in.tif to out.ntf in the same kml file (printed below) I could not import the out.ntf to Google Earth viewer (shown as a big red cross in a big red rectangle at the geo-location in the GE viewer). So out.ntf was not ok to GE. Any ideal about what might cause the problem? Was the use of gdal_translate wrong or missing some options? I tried not to use -co ICRODS=G but I got the same problem. Thank you.<br>
<br>
printed kml for in.tif:<br>
<br>
<?xml version="1.0" encoding="UTF-8"?><br>
<kml xmlns="<a href="http://www.opengis.net/kml/2.2" target="_blank">http://www.opengis.net/kml/2.2</a>"<br>
xmlns:gx="<a href="http://www.google.com/kml/ext/2.2" target="_blank">http://www.google.com/kml/ext/2.2</a>"<br>
xmlns:kml="<a href="http://www.opengis.net/kml/2.2" target="_blank">http://www.opengis.net/kml/2.2</a>"<br>
xmlns:atom="<a href="http://www.w3.org/2005/Atom" target="_blank">http://www.w3.org/2005/Atom</a>"><br>
<GroundOverlay><br>
<description><br>
*** Meta-Data ***<br>
Lat = 42.808863<br>
</description><br>
<name>in.tif</name><br>
<Icon><br>
<href>in.tif</href><br>
<viewBoundScale>0.75</viewBoundScale><br>
</Icon><br>
<LatLonBox><br>
<north>42.8093748999134</north><br>
<south>42.8082925732318</south><br>
<east>-70.887525562763</east><br>
<west>-70.8894939447889</west><br>
<rotation>-95.909027</rotation><br>
</LatLonBox><br>
</GroundOverlay><br>
</kml><br>
<br>
</div></div>printed kml for out.ntf: same as in.tif except:<br>
<div class="im"><br>
<name>out.ntf</name><br>
<Icon><br>
<href>out.ntf</href><br>
<viewBoundScale>0.75</viewBoundScale><br>
</Icon><br>
<br>
</div><div><div></div><div class="h5">Best Regards,<br>
<br>
Mo Wang<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br>