Map View - ObjectVision/GeoDMS GitHub Wiki

User Guide GeoDMS GUI - map view

introduction

The map view presents data items that can be geographically located. Each map view has a projection, indicating a coordinate system. For instance in Dutch applications usually the "Rijks Driehoek (RD)" coordinate system is used. EPSG codes are used as identifiers for the most common coordinate systems. The EPSG code is shown in the title of each map view, if configured as [SpatialReference]] [[property]] for the base unit of the [coordinate system.

A map view consists of layers, each layer is related to one or more data items. All geographically related data items using the same projection can be combined in the same map view window. They can also be opened in multiple separate map views. The number of opened map views is not limited.

By double clicking on an element, a ValueInfo window appears.

activate map view

To view data in a map view, first activate a tree item that can be geographically related (indicated with a map icon ).

A new map can be created or a layer can be added to an existing map by activating one of the following actions listed in the table.

action no active map view active map view
double click on active item new map window added to active map view with same coordinate system
main/pop-up menu option default view new map window added to active map view with same coordinate system
main/pop-up menu option map view new map window new map window
Ctrl-M on active item new map window new map window
drag and drop to view new map window added to active map view with same coordinate system

navigate in the map view

Next to the tools in the toolbar, the visible part of the map (the region of interest) can be changed with the mouse and with the keyboard:

action effect
mouse wheel zoom in/out, keeping the location under the mouse pointer at the same position
+ and - zoom in/out around the center of the map view. Both the keys of the numeric keypad and the +/- keys of the main keyboard can be used
arrow keys pan the map one step to the left, right, up or down
Ctrl-L zoom to the extent of all layers
Ctrl-Y zoom to the extent of the active layer
Ctrl-F zoom to the extent of the selected elements
Ctrl-0 copy the current location and zoomlevel to the clipboard
Ctrl-1, Ctrl-2, Ctrl-3 go to the location, the zoomlevel, or both, as stored in the clipboard. Add Shift to apply this to all opened map views

These keyboard shortcuts are sent to the desktop component that has the keyboard focus. Click in the map view to give it the focus; other components use the same keys for their own purposes, the treeview for instance expands and collapses an item with + and -.

Ctrl-Shift-Left and Ctrl-Shift-Right do not move the map but change the width of the legend column, in steps of 10 pixels; see Map view Legend.

Since GeoDMS 20.15.1 a click in a map view always moves the keyboard focus to that view. In the versions 20.0.0 up to and including 20.15.0 the focus could remain on the component that was used before — usually the treeview, after activating another item there — so the keyboard shortcuts silently stopped working, while the mouse wheel kept zooming. This was most noticeable in a remote desktop session, in which the mouse wheel is often not forwarded to the application.

topics