1 User input

export gsd=XX #Enter ground sample distance in cm (ex. 20 for 20cm, 05 for 5cm)

2 Tile

cd test
rm LMRKLIST1.TXT
cat support/TILE${gsd}.in
ls -l /usr/local/bin/bigmap
/usr/local/bin/bigmap < support/TILE${gsd}.in | tee log-TILE${gsd}
echo "TILE${gsd}" | showmap
convert TILE${gsd}.pgm TILE${gsd}.jpg
cp TILE${gsd}.jpg ~/send/

rm MAPFILES/XXXXXX.MAP
ln -s TILE${gsd}.MAP MAPFILES/XXXXXX.MAP

rm make_scriptT.in
ln -s lsupport/tile${gsd}_make_scriptT.in make_scriptT.in
cat make_scriptT.in
make_scriptT
ls -l

cat INIT_LITHOS.TXT
lithos -v
nohup sh run_script.b &

#since this will take awhile
exit 
#copy typescript file somewhere...

#when finished tiling
script

cd test
date
pwd
ls -l


find_nofitT

#fix landmarks
#after fixing, continue on

map_coverage
XXXXXX
0 .000XX # NEED TO REPLACE THE XX WITH THE GSD!
convert coverage_m.pgm coverage_m-TILE${gsd}-afterTiling.jpg
cp coverage_m-TILE${gsd}-afterTiling.jpg ~/send/

#Run this solo to make sure it works

mkdir log/TILE${gsd}

find_nofitT | tee log/TILE${gsd}/log-fit
sh support/logEvalP.sh
cat logResults.txt
cat lowImg.txt
cat redo.txt
cp *INN *OOT run_script*.b log/TILE${gsd}

# Clean directory
sh rem_script.b
rm TESTFILES/*
rm TESTFILES1/*

#copy typescript somewhere...