NEW !!! (3 Dec 2019)

Save All New Landmarks

Run EXPORT

This will combine all the new LMRKLIST1 that were created (2cm, 1cm and 0cm).

checkVar $ID $Res $logPecho y | cp LMRKLIST1.TXT nftConfig/highRes${ID}$Res.txt grep -v END nftConfig/list-$ID-*.txt | cut -c 28- > LMRKLIST1.TXTwc LMRKLIST1.TXTecho END >> LMRKLIST1.TXTecho -n "Running Export $ID with num of landmarks: " >> noteswc LMRKLIST1.TXT >> notesrm -r NEW_FILESmkdir -p NEW_FILESmkdir -p NEW_FILES/LMKFILESmkdir -p NEW_FILES/MAPFILES/usr/local/bin/EXPORTsh EXPORT.TXTmv NEW_FILES.tar nftConfig/nftLandmarks-$ID.tar

Package the Feature

Update nftConfig.ini

From the base directory (one above the working directory) run

Update nft creation scripts to match version (i.e. if you are distributing a new copy of a feature, then use B or higher)

This his also moves all the output files to the log directory

checkVar $ID $Res $logPrelink.sh nftConfig/highRes${ID}$Res.txt BIGMAP.IN #put $Res back in once week 2 has been deliveredwc BIGMAP.IN |tee -a notesgrep -f BIGMAP.IN MAPINFO.TXT | tee -a notesnft-publish.sh nftBigmap-$ID-$Vers.IN#We need something besides logP here. We are not going to publish after every resolution. How about this? JRWmv log/$ID* ../logrm BIGMAP.INecho 6 | nftBlockFinish.sh nft.$ID

Options For Creating the final Bigmap

Option 1 - vB

Use all maplets (i.e. Bob method)

bigmap < nftConfig/nftBigmap-$ID-B.INcp USED_MAPS.TXT BIGMAP.INrelink.sh nftFitsConfigB.ini nftFitsConfig.inigrep -f BIGMAP.IN MAPINFO.TXT | tee -a notescat featInfo | nft-publish.sh nftBigmap-$ID-B.INrm BIGMAP.INecho 6 | nftBlockFinish.sh nft.$ID

Option 2 - vB

Use only highest resolution

relink.sh nftFitsConfigB.ini nftFitsConfig.inirelink.sh nftConfig/highRes${ID}$Res.txt BIGMAP.IN #put $Res back in once week 2 has been deliveredwc BIGMAP.IN |tee -a notesgrep -f BIGMAP.IN MAPINFO.TXT | tee -a notesnft-publish.sh nftBigmap-$ID-B.INrm BIGMAP.INecho 6 | nftBlockFinish.sh nft.$ID

Option 3 - vC

Use requested GSD maplets, plus one up resolution and one down resolution

bigmap < nftConfig/nftBigmap-$ID-A.INgrep -Ff USED_MAPS.TXT MAPINFO.TXT | sort -k2,2 -r > tmp#Trim out resolutions you don't want, make sure you keep the "END"cut -c1-6 tmp > tmp2#check tmp2 to make sure it is what you wantcp tmp2 nftConfig/multiRes$ID.TXTrelink.sh nftFitsConfigC.ini nftFitsConfig.inirelink.sh nftConfig/multiRes${ID}.TXT BIGMAP.INwc BIGMAP.IN |tee -a notesgrep -f BIGMAP.IN MAPINFO.TXT | tee -a notesnft-publish.sh nftBigmap-$ID-C.INrm BIGMAP.INecho 6 | nftBlockFinish.sh nft.$ID

Option 4 - vA

Single maplet to size and resolution of requested feature

mkdir nft-$ID-Acp MAPFILES/${ID}X.MAP nft-$ID-A/cp nftFitsConfig.ini nft-$ID-A/cut -c1-12 LMKFILES/${ID}X.LMK > nft-$ID-A/USED_PICS.TXTcd nft-$ID-Avi USED_PICS.TXT

Trim the top and bottom of the LMK file (now called USED_PICS.TXT) so that it looks like a USED_PICTS.TXT

Grabbing New Landmark Tarballs

This is for Kristina

#if may have been pre existing 2cm go to spc03 bigmap < nftConfig/nftBigmap-$ID-A.INcp USED_MAPS.TXT ~/send/#go to original spc machinebigmap < nftConfig/nftBigmap-$ID-A.INgrep -Ff USED_MAPS.TXT MAPINFO.TXT > tmpcat tmp#rsync to original machines send directorygrep -Fvf ~/send/USED_MAPS.TXT tmp > tmp2vi tmp2#trim all non 2cm landmarkscut -c1-6 tmp2 > LMRKLIST1.TXT#add END

#If grabbing 1 or 0 resbigmap < nftConfig/nftBigmap-$ID-A.INgrep -Ff USED_MAPS.TXT MAPINFO.TXT > tmpecho END >> tmpvi tmp#trim all non 0 or 1 res landmarks cut -c 1-6 tmp > LMRKLIST1.TXTmore LMRKLIST1.TXT

#Run Publishecho y | cp LMRKLIST1.TXT nftConfig/combinedRes${ID}.txtecho -n "Running Export $ID with num of landmarks: " >> noteswc LMRKLIST1.TXT >> notesrm -r NEW_FILESmkdir -p NEW_FILESmkdir -p NEW_FILES/LMKFILESmkdir -p NEW_FILES/MAPFILES/usr/local/bin/EXPORTsh EXPORT.TXTmv NEW_FILES.tar nftConfig/nftLandmarks-${ID}.tar