#  This macro snaps edge verticies of a line map to a straigt sided map frame.

  # first, change the display to raster only.
graphics
view map

  # first, create a set of single branch nodes (to be snapped).
crit_clear
crit_type  4
crit_exec  21  nodes with exactly one branch

  # now, snap the last set to the straight map frame & the registered corners.
level_snap  21  33  33  2.500000  0  1

  # finally, display the map vectors & show the user what they have by
  # displaying the raster, the vectors, and highlighting the corners.
graphics +n0 +h34
