Main menu - ObjectVision/GeoDMS GitHub Wiki

User Guide GeoDMS GUI - main menu

Introduction

The main menu is used for generic functions, such as opening a configuration or tiling the viewer windows. It is also used to activate viewers for active tree items. This page briefly describes all the menu options.

File

  • Open Configuration (Ctrl-O): Opens a file dialog to select a new configuration. The current configuration is closed.
  • Reopen current Configuration (Alt-R): Reopens the current configuration with the same items expanded.
  • Reopen last Configuration (Alt-R): when no configuration is loaded, the same menu option and shortcut open the configuration that was open last. This is the default state in which the GeoDMS GUI starts. The configuration opened is the first entry of the Recent configurations list below. The option is disabled when that list is empty. See Desktop components, section starting the application.
  • Quit: Exits the application.
  • Recent configurations: The recently opened configurations are shown as separate menu items. Select a configuration with the mouse, or by pressing its number on the keyboard. The number of configurations in this list is not limited. A right mouse click opens a pop-up menu with the following two options:
    • pin or unpin: a pinned configuration stays at the top of the list, in a block of its own above the other recent configurations, and is marked with an icon. The pins are kept for the next session.
    • remove: removes the configuration from the Recent configurations menu options.

Edit

  • Open in Editor: Opens the current item in the Configuration File Editor as configured in the Settings > Local machine options dialog, section Configuration File Editor. This option is also available from the pop-up menu of the TreeView.

View

The icons in this menu, in the Window menu below and on the title bar of every view window come from the same font as the TreeView icons. So you can recognise a view and the item it shows as the same thing. But the icons say different things. A tree icon says what an item is. A menu icon says which view the entry opens. Each entry is named after the view it opens, such as Default View, Table View, Map View or Bar Chart.

The TreeView offers the same entries in its pop-up menu. There they act on the tree item that you right-click.

  • Default View: Activates the default viewer for the active data item (the option is enabled for an item that can be shown in a table or a map: a data item, or a container with data items as direct subitems; it is disabled in a template).
    • For all data that can be visualized in a map, the default viewer is the map view. For all other data items, the default viewer is the Table view.
    • The entry carries the icon of the viewer that it opens on the active item. So it shows the same icon as the Map View or the Table View entry below it.
    • For data items and containers, the icon in the TreeView also tells which of the two it will be. That icon says what an item is, not which viewer opens on it. So the icon of a unit does not indicate a viewer.
  • Table View: Activates the Table View for the active data item. The option is enabled if the tree item can be visualized in a table.
  • Map View: Activates the Map View for the active data item. The option is enabled if the tree item can be visualized in a map.
  • Statistics: Activates a window with general statistics for the active data item. The option is enabled for data items. The results in the Statistics view can differ slightly from calculated aggregated values. The Statistics view calculates all present values in a float64 format. If an aggregation is performed on a float32 data item, the results are rounded off to a float32 format after the calculations.

Each chart entry carries an icon of its own, and so does the window it opens. The two bar icons differ in the same way as the two charts: the bins of a histogram touch, while the bars of a bar chart stand apart.

  • Histogram Chart: Activates a chart with a histogram of the (classified) values of the active data item.
  • Scatter Chart: Activates a chart that plots the values of the active data item against their row number, or against the X axis that their domain names (see below).
  • Line Chart: Activates a chart that connects the values of the active data item, in row order, with a line.
  • Bar Chart: Activates a chart that draws the values of the active data item as vertical bars.
  • Pie Chart: Activates a chart that draws every row of the active data item as a slice of its total. See the section the Pie Chart below.

The title of a chart window names the kind of chart it shows: Histogram of x, Scatterplot of x, Line Chart of x, Bar Chart of x, Pie Chart of x or Donut Chart of x. The title follows the chart, not the menu entry that opened it. So when you switch the drawing with Show chart as ... in the pop-up menu of the layer control, the window gets a new title as well.

  • Calculation times: Activates a window with the calculation times and memory usage of the last task that took more than 1 second to complete. This option is enabled if such tasks are available.
  • List of loaded Configuration Files: Activates a window with the currently loaded configuration files, including their read date & time.
  • Toggle component: Toggles the component on or off.

the Pie Chart

The total is the sum of the values. Each slice is sized by its share. The slices are drawn clockwise from twelve o'clock, in row order, with the percentage inside when there is room.

The legend on the right lists every row with its colour, its name, its value and its percentage. The name is the label attribute configured as subitem of the domain unit (see Domain unit example), or the row number when there is none.

Right-click the layer in the legend and choose Show chart as ... Donut to draw the slices as a ring, with the total in its hole. The window title follows the choice.

A null value is not a part, and a negative value cannot be part of a total. Neither is drawn or counted, and the event log says how many values were left out. A boolean attribute counts every true as one.

Selecting slices works as in the other charts, with the selection tools of the toolbar. A selection made in a Table View or Map View of the same domain colours the slices here. The chart is enabled for the same items as the other four charts: a data item with numeric or boolean values.

labels along the horizontal axis of a chart

The horizontal axis of a Scatter, Line or Bar Chart is labelled with the names of the rows. These names come from the label attribute configured as subitem of the domain unit (see Domain unit example). It is the same attribute that the Table View shows after the index number, and that the Pie Chart lists in its legend. An attribute named LabelText is read as well. Nothing has to be configured beyond that subitem.

The axis of a domain without such a subitem shows the index numbers of the rows. So does the axis of a domain of more than 4096 rows, which cannot show a label per row anyway. If a label fails to calculate, you lose the names, not the plot.

Each name is centred under the bar, the point or the category it belongs to. The outermost name is kept inside the band, so that it is not cut off at the edge. Therefore the first and the last name can sit slightly off centre.

Every row keeps its tick mark. But a name that would overprint the one before it is left out, so a chart over many rows shows only part of the names. Which names fit depends on the width of the window. Widen the window, or zoom in on part of the axis, to bring more of them back.

The names appear on the default axis, the one that plots the values against the row number. When you choose an attribute in Use as X axis ... in the pop-up menu of the layer control, it replaces them:

  • a numeric attribute gives a numeric axis;
  • a non-numeric attribute, a string or a relation, puts its distinct values side by side in order of first appearance, and labels those positions with the values themselves.

The vertical axis is numeric in every chart. So is the horizontal axis of a Histogram Chart, which plots class boundaries, not rows. A numeric axis writes its tick values with the thousand separator when Show thousand separator is activated in Settings > GUI options.

the X axis that a domain names

A domain unit can name the X axis of its charts: this is the attribute of the domain with DialogType XAxis. A Scatter, Line or Bar Chart of another attribute of that domain then opens with that attribute on the horizontal axis. This works as if it had been chosen in Use as X axis ..., which shows it checked. Choose Row number (default) there to go back to the row numbers. For example, with

unit<uint32> Option: nrofrows = 3
{
   attribute<float32> Price      : [2.5, 4.0, 7.5];
   attribute<float32> TravelTime : [55, 40, 30], DialogType = "XAxis";
   attribute<string>  Label      : ['bus', 'train', 'car'];
}

the Scatter Chart of Option/Price plots price against travel time.

A domain unit that refers to another one, unit<uint32> D := Option, takes the X axis of Option, just as it takes its label. The chart of the XAxis attribute itself plots against the row number, and so does a chart over a domain without an XAxis attribute. The X axis is taken when the chart opens, or when an attribute is dropped onto a chart window. Use Use as X axis ... to change it afterwards.

Tools

  • Code analysis: four options to find out if the configured item is used in calculating results. This option is also available from the pop-up menu of the TreeView.
    • set source: set the item as source item to be analysed
    • set target: set the item as target item for the calculation process
    • add target: add the item as target item for the calculation process
    • clear target: clear the item as target item for the calculation process
  • Eventlog filter: Activates the filter to select the Eventlog messages.
  • Open the root configuration file: Opens the root item in the Configuration File Editor as configured in the Settings > Local machine options dialog, section Configuration File Editor. This option is available here, because the root item cannot be activated in the TreeView.
  • Expand all items in the treeview: Expands a full configuration in the TreeView (this can take a long time). The option is mainly useful for debugging.

Settings

Window

  • Tile Windows: Tiles the currently opened data viewers. The tab presentation changes to the standard Windows visualization. The viewers fully use the area for the primary data views.
  • Cascade: Cascades the currently opened data viewers. The tab presentation changes to the standard Windows visualization.
  • Close: Closes the active view.
  • Close All: Closes all currently opened data views.
  • Close All But This: Closes all opened data viewers except the currently active data view.
  • Views: All opened data views are shown as separate menu items, each with the icon of its kind of view. The active view is marked with a check mark. You can select each view from this list.

Help

  • About GeoDms: Opens the About GeoDms box with information on the GeoDMS version and the components used.
  • About Qt: Opens the About Qt box with information on the Qt version used to develop the GUI.
  • Wiki: Opens the Wiki page of the GeoDms with documentation on how to use the GeoDMS.
⚠️ **GitHub.com Fallback** ⚠️