Comepscript kann auch Karten zusammenführen. Hier noch ein Beispiel zum zusammenführen von Maps, das ich 2014 einmal gemacht habe. Keine Ahnung ob es noch funktioniert.
ZitatAlles anzeigen
// Open the Tiff-maps.
dir="D:\\Garmin\\_Urlaubskarten\\Denmark\\unitest";
CompeGPS.InputUser(dir,dir);
b = 642;
for (a=618;a<b;a=a+2){
CompeGPS.CloseAll();
// names="D:\\Garmin\\_Urlaubskarten\\Denmark\\universal\\*";
names=dir+"\\*";
names<<a<<"*.tif";
list = CompeGPS.DirScan (names);
n = list.Count();
//make shure that tif exists and run conversion
if (n>0){
for (i=0;i<n;i=i+1){
mapname = list.Elem(i);
CompeGPS.Open(mapname);
};
//Join Maps
//output="D:\\Garmin\\_Urlaubskarten\\Denmark\\universal\\OUTPUT\";
output=dir+"\";
output<<a;
//outputimp=output;
//outputimp<<".imp";
//outputrmap=output;
//outputrmap<<".rmap";
// params: Name imp ,Name bmp, Maßstab(m/pixel) 0=Maßstab der größten Map -1=aktueller Zoom ,Compression (nur ecw),einschließen anderer göffneter Dateien (wpts,tracks,etc).[0/1]
// if Name imp ="" than rmap trash, better Name imp=name rmap without ending, only valid rmap will be build, no imp
CompeGPS.UnifyMaps (output,output+".rmap",0,20,0);
CompeGPS.CloseAll();
};
};