blankblank blank




Google Earth Ground Overlays With GIF Transparency



In a previous post, I talked about using MicroDEM to easily create Google Earth ground overlays, images draped over Google Earth terrain in the correct position, like this terrain-shaded topo map (viewed in Google Earth):

Terrain shaded topo map in Google Earth

But you can also create a Google Earth ground overlay in MicroDEM as a GIF with transparency, where any part of the image that’s white will be invisible in the Google Earth overlay. There are a number of MicroDEM analysis functions that can produce a graphic product with the data product in color and the background in white. One example would be the terrain category function, where you can select parts of terrain based on parameters like slope, elevation, aspect ratio, and relief. Suppose I have a DEM displayed in reflectance mode:

DEMREFLECTANCE

Using the Raster GIS => Terrain categories function (see this post for more info), I can select for areas of this terrain that are above 2750 meters, facing northward, with a slope greater than 30 degrees (which are areas that might be expected to have snowcover longer into the spring):

DEMOVERLAY

After creating the overlay, I can right-click on the DEM, choose Display Parameter => Blank, and have the graphic show only the category area in color, with the rest of the graphic white:

ONLYOVERLAY2

Right-click on the graphic, choose Load => Google earth overlay, and select GIF as the graphic type with the Transparent box checked:

transparentgif

And the overlay will open in Google Earth:

Terrain categories in Google Earth

The areas that were white in the original graphic are completely transparent in the overlay. The green areas are partially-transparent, but you can adjust that transparency in Google Earth.

For another example; here’s a DEM from Beaufort, SC:

BEAUFORT

If I select those areas with elevations from .0000001 to 3 meters, I can see which areas would be flooded by a 3-meter storm surge (or 3 meters of sea level rise due to global warming):

SCFLOODED

This is cheating a bit, since this should be done with a basin flood (as in this post), but it’s a lot faster this way. Open this image as a GIF overlay with transparency in Google Earth:

Flooding in Beaufort, SC

… and you’ll see (very approximately) what land areas might be covered by water in the event of a 3-meter storm surge.

This will work with any georeferenced image opened in MicroDEM, not just those created by the program itself; any white area will become transparent in the overlay. In an upcoming post, I’ll show how you can do that with a USGS topo map, even one that has lots of non-white areas on it.

Note: Google Earth sometimes has problems displaying large GIF overlays; if your overlay doesn’t work, try re-sizing it.

Other posts in the Google Earth Data Tools series

  1. KML Editors
  2. Diagramming In Google Maps And Google Earth With Smoot
  3. Plotting Data In Google Earth Using GE-Graph
  4. Drawing Grids, Paths And Polygons In Google Earth Using GE-Path
  5. Online Google Earth Utilities For Buffering And Area Calculations
  6. Easy Display Of Thematic Data In Google Maps And Google Earth
  7. Using GIF/PNG Transparency In Displaying Raster Graphics In Google Earth
  8. Adding Vector Graphic Objects To Google Earth
  9. Animated GIFs In Google Earth
  10. Creating A Network KML Link To A Google Spreadsheet
  11. LIDAR Tools
  12. EarthPlot Software Tools For Google Earth
  13. Geographic Time Animations
  14. Convert TIGER Polygons To KML Files
  15. Putting Time Data Into A KML File
  16. Using The KML Time Embedder To Stamp Time Data Into A Google Earth File
  17. Using The KML Time Embedder, Concluded
  18. KML Time Embedder Improved With Hour-Minute-Second Ability
  19. Grid Creation And Path/Polygon Measurements: Two New Online KML Tools
  20. Google Earth PhotoOverlay Tool
  21. KML Random Placemark Generator
  22. Update For Online Google Earth Utilities
  23. KML Time Code Utility
  24. Screen Overlays In Google Earth
  25. The KML Screen Overlay Maker Utility
  26. KML Screen Overlay Maker Utility, Concluded
  27. KML Circle Generator
  28. Creating Google Earth Screen Overlays With EarthPaint
  29. Text Editor With KML Validation
  30. Online Spreadsheet To KML Converter
  31. Version 2.0 Of Google’s Online KML Spreadsheet Mapper Tool Released
  32. Creating Google Earth Ground Overlays From Georeferenced Images
  33. Google Earth Ground Overlays With GIF Transparency
  34. Creating "Transparent" Topo Map Overlays For Google Earth
  35. Using Google Earth Ground Overlays To Display Shapefile Data
  36. Converting 3D Objects Into Google Earth Format
  37. Thematic Mapping In Google Earth
  38. An Online KML Validator
  39. Modify A KML Polygon File With Excel Data
  40. US Nautical Chart Overlay For Google Earth
  41. Plot Google Analytics Geographic Data In Google Earth/Maps


Subscribe to this blog's RSS feed

2 Responses to “Google Earth Ground Overlays With GIF Transparency”


  1. 1 SEWilco

    Basin flooding is only valid for a storm surge, where a range of hills may indeed block a temporary flood. If the water table is raised, a range of hills is only a temporary barrier and how quickly water goes through the hills depends upon the geology of those hills.

  2. 2 Leszek Pawlowicz

    You’re right, of course, and the post I reference describes how to create a basin flooding map using MicroDEM; you could use that basin flooding map instead of a flood fill as a Google Earth overlay.

    With this DEM, though, there’s an additional problem doing a basin flood calculation. Because this DEM covers a limited geographic extent, if I start a basin flood calculation on one point, and if there’s a land mass that blocks it completely, the area behind that blocking mass won’t be flooded in the simulation, even though in real life there would be likely be other routes around that block to allow flooding to take place. The solution for that would be to use a DEM that covers a wider geographic extent.

Leave a Reply


Be sure to enter the "reCAPTCHA" below before submitting your comment.