Program name: miftoshp universal Conversion Tool
program function: convert a MIF file to a SHP file
compilation tool: delphi7
It is often used to convert the value of MIF to the SHP file, either by using the common conversion tool provided by MapInfo or by using the arctoolbox provided by ArcInfo, but it is also found to be troublesome, the file name after conversion by the General conversion tool is a problem. In Versions later than arcinfo9, arctoolbox has been integrated into ArcInfo, And to shapefile is available in conversion tools, but I still don't use it (the tool for converting the image to shape provided in arcinfo8.3 and 8 is okay ). This tool is designed based on the principle of arctoolbox. In fact, it only reads the MIF file to determine the type of the MIF file and then generates a batch file. However, work is much easier, at least you do not need to open arctoolbox or a common conversion tool, and you can traverse the MIF files in a directory. It is hoped that it will bring convenience to friends who often do conversion work. However, you also need to pay attention to the following issues:
1. The avmifshp.exe file must exist. This is a common Conversion Tool for MIF and SHP provided by ArcInfo, in dos, you can use commands to convert the migration from the MIF file to the SHP file (for the syntax, refer to the mifshape help file provided in mo2.2 or the appendix provided below ). After installing ArcInfo, you can find it in the software root directory \ bindirectory. personally think it is better than mifshape.exe in mo2.2.pdf (so I forgot where it is)
2. A shp file with the same name cannot exist in the SHP target file directory. Otherwise, a message indicating that the SHP file already exists is displayed during batch processing. The pop-up dialog box is troublesome.
3. Chinese fields are not supported. The field names are garbled after converting the Chinese fields in the MIF (which is roughly a field with N z letters ), this should be the defect of ESRI when it was doing this tool.
4. The Chinese SHP directory is not supported; otherwise, the conversion cannot generate DBF Files. (I am depressed about this problem. After testing, the tool can be stored in the directory of the Chinese name, and the directory of the MIF file can also be a Chinese directory, but the converted SHP file path cannot be Chinese, maybe ESRI does not support Chinese well)
5. Others. After reading the help documentation, the conversion may be limited. 32763 nodes per region or line, 3000 polygons per region (descriptions in mifshape help, I don't know if avmifshp has the same restrictions, but I don't want to exceed this limit)
This release fixes some issues during the first release. If you have any questions, please send me an email.
: http://files.cnblogs.com/Tangf/MIFtoSHP.rar