Each dataset must be defined before it can be read. The definition contains the .SXF file name, followed by the names and types of the attributes.
The schema is determined by reading attribute and feature type names from an .RSC file, which can be supplied by the user. If the directory containing the .SXF file also contains an .RSC file with the same name, then that .RSC will be used. Otherwise, a default .RSC file will be used.
Field Type |
Description |
string (<width>) |
String fields store fixed length strings. The width parameter controls the maximum number of characters that can be stored by the field. No padding is required for strings shorter than this width. Notes: Strings encountered that have length greater than width will still be returned; they will not be truncated. The width parameter is only valuable if the features will be passed to another format that requires this information. |
real |
Real fields store double precision floating point values. Notes: Native SXF attributes can also be 8, 16 or 32 bit integers. However, these integers can be associated with an exponent byte, which could make their value too large to be represented as an integer. Therefore, FME converts all numeric attributes to reals. |
integer |
Integer fields store 32-bit integers. Notes: The sxf_object_class_code is the only attribute of this type. |
This area contains layer selection and naming options.
This parameter specifies the RSC file that is used to define names for feature types, and attributes, and to supply values for the sxf_object_class_name attribute.
The RSC file is used to generate the SXF reader and to read the SXF file. Therefore, it is important that the RSC file does not change location.
However, if the RSC file is in a subdirectory relative to the reader workspace (for example, <workspace_dir>/<subdir>/example.rsc), FME will automatically update the RSC file path if the workspace directory is moved.
If this parameter is left empty, FME will do one of two things:
This parameter specifies which type of names to use for feature types, attributes, and sxf_object_class_name values.
Click the Browse button and choose from the list of feature types.
Note that the names to choose from depend on the values of the preceding options in this group.
This parameter exposes Format Attributes in Workbench when you create a workspace:
Using the minimum and maximum x and y parameters, define a bounding box that will be used to filter the input features. Only features that interact with the bounding box are returned.
If all four coordinates of the search envelope are specified as 0, the search envelope will be disabled.
Select this option to remove any portions of exported features outside the area of interest.