★ Google Maps lookup for ENVI
posted Wed 5 Apr 2006 by Michael Galloy under ENVIThis ENVI user function will add a “Find location using Google Maps” in the Tools menu of the display window for any image with map information. Selecting it will bring up the location of the image with Google Maps in your default browser.
Also included is a helper routine called MG_OPEN_URL
which is useful in general to open an URL in the default browser from IDL. It will work on any IDL platform. On Unix platforms, the first time it is used it requires the user to locate the web browser. It stores this location and uses it for future calls. This is not necessary on Windows and Mac since they have a nice way to start the default application for URLs.
ENVI and an internet connection are required to use this ENVI user function.
Installation instructions
- Download
mg_google_lookup.sav
or the source code. - Move the
.sav
file or.pro
files into thesave_add
directory of your ENVI distribution. - On UNIX (but not Mac or Windows) platforms, the first time
MG_GOOGLE_LOOKUP
is used it will ask for the location of the web browser you want to use to display the Google Maps.
April 17th, 2006 at 2:04 pm
[…] See previous post Googe Maps lookup for ENVI. […]
November 11th, 2008 at 11:59 am
[…] while ago, I wrote a simple ENVI user function to show the location of the current image using Google Maps. Evidently, Google recently changed the […]
September 19th, 2012 at 4:34 am
Hi michael,
I found your Google Maps lookup for ENVI very interesting. But I have a question:
to be honest I’m missing what your code is doing after taking the 4 corners of my geotiff :(
is there the possibility to create the kml from a geotiff using only IDL?
Because I’m trying to do it and my result is not as correct as yours.. I always find a little shift.
could you please help me? I think that you would help a lt of IDL users ;)
thanks in advance
Bart
September 20th, 2012 at 8:03 pm
I don’t have an ENVI license right now so I can’t test it. Check the server-side script to see how I use the corners I find from ENVI.
KML? Are you talking about Google Earth, like in this post?