2.1. Lesson: Обзор интерфейса¶
Мы изучим пользовательский интерфейс QGIS, чтобы вы ознакомились с меню, панелями инструментов, картой и списком слоёв.
Цель этого урока: Понять основы интерфейска QGIS.
2.1.1. Try Yourself: Основы¶
Элементы, обозначенные выше:
Список слоёв / Обозреватель
Панели инструментов
Карта
Строка состояния
Боковая панель инструментов
Locator bar
2.1.1.1. Список слоёв¶
В списке слоёв Вы можете в любое время просмотреть доступные слои.
Разворачивание свёрнутых элементов (нажатием на плюс рядом с ними) предоставит вам информацию он внешнем виде слоя.
Hovering over the layer will give you some basic information: layer name, type of geometry, coordinate reference system and the complete path of the location on your device.
Нажатие по слою правой кнопкой мыши откроет меню с множеством опций. Вы вскоре будете использовать некоторые из них, так что можете осмотреться!
Примечание
A vector layer is a dataset, usually of a specific kind of object, such as roads, trees, etc. A vector layer can consist of either points, lines or polygons.
2.1.1.2. The Browser Panel¶
The QGIS Browser is a panel in QGIS that lets you easily navigate in your database. You can have access to common vector files (e.g. ESRI Shapefile or MapInfo files), databases (e.g. PostGIS, Oracle, SpatiaLite, GeoPackage or MSSQL Spatial) and WMS/WFS connections. You can also view your GRASS data.
If you have saved a project, the Browser Panel will also give you quick access to all the layers stored in the same path of the project file under in the Project Home item.
Moreover, you can set one or more folder as Favorites: search under your path
and once you have found the folder, right click on it and click on Add as a
Favorite
. You should then be able to see your folder in the
Favorites item.
Совет
It can happen that the folders added to Favorite item have a really
long name: don’t worry right-click on the path and choose Rename Favorite...
to set another name.
2.1.1.3. Toolbars¶
Your most often used sets of tools can be turned into toolbars for basic access. For example, the File toolbar allows you to save, load, print, and start a new project. You can easily customize the interface to see only the tools you use most often, adding or removing toolbars as necessary via the
menu.Even if they are not visible in a toolbar, all of your tools will remain accessible via the menus. For example, if you remove the File toolbar (which contains the Save button), you can still save your map by clicking on the Project menu and then clicking on Save.
2.1.1.4. The Map Canvas¶
This is where the map itself is displayed and where layers are loaded. In the map canvas you can interact with the visible layers: zoom in/out, move the map, select features and many other operations that we will deeply see in the next sections.
2.1.1.5. The Status Bar¶
Shows you information about the current map. Also allows you to adjust the map scale, the map rotation and see the mouse cursor’s coordinates on the map.
2.1.1.6. The Side Toolbar¶
By default the Side toolbar contains the buttons to load the layer and all the buttons to create a new layer. But remember that you can move all the toolbars wherever it is more comfortable for you.
2.1.1.7. The Locator Bar¶
Within this bar you can access to almost all the objects of QGIS: layers, layer features, algorithms, spatial bookmarks, etc. Check all the different options in the Locator Settings section of the QGIS User Manual.
Совет
With the shortcut Ctrl+K you can easily access the bar.
2.1.2. Try Yourself 1¶
Try to identify the four elements listed above on your own screen, without referring to the diagram above. See if you can identify their names and functions. You will become more familiar with these elements as you use them in the coming days.
2.1.3. Try Yourself 2¶
Try to find each of these tools on your screen. What is their purpose?
Примечание
If any of these tools is not visible on the screen, try enabling some toolbars that are currently hidden. Also keep in mind that if there isn’t enough space on the screen, a toolbar may be shortened by hiding some of its tools. You can see the hidden tools by clicking on the double right arrow button in any such collapsed toolbar. You can see a tooltip with the name of any tool by holding your mouse over the tool for a while.
2.1.4. What’s Next?¶
Now that you are familiar with the basics of the QGIS interface, in the next lesson we will see how to load some common data types.