kavagoe wrote: »
I am trying to export geo-image without background color. The image has uneven shape with white background which get's imported into the kmz/kml file. Could someone please advice on how to eliminate the background?
Mykle wrote: »
You can use the Options setting for Transparency, IF your background is close to a consistent color, AND your image doesn't have any of the same colors.
If you are not familiar with Options, open Tools | Control Center (or Alt-C, or the fifth toolbar icon from the left). Then select the layer containing image, then select the Options button at the bottom.
If your background colors are not consistent, and/or duplicate colors that are used on your image, then more work is required. I use Photoshop, but the GeoTIFF information is lost, so we need to be sneaky.
In Global Mapper, create and export your image to a single file, and ensure that you have a projection (PRJ) and/or global (TFW) file selected to be written. Make a backup copy of the exported image, then edit the image. Be sure that you do not change the size or resolution of your image: you need the PRJ / TFW file to be usable with your edited image.
In your image editor you can make the background one color that is not used on your image. White might work, but maybe not. Sometimes I will wind up using a bright pink, just so nothing in the image will match.
Now you can load your edited file back into Global Mapper, and it should be placed properly. As you move your cursor around, note the information on the bottom line of the window, left side. It will include the RGB values for the pixel under the cursor. If you don't see any info at the bottom of the window, turn on View | Status Bar. Note the RGB numbers for your border color, then open the Options for the layer with your edited image, and enter the numbers for the transparent color.
Hide all layers that you don't want to export, then you can export to KMZ (use PNG tiles with transparency).
Mykle wrote: »
During your "Export Raster/Image Format" to KML/KMZ, you have Sample Spacing values listed. The values reflect the highest-resolution layer presently displayed. Are they appropriate for your needs?
For testing purposes, you could reduce the resolution (increase the Sample Spacing) to verify that you are able to export a file that Google Earth can use.
If your desired resolution results in a file too large for Google Earth, you could create a set of files if the Google Earth restriction is for the size of a single file. The set of files may need to overlap a bit, thinking about how they will look with Google Earth looking at an oblique angle.
The Tiling tab on the Global Mapper export options dialog may be worth exploring. I haven't needed to use tiling, but it looks interesting for large files. I have exported not-very-small images with good results, but apparently not as large as yours. I also load several files, vector and raster, into Google Earth so you are not limited to just one input file.
Looking forward to your results ...