WebCharter Example
From Fmepedia
The attached workspace shows an example use of the WebCharter transformer.
Click here to check another example of WebCharter and ImageFetcher use.
Workspace Screenshot

Above: WebCharter Example Workspace.
The workspace reads a set of park data (sampled for clarity) and calculates the area of each park. The features are aggregated together to produce a single feature with a list of attributes. The WebCharter turns the list into a URL suitable for the Google Charts API, which is subsequently sent off by the ImageFetcher. The results are returned as a raster feature which is converted into GeoTIFF.
In this example the URL formulated by the WebCharter is:
http://chart.apis.google.com/chart?cht=p3 &chd=e:dbPA..AzRNBUD7BX &chs=750x350 &chtt=City+of Interopolis Park Area (Sq Feet) &chl=East Destination|Big Walnut Creek|Morris Williams|T.A. Brown|Bartholomew|Pecan Springs|Dottie Jordan|Andrews &chco=800000
Surprisingly all of the data that goes to make up the chart is stored as: &chd=e:dbPA..AzRNBUD7BX
Output
This output is a pie chart - it could just as easily be a line or bar chart.

Above: The output image as displayed in the FME Universal Viewer.
