Add path to tiles in Google Earth kml Index File
GeoBob
Global Mapper UserTrusted User
Would it be possible to add the full path to the tiles in the kml index file written by GlobalMapper? This would be very useful if one tries to edit the kml or combine with other layers. Currently I have to manually search for the 'href' and then replace to add the path.
Thanx
Bob S.
Calgary, AB
Thanx
Bob S.
Calgary, AB
Comments
-
Bob,
Are you referring to the <href> tag value inside the <Link> tag of the <NetworkLink>? I'm concerned that making it a full path would make the index KML no longer portable just by keeping the images in the same location relative to the KML file. If the full path was there and not a relative path then you could just put the whole thing on a web site or something, you would have to change the KML any time you moved it at all. If all of your images are in the same place when you initially create the KML could you just do a search and replace on '<href>' and replace it with '<href>full_path'?
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.globalmapper.com -
Mike
I see the downside of what I am proposing. However, if I try to create a collection of kml index created by GM that are in different directories and store this main kml file outside any of those directories, the link to the tiles is broken because there is no path linkage.
I foolishly assumed Google Earth would look for the tile in local directory if it could not find it at path specified so I did not see the harm I was proposing.
I might be stuck with my global 'search and replace' method.
Thanks for looking into it.
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website