There have been suggestions recently that Google Earth is a “powerful tool” for science. Some disagree. At least one amateur used Google Earth to find an asteroid impact crater.
I just wanted to give context to imagery viewed in ENVI (similar to my Google Maps user function). MG_WRITE_KML produces a KML file and an image suitable for viewing in Google Earth. The KML file includes lat/lon information to locate the image. The user function is only one file: MG_WRITE_KML (docs).
Let me know if you use Google Earth for science and if this user function is useful for you.
Usage of MG_WRITE_KML is bit more complicated than MG_GOOGLE_LOOKUP, but still straightforward:
- Download
MG_WRITE_KMLand put it in ENVI’ssave_adddirectory. - Open an image with map info in ENVI.
- Display the image.
- In the menu for the display window, select Tools > Write KML file for Google Earth.
- After you select an output filename,
MG_WRITE_KMLwill write the KML and TIFF files. - Open the KML file in Google Earth.
The post Google Earth user function for ENVI appeared first on michaelgalloy.com.