1.This is my instruction to user , it , OK ?
Console.WriteLine(" MapInfoInterchange:“);
Console.WriteLine(” Purpose:Text based format used by MapInfo system.“);
Console.WriteLine(” Files needed: .mif mandatory, .mid - contains attribue info and not mandatory.“);
Console.WriteLine(” If both files are supplied give it as an archive file, otherwise a single .mif file is needed.");
Console.WriteLine();
Console.WriteLine(" MapInfoTab:");
Console.WriteLine(" Purpose:Native MapInfo vector format.");
Console.WriteLine(" Files needed: an archive file that contains .tab, .dat, .map, .id.");
Console.WriteLine(" tab — main file (links others).");
Console.WriteLine();
What are mandatories files for:
MapInfoInterchange and MapInfoTab ?
3.From Vector.Layer , what I need to supply for:
MapInfoInterchange and MapInfoTab ?
Your instruction to the user regarding the MapInfoInterchange and MapInfoTab formats looks accurate and well-explained .
The mandatory files for each format are:
MapInfoInterchange: The .mif file is mandatory. The .mid file is optional and contains attribute information. If both are provided, they should be given as an archive file; otherwise, a single .mif file is sufficient .
MapInfoTab: An archive file containing the following files is required: .tab, .dat, .map, and .id. The .tab file is the main file that links to the others .
From Vector.Layer, to export to these formats:
For MapInfoInterchange, you need to supply the layer data in a format compatible with .mif and optionally .mid files .
For MapInfoTab, you need to supply the layer data in a format compatible with the .tab, .dat, .map, and .id files .
Let me know if further clarification is needed. A support engineer will follow up in this thread if necessary.
First of all MapInfoInterchange and MapInfoTab are different formats.
MapInfoInterchange : The .mif file is mandatory. The .mid file is optional and contains attribute information. For VectorLayer.Convert you need to set path to .mif file
MapInfoTab: The .tab file is the main file that links to the others .