MAPC2MAPC Help pages : Batch |
|||||||
|
For batch processing, the Batchbuilder function makes the process of building a batch file much simpler. So read on only if you want to do somthing special.... To run the program without the user interface, make a .BAT file with lines like : "C:\Program files\mapc2mapcnet.exe" "D:mtest\lulsgate.map" "C:\Program files\mapc2mapcnet.exe" "D:mtest\lulsgate.map" -wll If the only parameter is a calibration file name, the program will write a set of calibrations (as specified in preferences) to the same folder. An optional second parameter instruct the program to process: -wll Warp(reproject) to Latitude/Longitude including rotating to North -wm Warp(reproject) to Mercator -g Make a Garmin custom map using preferences -bm Make a BitMap folder for iPhone -bx Make a Maps n Trax file for iPhone -az Make a ozf2+map set for Androzic -kap Make a BSB/KAP marine chart -jnx Make a two-level (main + 1/8 thumbnail) JNX file from the image unsing preferences. (Works unregistered) -ma zmin-zmax outputpath Creates an OSMTracker Mobile Atlas (z/x/y.png) for example -ma 10-12 "c:\mymaps\atlas" -mb zmin-zmax outputpath Creates an BCNAV Mobile Atlas (z/x/y.png.bcnav) for example -ma 10-12 "c:\mymaps\atlas" -mg zmin-zmax outputpath Creates a MGMAPS set fro MyTrails for example -mg 10-12 "c:\mymaps\atlas" -ms zmin-zmax outputpath Creates an SAS Planet Mobile Atlas (zz/y/x.png) for example -mas 10-12 "c:\mymaps\atlas" -mq zmin-zmax outputpath Creates an Alpinequest Mobile Atlas (*.aqm) for example -mq 10-12 "D:\mtest\lulsgate.aqm" -mt zmin-zmax outputpath Creates an SQLite mobile atlas for example -mq 10-12 "D:\mtest\lulsgate.sqlitedb" -rmp Writes a RMP file (Works unregistered) -ma and -ms may be used if the input file is type JNX If zmin-zmax is specified as 0-0 then the program calculates the zoom range based on the map's scale. In batch mode, the program remembers the most recent choices made in the GUI (e.g TFW grid) and does not ask. The processed map will be placed in a "output" subfolder of the original folder. From version 443, the program has been changed to avoid the dependance on a single log file. It is, therefore, possible to run multiple batch streams in parallel. Note that all instances of the program share a single configuration (mapc2mapc.ini) file. A program listfile can aid this process or here is a template for a batch file : for %%f IN (*.kmz) DO "C:\Program FilesFrom version 530, the program will read batch files with the parameters 64bit encoded to cope with accented characters. Un-encoded batch files will continue to be read. From Version 568 the program has the option to include files from 'brother' directories. For example, you may have a series of directories each containing one or more files to process. Before this change, you had to process each directory separately. Now you can check 'Choose parent directory?' and having chosen a file you can select any of its parent directories from which all file of the type will be processed, including subdirectories. Another change in verson 568 is that KAP files are sorted into ascending scale before processing thus giving better zoom in and out when several levels are covered. Note that in Batch mode any changes to setting are not saved - this includes items such as datum matches. To avoid repetitive questions, process one file manually. |