OGC/Google KML Reader/Writer
The Google Earth KML Reader and Writer allow FME to read and write KML files. This chapter refers to the Reader and Writer as the KML Reader/Writer.
OGC Google KML Product and System Requirements
Format |
FME Platform |
Operating System |
||||
---|---|---|---|---|---|---|
Reader/Writer |
FME Form |
FME Flow |
FME Flow Hosted |
Windows 64-bit |
Linux |
Mac |
Reader |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Writer |
Yes |
Yes |
Yes |
Yes |
Yes |
Yes |
Reader Overview
The KML reader reads KML datasets that conform to the KML 2.0, 2.1, and 2.2 specifications. The KML Writer will write datasets that conform to the KML 2.2 specification. In addition the KML Writer also support’s writing Google’s ‘gx’ extensions to the KML 2.2 specification.
FME's KML support can be used without knowledge of the KML specification.
Writer Overview
The KML writer is capable of creating uncompressed (.kml) and compressed (.kmz) KML documents.
The writer dataset specifies the location for the output KML dataset.
- If the dataset name contains the extension .kml, a single KML document will be created.
- If the dataset name contains .kmz, a KMZ file will be created.
Otherwise, it is assumed that the dataset is a folder. In the case of either a KMZ, or a folder dataset, the filename of the "root" document will be doc.kml unless otherwise specified using the DOCUMENT_FILENAME keyword.
Coordinate System Reprojection
The writer will automatically reproject features to LL-WGS84 if they are tagged with a different coordinate system.
FME Community
View a list of KML Transformers. Enter KML in the search bar.