With FME, it is possible to perform numerous KML Transformations. This tutorial includes advanced styling, images, time functions, raster handling, labels, charts and geocoding.
Style KML using attributes, including unique styles by feature, and set the display order of features. The styling in this example includes classifying features into color ranges and extruding 3D features.
This example demonstrates how to remove "Directions" from KML Balloons, as well as use HTML to set KML Balloon content, in this case URL links and images, such as pngs, jpegs and tiffs.
The KML format supports raster features and FME is equally able to supply data using that structure. The demo will translate and transform a raster DEM into KML.
To allow temporal mapping, all feature written to the KML format can be assigned a number of time related attributes. In this example, the KMLTimeSetter is used to relate features to a single time stamp (i.e. this feature relates to time X).
In Google Earth, attributes are visible in the KML description balloon. In FME, as the KML attribute table is embedded in the <description> tag, the HTMLToXHTMLConverter and XQueryExtractor are used to get table attributes from the KML file.
Learn how to create KML charts with Google's Chart API from CSV and Shapefile that can be viewed with Google Earth.
FME KML Watermarks provide users with a simple way to brand their KML. KML ScreenOverlay allows users to have more control over the position of their ScreenOverlay images. This article will cover how to create both a Watermark and a ScreenOverlay element at a position other than 0,0.
This demo covers labelling Google Earth KML polygons. It describes how to create icons and labels for polygons through the use of points aggregated with polygons.
Using KML StyleMap elements, learn how to create labels and icons with highlight on hover functionality.
This article describes KML folders and how to set them up.
Normally when writing to Google Earth KML files, FME users will write out locations as points. However, if you do not have location data, but only addresses, you will need to use a geocoding service to generate lat/long points.
Splitting large datasets into smaller pieces is useful for display of KML in Google Earth. A single workspace creates both the KML Network link file and the tiled KML datasets. The first part of the workspace uses grid features and creates tile boundaries. The second part of the workspace reads the source data, styles it for KML and writes out to KML tiles.
4 People are following this .