![]() ![]() The key difference is to create a transparent image that can be overlaid properly on Google Earth by adjusting the figure size and by removing the title, the colorbar, and the extra border space around the figure. The code for accessing and plotting data is same. highlights the required modification to use the KML Toolbox overlay function on our sample comprehensive example. Please download the toolbox and decompress it first to follow our example. Therefore, we will use the KML Toolbox available from MATLAB CENTRAL File Exchange for our example. MATLAB provides a built-in function called kmlwrite for creating a KML file using points and lines only, so the built-in function cannot overlay a contoured plot JPEG image that our examples generate. You can reuse our MATLAB examples and create KML files out of them easily by following the steps below. Like NCL and IDL, MATLAB can also access HDF data both Google Earth visualizing KMZ file created by IDL The complete IDL code for converting HDF-EOS5 to KMZ isįigure 8. Required modifications for creating KML using IDL Save the IMAGE graphic as a KML file, which will produce an overlayįigure 7. Create an image graphic that can create KML.Īrctic = IMAGE(jpg, $ GRID_UNITS=2, $ LIMIT=, IMAGE_LOCATION=, $ IMAGE_DIMENSIONS=, MAP_PROJECTION='Geographic', $ GRID_LATITUDE=0, GRID_LONGITUDE=0, $ /CURRENT, BACKGROUND_color=, NAME=file_name) Turn off grid / continents also because Google Earth can provide them. Use the entire window by setting margins 0 without any border. The aspect ratio should match 2:1 to geo-reference the global map.ĭEVICE, SET_RESOLUTION=, SET_PIXEL_DEPTH=24, DECOMPOSED=0 Set the window size big to get a better resolution. Use Z-buffer to eliminate the X-Windows device dependency. Once you succeed in visualizing data, you can export it as KMZ as shown in Figure 1. Panoply example page, you can learn how to access and visualize HDF data via OPeNDAP service. We'll go over Panoply, IDV, NCL, IDL, and MATLAB. There are several ways to create KML from NASA HDF/HDF-EOS data. Google Earth is able to show all kinds of images such as (JPEG, PNG, GIF) overlaid on the surface of the earth but Google Earth supports managing three-dimensionalĭata through Keyhole Markup Language (KML). Once you download the setup programs, installation is quite straightforward with minimal user's involvement. Google Earth Pro is supported only on desktop environment. If you want to import GeoTIFF file, you need to download the Google Earth Please click one of the following links based on your platform to download the application. Google Earth is supported on many platforms including mobile platforms. This example will cover all three data access methods. It is available under two different licenses: Google Earth, a free version with limited function and Google Earth Pro ($399 per year), which is intended for commercial use.Īlthough Google Earth cannot access NASA HDF/HDF-EOS data directly, there are other ways to access and visualize NASA HDF/HDF-EOS data through data conversion such as It maps the Earth by the superimposition of images obtained from satellite imagery, aerial photography, and GIS 3D globe. Google Earth is a virtual globe, map, and geographical information program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |