Swedish KF85 Reader/Writer

The Swedish KF85 Reader and Writer modules allow FME to read and write Swedish KF85 files. KF85 is a published ASCII format used by the KF85 product. The KF85 Reference Manual describes the KF85 format and all constants it uses.

Overview

KF85 is a two-dimensional (2D) or three-dimensional (3D) system.

KF85 files store both feature geometry and attributes. Both standard attributes and user-defined attributes are supported. All user-defined attributes require integer attribute names. A logical KF85 file consists of one physical file that can have any file extension. The extension .k85 is added to the base name of the KF85 file when writing files.

The KF85 reader and writer support the storage of point, line, arc, and text geometric data in KF85 files. The KF85 format can also store features with no geometry. Features that have no geometry are referred to as having a geometry of none.

FME automatically recognizes standard KF85 coordinate systems from the header when reading and can convert these projections automatically. When writing KF85, the correct coordinate system string is written to the header and may be overridden with the COORDINATE_SYSTEM_STRING directive.

FME considers a KF85 dataset to be a single KF85 file.

Reader Overview

The KF85 reader opens the input file and immediately starts reading features, returning them to the rest of FME for processing. The reader does not have any requirement for definition statements as there are no user-defined attributes.

Writer Overview

The KF85 writer creates and writes feature data to a KF85 file specified by the Dataset parameter. Unlike the reader, the file may or may not exist before the translation occurs. An existing file with the same path and name is overwritten with new feature data. Only one KF85 file may be written to in a single FME session (one translation).