Parent Topic: MapInfo Data Interchange Format (MIF)
On Import, if there are columns with the names "REPCode", "Angle", "TextString", or "RingStart" in the MAPInfo table structure, then these attributes will not be imported, instead they will be replaced by special GeoGateway attributes with the following contents:
REPCode (Integer) Index to a REPCode in the generated RST.
Angle (Double) Orientation for TEXTs.
TextString (String) TEXT value.
RingStart (CountedInt) Used by GeoGateway to regenerate polygons and
polylines.
These special attributes are fetched by GeoGateway in the following order:1) If the application provides setting for these attributes (through the layer's iXXXField members) then these will be used.
2) If an attribute with the right name and type exists, then it will be used.
3) Finally, if the 2 cases above failed, then some default values will be used instead of attribute values.
GeoGateway needs the layer extents at the beginning of the export operation to give the best results when exporting with a RST. If the application does not provide that information to GeoGateway, then default values will be used for line widths (always 1 pixel) and symbol sizes (always 10 points). If you have such columns in your dataset and want to keep them untouched, then you should change their name with MAPInfo's Table Structure tool.
Note: The test on the names is not case sensitive.
The column types that do not have a direct equivalent in GeoGateway are remapped without any data loss. DATEs are imported as Strings, LOGICALs are imported as Integers with 0=False/No and 1=True/Yes, and DECIMALs are imported as Floats.