KML export creates extraneous files with red X

stitchenalstitchenal Global Mapper UserPosts: 36Trusted User
edited January 2012 in Bug Report
Attached is a zip file with a jpg map and the GM workspace that georeferences it. Also attached are two doc.kml files for the v12 and v13 KML export and a screen shot showing how it looks in Google Earth. I did not included all the image files with the .kml file.

I have exported many geopdf files from USGS recently using a script and they do not exhibit this issue. Only files I have georeferenced myself.

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2012
    Can you show me what settings that you used for the export? I just loaded your workspace file, then exported a raster KMZ with PNG images and got the view below in GE (the file was too large too attach, maybe we can increase that limit Paul, say to 15MB?).

    gm_screenshot.png
    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • stitchenalstitchenal Global Mapper User Posts: 36Trusted User
    edited January 2012
    I opened Global Mapper v13.01 b011912 64 bit, loaded the workspace and exported to KML raster using the default settings except changing to png for transparency. The extraneous image with an "X" only appears at a specific zoom level and closer in Google Earth. Dialog shows Exported Gridded File (57 cells) but when I unzip the exported file and get properties I only see 50 files (including the doc.kml flle). For whatever reason when I do the same export using Global Mapper v12 the Default sample spacing is different (second screen image) and Exported Gridded File (43 Cells), in properties the folder shows 44 files, 43 images and 1 doc.kml file.

    I have attached a kmz file at a larger sample spacing so it is small enough to attach. You should see the extraneous red X which indicates a missing image. The kml file lists 10 images but only 4 were created. I wonder if GM is generating kml code for transparent areas and then not creating the transparent images? That might explain why the red X appears outside the actual map image.GM13Test.jpgGM12Test.jpg
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2012
    I actually don't see the red X at all in Google Earth when I load your sample .zip file. I also only see 4 unique .png images referenced in the .kml file in the .zip. Did you send me the right one? Do you have the latest Google Earth release?

    The calculation of the most appropriate default sample spacing to use was improved for skewed reprojected images like your rectified one, which is why the default values are slightly smaller in v13 than v12.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • stitchenalstitchenal Global Mapper User Posts: 36Trusted User
    edited January 2012
    I have the latest Google Earth, 6.1.0.5001. If you view the doc.kml file in the test2 folder in a text editor, you will see that it references 10 images, but only 4 were created by GM. The missing images are causing the red X that I see when zoomed in.
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2012
    Ah I can see now, there are actually 5 files referenced in your doc.kml, not 10. One of them appears to have been all transparent and was deleted, but was still added to the KML export so if you zoom to the bottom right it shows as a red X. I should be able to fix shortly.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2012
    I think I have this fixed now. I have placed a new build at http://www.globalmapper.com/global_mapper13.zip with the change for you to try. Simply download that file and extract the contents into your existing v13.xx installation folder to give it a try. If you are using the 64-bit version download from http://www.globalmapper.com/global_mapper13_64bit.zip.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
Sign In or Register to comment.