Commit fe241ac7 authored by Kristin Berry's avatar Kristin Berry
Browse files

Added ability to reingest exported projected images, including the mapfile

parent b5c2c778
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -52,6 +52,17 @@ void IsisMain() {
    } 
    catch (IException &e) {
      translateLabels(xmlFileName, outputCube, transExportFile); 
      PvlGroup &dataDir = Preference::Preferences().findGroup("DataDirectory");
      QString missionDir = (QString) dataDir["Tgo"];
      FileName mapTransFile(missionDir + "/translations/tgoCassisMapping.trn");

      // Get the translation manager ready for translating the mapping label

      XmlToPvlTranslationManager labelXlater(xmlFileName, mapTransFile.expanded());

      // Pvl output label
      Pvl *outputLabel = outputCube->label();
      labelXlater.Auto(*(outputLabel));
    }

    FileName outputCubeFileName(ui.GetFileName("TO"));