WebCharter and ImageFetcher for KML example

From fmepedia

This example shows how to use WebCharter and ImageFetcher for creating KML files containing charts:

The workspace takes an XLS file containing some education statistics and country centroids in FFS format, forms a url, which is sent to Google Chart service (http://code.google.com/apis/chart/), gets images back, creates a KML file with two subdocuments. The first, TimeDistributionChartsOnTheFly shows how to use Google Chart service on the fly - each feature contains a url, which calls the service. The second subdocument TimeDistributionLocalImages uses images saved locally with a separate PNG writer. The second method shows better flexibility in chart formatting (e.g using periods), whereas the on-the-fly method is more portable and compact.

For your convenience, I zipped the KML and the images up into one KMZ file. Note that FME cannot do this at the moment, but it looks like a nice enhancement, so we will try to add it in the next version (after FME 2008).

Attached Files
filesizedate
CountryPoints.ffs2.7 kB02/25/08
EducationTimeDistribution.fmw93.8 kB02/25/08
EducationTimeDistribution.kml25.7 kB02/25/08
EducationTimes.kmz518.9 kB02/25/08
Images------
education.xls19.5 kB02/25/08
edutime.jpg76.6 kB02/25/08
User Comments Add a new comment