` `

Interface de QGIS

When QGIS starts, you are presented with the GUI as shown in the figure (the numbers 1 through 5 in yellow circles are discussed below).

../../../_images/startup.png

Interface de QGIS avec les données d’exemple sur l’Alaska

Note

Le style des fenêtres peut apparaître différemment en fonction de votre système d’exploitation et de votre gestionnaire de fenêtres.

L’interface de QGIS est divisée en 5 parties:

  1. Barre de Menu

  2. Barres d’outils

  3. Panneaux

  4. Affichage de la carte

  5. Barre d’état

These five components of the QGIS interface are described in more detail in the following sections. Two more sections present keyboard shortcuts and context help.

Panneaux et barres d’outils

From the View menu (or kde Settings), you can switch on and off QGIS widgets (Panels ‣) or toolbars (Toolbars ‣). You can (de)activate any of them by right-clicking the menu bar or a toolbar and choose the item you want. Each panel or toolbar can be moved and placed wherever you feel comfortable within QGIS interface. The list can also be extended with the activation of Core or external plugins.

Barres d’outils

The toolbar provides access to most of the same functions as the menus, plus additional tools for interacting with the map. Each toolbar item has pop-up help available. Hold your mouse over the item and a short description of the tool’s purpose will be displayed.

Chaque barre d’outils peut être déplacée selon vos besoins. Vous pouvez les désactiver à partir du menu contextuel qui s’affiche d’un clic droit de la souris sur la barre d’outils.

../../../_images/toolbars1.png

Le menu Barres d’outils

Astuce

Restaurer des barres d’outils

Si vous avez accidentellement masqué une barre d’outils, vous pouvez la retrouver via le menu Vue ‣ Barres d’outils ‣ (ou kde Préférences ‣ Barres d’outils ‣). Si, pour une raison ou une autre, une barre d’outils (ou n’importe quel autre élément d’interface) disparaît complètement de l’interface, vous trouverez des conseils pour la retrouver dans Restaurer facilement l’IHM initiale de QGIS.

Panneaux

Besides toolbars, QGIS provides by default many panels to work with. Panels are special widgets that you can interact with (selecting options, checking boxes, filling values...) in order to perform a more complex task.

../../../_images/panels.png

Le menu Panneaux

Les panneaux disponibles par défaut dans QGIS sont listés ci-après:

Affichage de la carte

Encore appelé Canevas de carte, c’est la partie centrale de QGIS puisque les cartes y sont affichées ! Le contenu qui s’affiche dépend des couches de types raster et vecteur que vous avez choisies de charger.

When you add a layer (see e.g. Ouverture des données), QGIS automatically looks for its Coordinate Reference System (CRS) and zooms to its extent if you work in a blank QGIS project. The layer’s CRS is then applied to the project. If there are already layers in the project, and in the case the new layer has the same CRS as the project, its features falling in the current map canvas extent will be visualized. If the new layer is in a different CRS from the project’s, you must Enable on-the-fly CRS transformation from the Project ‣ Project Properties ‣ CRS (see Définir la projection à la volée (ALV)). The added layer should now be visible if data are available in the current view extent.

The map view can be panned, shifting the focus of the map display to another region, and it can be zoomed in and out. Various other operations can be performed on the map as described in the Barres d’outils description. The map view and the legend are tightly bound to each other — the maps in view reflect changes you make in the legend area.

Astuce

Zoomer sur la carte avec la molette de la souris

Vous pouvez utiliser la molette de la souris pour changer le niveau de zoom de la carte. Placez votre curseur dans la zone d’affichage de la carte et faites rouler la molette vers l’avant pour augmenter l’échelle, vers vous pour la réduire. La vue sera recentrée sur la position du curseur de la souris. Vous pouvez modifier le comportement de la molette de la souris en utilisant l’onglet Outils cartographiques dans le menu Préférences ‣ Options.

Astuce

Se déplacer sur la carte avec les flèches et la barre espace

You can use the arrow keys to pan the map. Place the mouse cursor inside the map area and click on the right arrow key to pan east, left arrow key to pan west, up arrow key to pan north and down arrow key to pan south. You can also pan the map using the space bar or the click on mouse wheel: just move the mouse while holding down space bar or click on mouse wheel.

Barre d’état

The status bar provides you with general information about the map view, and actions processed or available and offers you tools to manage the map view.

On the left side of the status bar, you can get a summary of actions you’ve done (such as selecting features in a layer, removing layer) or a long description of the tool you are hovering over (not available for all tools). On startup, the bar status also informs you about availability of new or upgradeable plugins (if checked in Plugin Manager settings).

In case of lengthy operations, such as gathering of statistics in raster layers or rendering several layers in map view, a progress bar is displayed in the status bar to show the current progress of the action.

The tracking Coordinate option shows the current position of the mouse, following it while moving across the map view. You can set the unit (and precision) to use in the project properties, General tab. Click on the small button at the left of the textbox to toggle between the Coordinate option and the extents Extents option that displays in map units, the coordinates of the current lower leftmost and upper rightmost points of the map view, as you pan and zoom in and out.

Next to the coordinate display you will find the Scale display. It shows the scale of the map view. If you zoom in or out, QGIS shows you the current scale. There is a scale selector, which allows you to choose among predefined and custom scales to assign to the map view.

On the right side of the scale display you can define a current magnification level for your map view. This allows to zoom in to a map without altering the map scale, making it easier to accurately tweak the positions of labels and symbols. The magnification level is expressed as a percentage. If the Magnifier has a level of 100%, then the current map is not magnified. Additionally, a default magnification value can be defined within Settings ‣ Options ‣ Rendering ‣ Rendering behaviour, which is very useful for high resolution screen to avoid too small symbols.

À droite de la loupe, vous pouvez définir un angle de rotation horaire en degrés à appliquer à la carte.

On the right side of the status bar, there is a small checkbox which can be used to temporarily prevent layers being rendered to the map view (see section Rendu).

To the right of the render functions, you find the projectionDisabled Current CRS: icon with the EPSG code of the current project CRS. Clicking on this lets you Enable ‘on the fly’ CRS transformation properties for the current project and apply another CRS to the map view.

Finally, the messageLog Messages button opens the Log Messages Panel which informs you on underlying process (QGIS startup, plugins loading, processing tools...)

Astuce

Calculer l’échelle correcte de la carte

When you start QGIS, the default CRS is WGS 84 (epsg 4326) and units are degrees. This means that QGIS will interpret any coordinate in your layer as specified in degrees. To get correct scale values, you can either manually change this setting, e.g. to meters, in the General tab under Project ‣ Project Properties, or you can use the projectionDisabled Current CRS: icon seen above. In the latter case, the units are set to what the project projection specifies (e.g., +units=us-ft).

Merci de prendre note que le choix du SCR au démarrage peut être configuré dans Préférences ‣ Options ‣ SCR.