mimport command usage

You can use the mimport command to import an XML file to the map source file from the command line.

Use the mimport utility command to import the xml file to the map source file from the command line, outside the Map Designer GUI.

The following example shows how you can use the command:


install_dir> mimport myxmlfile.xml 
    -O C:\MyDev\ImportResults\myimportedmaps.mms 
    -LOG -APPEND

When you run the example, the following result occurs:

  • If the myxmlfile.xml xml file is imported successfully, the mimport - completed successfully. message displays on the console.
  • The imported myimportedmaps.mms map source file is produced in the C:\MyDev\ImportResults directory.
  • If the myxmlfile.log log file does not exist, it is produced in the same directory as the xml file. If the myxmlfile.log log file already exists, the log messages are appended to the existing file.