Commit 1ef91920 authored by Janet Barrett's avatar Janet Barrett
Browse files

handmos was modified so that it allows you to mosaic onto a pre-existing file. Fixes #751

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@5926 41f8697f-d340-4b68-9986-7bafba869bb8
parent 61ad9248
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
APPNAME = handmos

include $(ISISROOT)/make/isismake.tsts

commands:
	$(CP) $(INPUT)/tychogrid.cub $(OUTPUT);
	$(APPNAME) from=$(INPUT)/20kmgrid3.cub \
	  mosaic=$(OUTPUT)/tychogrid.cub \
	  priority=ontop \
	  outsample=1001 \
	  outline=1001 \
	  outband=1 \
	  create=no > /dev/null;
+0 −1
Original line number Diff line number Diff line
@@ -277,7 +277,6 @@ namespace Isis {
    if (m_trackingEnabled) {
      //Get the last band set aside for "Origin" 1 based
      iOriginBand = OutputCubes[0]->bandCount();
      m_onb--;
      iChanged = 0;

      // For mosaic creation, the input is copied onto mosaic by default
+2 −0
Original line number Diff line number Diff line
@@ -182,6 +182,8 @@ namespace Isis {
   *                           the placement criteria (priority=band). The only way to place
   *                           special or null pixels is to check those options in mapmos or
   *                           automos. Fixes #1620. Fixes #1623.
   *   @history 2014-07-23 Janet Barrett - Fixed the StartProcess method to allow the overlay of
   *                           an input file on a pre-existing output file. Fixed #751.
   */

  class ProcessMosaic : public Process {