- Google KML Reader/Writer
- Google KML Quick Facts
- Resource Traversal
- Reader Parameters
- Writer Parameters
- Feature Types
- Writer Pipelines
- Atom Metadata
- Style Management and Common Styles
- Document Element Omission
- Raw Text
- Update Mode
- Feature Representation
- KML Dataset Structure
- File Structure
- Identifying Elements
- Documents and Folders
- Tours
- Extended Data
- Layers and Feature Type Fanout
- Feature Attributes
- Geometry
- 3D
- Common Element Attributes
- Common Format Attributes
- NetworkLinkControl
- Document
- Folder
- Placemark
- ScreenOverlay
- GroundOverlay
- PhotoOverlay
- NetworkLink
- Style
- StyleMap
- Tour
- AnimatedUpdate
- FlyTo
- SoundCue
- TourControl
- Wait
Writer Notes
There are two separate and distinct methods to create elements:
Has Raster Geometry |
Remarks |
No |
If the feature has no geometry, and has the Icon and LatLonBox element attributes specified, the writer will directly write the <GroundOverlay> element without performing any further operations. |
Yes |
The writer can handle the raster geometry be either directly writing the raster geometry using either the GEOTIFF or JPEG writers, or the writer can merely copy or reference the original raster source file. Directly writing the raster geometry is preferable, and is the default behaviour. |
Notes
If the “copy” or “reference” modes are used, it is very important to ensure that the associated raster tile has a JPEG or TIFF format, and uses a LL84 coordinate system.
If the (default) “write” mode is used, the feature will be reprojected to the LL84 coordinate system using a raster reprojection, and then written using a FME raster writer.
The KML writer does not attempt to pre-process raster tiles so that they are suitable for writing to the selected output format. It may be necessary to manipulate the raster’s bands or palettes prior to writing.