MapInfo MIF/MID Writer Parameters
Writer
Provides a hint of the target version of the output file.
This affects compatibility options for date fields. Specifically, versions 300 and 450 will treat date/time fields as strings instead.
Note that this option does not affect the overall version number written to the file. That is determined by the specific attribute types, geometry types, or coordinate systems. For example, if the coordinate system is “Krovak S-JTSK”, then the version is promoted to at least 900.
Values Supported: 300, 450, 900, 950, 1000, 1050, 1100, 1150
Geometry
To direct the writer to calculate the region centroid and store the x and y values in the corresponding mif_centroid_x and mif_centroid_y format attributes. The writer only attempts to calculate the centroid values if the format attributes were not previously set. If neither the format attributes nor this directive are set, a default centroid value is still calculated by underlying libraries.
Indicates whether to write a linear feature with two vertices as a polyline (two or more vertices).
Indicates whether the arcs are vectorized before writing. If Yes, all arcs are converted to polylines. This option may be useful where sweep angles have precision finer than 0.1 degree.
File Contents
This parameter specifies whether to surround the output attribute values in quotes.
Yes: always surround the attribute values in quotes.
No (default): surround attribute values in quotation marks only when necessary (for example, if they are part of the attribute value).
This parameter defines the character to be used as the delimiter. You can either enter a value, or select one of the following:
- comma (,) (default value)
- semicolon (;)
- vertical bar (|)
- space
- tab
This parameter is applicable only if you are working with foreign (non-English) character sets. For example, if your data contains foreign characters, selecting this parameter along with the encoding value ensures that the original characters are preserved.
Coordinate System
The coordinate system statement that should be used in the produced MIF files. Normally, FME examines the coordinate system information present on the features written to the files, and outputs the coordinate system based on this information. However, in certain circumstances it is necessary to override this and force a particular coordinate system to be output. This is typically done to force the units of a non-Earth projection to something other than the default, which is meters.
Allows explicit setting of the bounds of the output features. Because MIF has limited precision for storing coordinates, defining a tight bound on the range of the data can preserve more accuracy.