Author Topic: Save As KML  (Read 3683 times)

jimbowilly

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Save As KML
« on: December 19, 2009, 07:19:51 AM »
Scott,

The next time you are in the code that outputs the KML file, could you please add the following tag to the KML output when there are associated pictures with the track from Photofusion.

<description>
<![CDATA[
<a href="(photo file name)" target="_blank">
<img src="(thumbnail photo file name)" />[/url]
]]>
</description>


Right now the kml looks like this:

<Placemark>
<name>IMG_2277.JPG</name>
<styleUrl>#m_ylw-pushpin_copy1</styleUrl>
<Point>
<coordinates>
-111.977781,35.143602,0
</coordinates>
</Point>
</Placemark>

and the <description> tag would go in right below the <styleUrl> tag,

This would allow the pictures to appear in google maps on the KML overlay.

Thanks


ScottMorris

  • Administrator
  • Sr. Member
  • *****
  • Posts: 2753
  • TopoFusion Author
    • View Profile
    • http://www.topofusion.com/diary
Re: Save As KML
« Reply #1 on: December 19, 2009, 12:48:43 PM »
You got it.  For some reason I thought I already made the kml export work, but evidently not.  I'll make a note.  Should be an easy addition.

Thanks.
Scott Morris - founder and co-author of TopoFusion
email: smorris@topofusion.com

jimbowilly

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Save As KML
« Reply #2 on: December 22, 2009, 05:53:56 AM »
Thanks Scott. Could you also please output the elevation with the coordinates. Right now it's coming out as zero.

Thanks again.