GISBox

MIF (MapInfo Interchange Format)

GISBox is a one-stop 3D GIS data editing, conversion and publishing platform that supports editing in multiple GIS formats such as OSGB/GEOTIFF/RVT, converting to 3DTiles/Terrain and publishing.

Introduction

MIF (MapInfo Interchange Format) is a vector data format used by MapInfo software to store the geometry and attribute information of geographic features. MapInfo is a commonly used geographic information system (GIS) software, and MIF files are one of its common data exchange formats.

MIF files are stored in text form and usually consist of two files: MIF files (.mif) and MID files (.mid). MIF files contain the geometry information of geographic features, such as the coordinates of points, lines, and polygons. MID files store attribute data associated with each geographic feature, such as names, identifiers, and other attribute fields.

File Structure

MIF files are in plain text format, easy to read and edit. It contains two main parts: the file header and the data section.

  1. **File header: **The file header stores information on how to create a MapInfo table, including version, character set, delimiter, coordinate system, column definition, etc.
  • VERSION: Specifies the version of the MIF file.
  • Charset: Specifies the character encoding, the default is “WindowsLatin1”.
  • Delimiter: Specifies the delimiter, the default is space, but it can also be other characters.
  • CoordSys: Defines the coordinate system, which can be a geographic coordinate system (such as WGS84) or a projected coordinate system.
  • Columns: Lists the name and type of each field, such as “ID Integer”, “NAME Char(25)”, etc.
  1. **Data section: **The data section comes after the file header and is introduced by the “Data” keyword. The data section contains the definition of all graphic objects, each of which has one or more parameters to describe its geometry and properties.
  • Point: A single point in the format of x y. You can specify the symbol style, color, size and other properties of the point.
  • Line: A line segment, consisting of a series of points, in the format of N x1 y1 x2 y2 … xn yn, where N is the number of points. You can specify the line style, color and other properties of the line segment.
  • Region: A polygon, similar in format to Line, but connected end to end to form a closed area. You can specify the fill mode, color and other properties of the polygon.
  • Text: A text annotation, including position, font, size, rotation angle and text content.

Pros

1. Openness and versatility: MIF is an open format that provides versatility and editability. Users can easily edit and modify the file to suit different application requirements.

2. Easy to generate and edit: The MIF file format is easy to generate and edit, and supports ASCII code, making it very flexible and efficient when processing map data. Users can use various text editors or dedicated software to create and modify MIF files.

3. Wide compatibility: As a universal data exchange format for MapInfo software, the MIF format is widely used for data exchange and sharing. Users can export MapInfo map tables in MIF format for viewing or editing in other software that supports the format. Although there may be some problems with compatibility with other GIS software, it works properly on all platforms supported by MapInfo.

Cons

1. Limitations on data accuracy and complexity: MIF files have some limitations when storing and representing geographic data, such as relatively weak support for data accuracy and complexity. For datasets containing a large number of high-precision or complex geographic features, the MIF format may not provide sufficient storage space or representation capabilities.

2. Dependence on specific software: Although the MIF format has certain versatility, it is still a format specific to MapInfo software. This means that when opening or editing MIF files in other GIS software, additional conversion steps or plug-in support may be required. This increases the software cost and learning cost of users.

3. File size limitation: As a text file, the size of the MIF file may be limited by the operating system or file system. For large maps or datasets containing a large amount of data, the data may need to be split into multiple MIF files for management, which increases the complexity of management.

Application Scenario

The MIF format is widely used in data exchange, geographic data storage and editing. It is an open format that can be used for data exchange and sharing between different GIS software. It is used to store various types of geographic features, including points, lines, polygons, etc. It can also be directly modified and processed using a text editor or other programs.

Example

  1. An example of storing geographic information data in MIF format.

  1. The MIF format stores geographic features.

File Opening Mode

  1. Open the MIF file in MapInfo.

  1. Open the MIF file in text.

Related GIS files

E00

E02

TAB

SL3

References

  1. https://en.wikipedia.org/wiki/MapInfo_Interchange_Format
  2. https://www.spotzi.com/en/about/help-center/what-is-a-mif-file/
  3. https://file.org/extension/mif