Request JAG3D solution from command line ? (Software)

Micha ⌂, Bad Vilbel, Sonntag, 16.04.2017, 15:42 (vor 370 Tagen) @ Francis


Is there a way to update data and invoke adjustment solution from a command line script or external s/w ? Maybe a library we could use in background ?

The Class ProjectDatabase in package com.derletztekick.geodesy.openadjustment.sql provides an additional main-method, see below. To use this method via command line, you have to manipulate JAG3D's HSQL-database by your application. If you need a special/individual implementation, please get in contact with Transfer Centre Applied Geodesy.

kind regards

 public static void main(String args[]) {
  System.setProperty("com.github.fommil.netlib.BLAS",   "com.github.fommil.netlib.F2jBLAS");
  System.setProperty("com.github.fommil.netlib.LAPACK", "com.github.fommil.netlib.F2jLAPACK");
  System.setProperty("com.github.fommil.netlib.ARPACK", "com.github.fommil.netlib.F2jARPACK");
  if (args.length > 0) {
   DataBase db = new HSQLDB(args[0]);
   ProjectDatabase dataBase = new ProjectDatabase(db);
   NetworkAdjustment adjustment = dataBase.getNetworkAdjustment();
   int state = adjustment.estimateModel();
   if (state != NetworkAdjustment.ERROR_FREE_ESTIMATION) {
    System.err.println("ERROR IN ADJUSTMENT!!!");
   else {
    state = dataBase.saveResults();
    if (state != ProjectDatabase.ERROR_FREE) {
     System.err.println("STORAGE ERROR!!!");
    System.out.println("ADJUSTMENT DONE...");

kostenlose Scripte und Software nicht nur für Geodäten || Portal für Geodäten mit angeschlossenem Forum-Vermessung

gesamter Thread:

 RSS-Feed dieser Diskussion