Standard Linear Format (SLF) Reader

FME can read SLF datasets, which are ASCII format files that use the chain-node—also referred to as link-node or segment-node—data structure.

This means that regardless of the number of features a segment might belong to, that segment is stored only once in the dataset. By not storing repeated segments, the SLF format simplifies updates and corrections. It also avoids overlap and gap problems, as well as being responsive to thinning and generalization algorithms.

An SLF file logically consists of these four sequential records:

  • Data Set Identifier (DSI) record (required)
  • Segment (SEG) record (required)
  • Feature (FEA) record (required)
  • Text (TXT) record (optional)

The contents of the TXT record are product-specific and the only type of TXT record recognized by the SLF reader is when SLF is used to implement Interim Terrain Data (ITD) in two-dimensional (2D) format.

FME accepts any valid SLF file as input, regardless of file name or extension.

The slf_point, slf_linear, and slf_areal features produced by the SLF reader only contain references to the segments that make up the feature. By themselves, these features do not contain any coordinates.

Note  This reader assumes familiarity with the SLF format.

Reader Overview

The reader opens the input file and returns a feature to represent the data from each SLF logical record it encounters. The reader does not have any requirement for definition statements.

Each feature returned by the SLF reader has its FME feature type set to one of the following:

  • slf_segment
  • slf_point
  • slf_linear
  • slf_areal
  • slf_txt
  • slf_dsi