User Guide

From ObjectVision

(Difference between revisions)
Jump to: navigation, search
Line 21: Line 21:
The [GeoDMS] Run is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line. The following parameters can/need to be specified:
The [GeoDMS] Run is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line. The following parameters can/need to be specified:
-
* (Optional) /Llogfilename (since version 5.55)
+
* (Optional) ''/Llogfilename'' (since version 5.55)
-
* (Required) ConfigFileName
+
* (Required) ''ConfigFileName''
-
* zero or more TreeItem names to be calculated (space seperated). Multiple item names can be specified and their calculated data will be committed to the external storages if such storages were configured.
+
* zero or more TreeItem names (space separated) to be calculated. Multiple item names can be specified, calculated results will be saved in storage's were configured.
===Examples===
===Examples===
Line 30: Line 30:
  3: "C:\Program Files\ObjectVision\GeoDms555\GeoDmsRun.exe" "/LC:\tmp\log.txt" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages
  3: "C:\Program Files\ObjectVision\GeoDms555\GeoDmsRun.exe" "/LC:\tmp\log.txt" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages
-
The first example updates the item: Results/pages in the webgen configuration.
+
The first example updates the item: ''Results/pages'' in the webgen configuration.
-
The second example updates two items, Arithmetics/plus/test_attr and Arithmetics/sub/test_attr, both in the operator.dms configuration.  
+
The second example updates two items: ''Arithmetics/plus/test_attr'' and ''Arithmetics/sub/test_attr'', both in the operator.dms configuration.  
-
The third example works loke the first example with logging saved to the file C:\tmp\log.txt.
+
The third example is similar to the first example with logging saved to the file C:\tmp\log.txt.
The quotes in both examples are needed for the file names, as spaces may occur in these names. In the tree item names quotes are not needed, as spaces are not allowed in these names.  
The quotes in both examples are needed for the file names, as spaces may occur in these names. In the tree item names quotes are not needed, as spaces are not allowed in these names.  
-
Note that: The value for %localDataDir% is read from the registry key Software\\ObjectVision\\DMS\\LocalDataDir (default: C:\LocalData) which can be changed in the Tools->Options dialog from the GeoDmdGUI.  
+
Note that: The value for [[LocalDataDir]] is read from the registry key Software\\ObjectVision\\DMS\\LocalDataDir (default: C:\LocalData) which can be changed in the Tools->Options dialog from the [[GeoDMS]]GUI.  
-
%localDataProjDir% is defined as %localDir%/%projName% if not overridden in the config.ini, key configDir.
+
%localDataProjDir% is usually defined as [[LocalDataDir]]/%projName%.
-
The [GeoDms]GUI settings about logging as saved in the registry is ignored, use the /L option to enable logging.
+
The [GeoDMS]GUI settings about logging as saved in the registry is ignored for the GeoDMSRun.exe, use the /L option to enable logging.

Revision as of 11:17, 18 November 2019

User's Guides are available in assisting users how to work with the GeoDMS GUI and GeoDMSRun for available projects.

In the section How To Model information van be found on editing a model configuration or setting up a new project.

GeoDMS GUI

This GUI contains a set of primary data viewers for maps, tables and graphs. Classifications and visualisation styles can partly be edited, but will not be stored persistently. It also contains viewers for descriptive/meta information and the model logic.

User Guides of the GeoDMS GUI (pdf format) are available for the multiple versions. They can also be used for intermediate versions, as the changes to the GUI per versions are usually limited. If substantial changes are made to the GUI, a new version of the User Guide will be made available.

GeoDMS Run

The [GeoDMS] Run is used to update tree items from a command line or batch file. To run the GeoDMSRun.exe, activate the Command Prompt Window. The GeoDMSRun.exe can then be activated from the command line. The following parameters can/need to be specified:

  • (Optional) /Llogfilename (since version 5.55)
  • (Required) ConfigFileName
  • zero or more TreeItem names (space separated) to be calculated. Multiple item names can be specified, calculated results will be saved in storage's were configured.

Examples

1: "C:\Program Files\ObjectVision\GeoDms552\GeoDmsRun.exe" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages             
2: "C:\Program Files\ObjectVision\GeoDms552\GeoDmsRun.exe" "C:\svn\GeoDMS\dev\tst\Operator\cfg\operator.dms" /Arithmetics/plus/test_attr /Arithmetics/sub/test_attr
3: "C:\Program Files\ObjectVision\GeoDms555\GeoDmsRun.exe" "/LC:\tmp\log.txt" "C:\svn\GeoDMS\dev\webgen\cfg\dms.dms" /Results/pages

The first example updates the item: Results/pages in the webgen configuration.

The second example updates two items: Arithmetics/plus/test_attr and Arithmetics/sub/test_attr, both in the operator.dms configuration.

The third example is similar to the first example with logging saved to the file C:\tmp\log.txt.

The quotes in both examples are needed for the file names, as spaces may occur in these names. In the tree item names quotes are not needed, as spaces are not allowed in these names. Note that: The value for LocalDataDir is read from the registry key Software\\ObjectVision\\DMS\\LocalDataDir (default: C:\LocalData) which can be changed in the Tools->Options dialog from the GeoDMSGUI. %localDataProjDir% is usually defined as LocalDataDir/%projName%.

The [GeoDMS]GUI settings about logging as saved in the registry is ignored for the GeoDMSRun.exe, use the /L option to enable logging.

Personal tools