Dear Readers,
What is the function used by SNAP 12 for exporting terrain corrected georeferenced images to kmz when using “Export view as Google Earth KMZ” from the GUI? The idea would be to launch it from a terminal using gpt with the right xml graph file.
I currently use the following command:
gdal_translate -scale -of KMLSUPEROVERLAY input_file.img output_file.kmz
It gives a kmz file, which is not as “good” as the equivalent one returned by SNAP. For instance, there is no transparency and no embedded scale when displaying it with Google-Earth.
KR, JB