Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am using FME to produce a kml file with multiple placemarks. Each placemarks corresponds to a specific feature on the ground. I am creating balloons to provide some descriptive information of the feature and I want to add a couple of images within the ballon of the feature itself.

Is this possible using FME?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

Yes, you can absolutely do that. You would use the KMLPropertySetter transformer:

KMLPropertySetter

Because you can add HTML content there are a lot of things you can do with this. You can add links to images, and you can also link to content such as YouTube videos, tables, documents... almost anything.

If it helps you can find some learning materials for FME and KML on the Safe Software website. There is a tutorial and a training document you can work through.

There is also a set of webinars available, one of which is "How to Prepare Data for Compelling Displays in Google Earth" and includes (I think) the YouTube embedding example.

(NB: I do work for Safe Software)

share|improve this answer
add comment

In this answer there is a link to a useful google doc kmlreference.
If you can find it in there you can most likely expose it in FME.
There is a nice example of probably what you are trying to do here...
Ballon Style (select the placemark by the island)
You will likely find MANY resources on the FMEPedia website.
Here is an example of twitter balloons
And here is some more balloon manipulation.
add photos to your balloon
Jason Birch has this blog for the balloon text editor.
FME KML 2012
Jeffery Jenson has many useful insights and links on this page!
Especially the sections at descriptor balloon, and extended data.

share|improve this answer
add comment

In the KMLPropertySetter http://docs.safe.com/fme/2010/html/FME_Transformers/content/transformers/kmlpropertysetter.htm transformer your can go to the Ballon content and open in editor (advanced) and attach your <href> reference image:

enter image description here

example:

href="http://www.flickr.com/photos/9428166@N03/2756609507/in/set-72157606688361690" title="Goslar Warrior (1973-74) by sandy richard, on Flickr"><img src="http://farm4.static.flickr.com/3062/2756609507_3b598be974.jpg" width="500" height="375" alt="Goslar Warrior (1973-74)" /></a>
<br></br>Goslar Warrior (1973-74) - Sculpture # 1<br></br>Photo by Sandy Richard. <font color="#C93069">Click photo for Flickr photo page.</font><br></br>

This the automatic inserts the image into the balloon (some resizing might be needed)

share|improve this answer
    
Sorry Mark had answered this whilst I was compiling and had to go to a meeting in between posting it. Mark's answer is correct. –  Mapperz Dec 5 '12 at 17:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.