MAPC2MAPC Help pages : Batch
Overview
How to ....
Grids and Datums
Map Images
Uses
System Issues

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) tho 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 Files
(x86)\MAPC2MAPCNET\mapc2mapcnet.exe" "C:\Users\Public\Documents\%%f"
-mt 0-0 "%%f.sqlitedb"
From 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.

Note that in Batch mode any changes to setting are not saved - this includes items such as datum matches. To avoid repetative questions, process one file manually.