Map View - ObjectVision/GeoDMS GitHub Wiki

User Guide GeoDMS GUI - map view

introduction

The map view shows data items that have a geographic location. Each map view has a projection, which indicates a coordinate system. For instance, Dutch applications usually use the "Rijks Driehoek (RD)" coordinate system. EPSG codes identify the most common coordinate systems. The title of each map view shows the EPSG code, if it is configured as [SpatialReference]] [[property]] for the base unit of the [coordinate system.

The title of a map view first names the view itself, then the coordinate system and the active layer: MapView with EPSG:28992 - Active layer: buurt (#buurt = 14,262). The base unit may declare neither a [SpatialReference]] nor a [Label property to stand in for it. In that case the title reads MapView No SpatialReference, followed by the active layer as usual.

A map view consists of layers. Each layer is related to one or more data items. You can combine all geographically related data items that use the same projection in the same map view window. You can also open them in several separate map views. There is no limit to the number of open map views.

Double click on an element to open a ValueInfo window.

activate map view

To view data in a map view, first activate a tree item that can be geographically related. A map icon indicates such an item.

The actions in the following table create a new map, or add a layer to an existing map.

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

Besides the tools in the toolbar, you can change the visible part of the map (the region of interest) 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 go 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. For instance, the treeview expands and collapses an item with + and -.

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

A click in a map view always moves the keyboard focus to that view.

tooltip

When the mouse pointer rests on a layer, a tooltip describes what is under it. For a grid layer the tooltip shows:

  • the grid location, as [column, row];
  • the index of that cell in the grid domain;
  • the row that the cell occupies in the data, if the domain is tiled and that row differs from the index;
  • the value of the active attribute there.

GridLayer [15, 19], Index: 15,215, DataRow: 3,815, Value: 34

A tooltip only appears for a layer that the pointer is actually on. So a position outside the extent of every layer shows no tooltip at all.

A position can be inside a grid layer but on no cell of it. Then the tooltip reports the grid location and stops, with not in any tile instead of the data row and the value:

GridLayer [382, 60], Index: 48,382, not in any tile

This is only possible for a domain tiled with the irregular form of TiledUnit. Its tiles do not have to cover the source range without gaps. For instance, a TiledUnit over a sparse study area, with one tile per continent, leaves the sea uncovered.

topics