ValueInfo - ObjectVision/GeoDMS GitHub Wiki

User Guide GeoDMS GUI - value info

tracing the calculation path


The value info dialog traces how individual cells in a Table View or elements in a Map View are calculated.

The example shows the value info dialog for a cell in the table. The cell shows parameter c with the value 12. This value is calculated by multiplying two other parameters: A with a value of 3 and B with a value of 4. The value info dialog shows these parameters and their values. For attributes, it would also show the relevant values needed to calculate the requested value.

Suppose the value 4 of parameter B is also the result of a calculation. Click on the value 4 to get the value info for this value. Step by step, you can trace the whole calculation path, until you reach the final sources (data read from source files). Backward and Forward buttons help you to trace backward and forward in the calculation path.

why a value is null

The dialog is most often opened for a null value. It answers this question in two ways.

Usually the trace answers it by itself. The dialog resolves the explained row into each argument. It follows a resulting index numbers on into the domain unit it points at. For lookup(relation, values) you therefore see the relation value at the explained row. When that value is defined, you also see the row of values it selects. So a null in either one is visible where it arises.

A trace cannot reach the absence of a row: no argument row can be shown to explain why nothing matched. In that case the function states the reason next to the value itself:

function reported for a null result
invert, invertAll no row of the inverted attribute refers to this row
rlookup, rlookup_with_null no row of the searched attribute has this value

The reason is left out when the trace already shows the cause. For rlookup that is a null foreign_key value, which the dialog displays as a null anyway.

outside the GUI

GeoDmsRun.exe <config> @valueinfo <row> <item> writes the same page to stdout. Use it to inspect a value from a script or a log. See User Guide GeoDMS Run.

⚠️ **GitHub.com Fallback** ⚠️