blankblank blank




Creating "Transparent" Topo Map Overlays For Google Earth



In a previous post, I used MicroDEM’s ability to create GIF Google Earth overlays with transparency to create selective overlays of MicroDEM terrain analysis products. But you can use this ability with any georeferenced raster image, including topo maps, as long as the areas of the graphic you want to have transparent are white. One example would be USGS 24K topo maps, but these often have large areas that aren’t white, as in this case:

PLAINTOPOMAP

Creating a GIF overlay with transparency in Google Earth, the white areas will be transparent, but nothing else will be:

topowithlimitedtransparency

In particular, all of the green coloring winds up obscuring most of the Google Earth imagery. The other problem is that features that you might want to have clearly visible in this overlay, like the contour lines and the text labels, may not show up very clearly in the overlay against the aerial imagery.

But there are ways to get around this. I’ve posted before about how to re-color indexed color topo maps (like standard USGS topo maps) using Photoshop or similar software, and re-insert the georeferencing data when you’re done. But you can also do this directly in MicroDEM using its “Recolor DRG” function.

First, you’ll have to enable the function in the Options section; go to the Options menu, select the “Menu choices” tab, and make sure the box next to “DRGs (scanned maps)” is checked. Next, you’ll have to create a scheme for re-coloring the topo map. MicroDEM has a DBF file in its program directory called “DRG_COLOR.dbf” that controls the re-coloring function. The dbf data table looks like this (opened in MicroDEM):

2-3-2008-9.35.44 PM

The left three RGB columns are the color values (red,green, blue, 0-255) that describe the original indexed colors in a standard USGS topo. Here they are decoded into the visible colors on the topo map:

Color Red Green Blue
Black 0 0 0
White 255 255 255
Dark blue 0 151 164
Red 203 0 23
Dark brown 131 66 37
Green 201 234 157
Dark purple 137 51 128
Yellow 255 234 0
Light blue 167 226 226
Pink 255 184 184
Light purple 218 179 214
Gray 209 209 209
Light brown 207 164 142


The right three RGB columns (prefixed “NEW”) are the colors you want to convert the original colors to. In this case, I’d like to convert the green color to white, so in a DBF editor (like DBF Editor, OpenOffice, or even MicroDEM itself), I set the “New” colors to the right of green all to 255 (255 red, 255 green, 255 blue), converting all of the green in the original image to white. I’d also like the labels and contours to show up more clearly, so I recolor the dark brown contours (131,66,37) to red (255,0,0), and the black labels (0,0,0) to green (0,255,0). Save the DBF file, select Modify => Recolor DRG, and the original topo is recolored:

RECOLOREDTOPO

Doesn’t look that great as a map, but if I convert this to a GIF overlay with transparency for Google Earth:

topowithfulltransparency

All the areas obscured before by the original topo’s green color are now transparent, and the contours and labels are more clearly visible, at least to me.

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
  42. Placemark Creator For Google Earth
  43. Placemark Creator For Google Earth Updated


Subscribe to this blog's RSS feed

0 Responses to “Creating "Transparent" Topo Map Overlays For Google Earth”


  1. No Comments

Leave a Reply


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