Ignore:
Timestamp:
2020-02-14T20:41:20+13:00 (4 years ago)
Author:
ak19
Message:
  1. Bugfix: oversight, should return uri encoded URL for mapData, forgot to return modified string. Even with this correction, getting firefox screenshot of the full geojson still doesn't work with either the complex geojson or simple polygon shape, from command line or program.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/maori-lang-detection/src/org/greenstone/atea/SummaryTool.java

    r33924 r33925  
    439439            SafeProcess p = new SafeProcess(cmdArgs);
    440440            int retVal = p.runProcess();
    441             logger.info("Json Validation tool returned with value: " + retVal);
    442             logger.info("   std out: " + p.getStdOutput());
    443             logger.info("   std err: " + p.getStdError());
     441            logger.info("\nJson validation tool returned with value: " + retVal);
     442            if(retVal == 0) {
     443            logger.info("Valid geo json.");
     444            } else {
     445            logger.error("   std out: " + p.getStdOutput());
     446            logger.error("   std err: " + p.getStdError());
     447            logger.error("INVALID geo json generated. Not attempting screenshot of map.");
     448            continue;
     449            }
    444450
    445451           
Note: See TracChangeset for help on using the changeset viewer.