#  demo of vertical integration using a manuscript that was done that includes
#  some lines that need to be corrected.

acquire ex2
pause 8  This map is assembled and ready to export except for one thing...
pause 5  You guessed it, vertical integration.
import  moss  ex2_tmplt.mos  80  2  1
pause 10 The highlighted line is our template.
pause 10 We can make it part of the map or just use it for vertical integration.
view full 806 1337
pause  5 We can see that generally the lines are almost in the same location.
view zoom 786 1305
pause 10 And that they follow the same direction but they aren't the same!
view zoom 833 1092
pause 8  Even small differences like this can cause problems.
view zoom 820 322
pause 12 You can be selective and bring in only those lines needed. 
graphics +n0
pause 12 The vectors displayed of the map prior to snapping to the template.
level_snap  0  80  80  3.500000  0  3
pause 10 Any vector within the specified parameters are snapped.
pause 8  We used 3.5 pixels for this demonstration.
graphics +h0
pause 8 We can change how the vectors are displayed to help verify the process.
view last 821 334
view map 0 0
pause 6 This overall view might bring up the question...
pause 7 How much does this process change the data?
pause 6  Let's do a reg_check to see how much 3.5 pixels is worth.
#reg_check
  raw_print -d register 0 6
