Использование модулей расширения

Модули QGIS добавляют полезные функции в программу. Модули пишутся разработчиками QGIS и другими независимыми пользователями, которые хотят расширить базовую функциональность программы. Эти модули доступны в QGIS для всех пользователей.

Обзор задачи

In this tutorial, you will learn how to enable Core Plugins as well as download and install External Plugins. You will also learn how to locate the plugin from the QGIS menu once they are installed.

Методика

Модули ядра

Модули ядра уже являются частью стандартной установки QGIS. Для использования вам нужно лишь активировать их.

  1. Откройте QGIS. Нажмите на Plugins ‣ Manage and Install Plugins.... для того, чтобы открыть диалоговое окно Plugin Manager

../_images/1135.png
  1. Даже если вы используете QGIS в первый раз, вы увидите множество модулей в списке на вкладке Installed. Это потому, что они являются модулями ядра и были установлены в ходе инсталляции QGIS.

../_images/288.png
  1. Let’s enable one of the plugins. Check on the checkbox next to Spatial Query Plugin. This will enable the plugin and you will be able to use it. One thing to note is that plugins have the ability to insert menu items at various locations and create new panels and toolbars. Sometimes it is difficult to know how to find the newly enabled tools. Once clue is to look in the plugin discription. Here the description says Category: Vector. That indicates that the plugin would be found under the Vector menu once enabled. Click Close.
../_images/345.png
  1. Now that the Spatial Query Plugin is enabled, you can go to the Vector ‣ Spatial Query to use the functionality added by the plugin.
../_images/432.png

Внешние модули

External plugins are available in the QGIS Plugins Repository and need to be installed by the users before using them. An easy way to browse and install these plugins is by using the Plugin Manager tool.

  1. Откройте QGIS. Нажмите на Plugins ‣ Manage and Install Plugins.... для того, чтобы открыть диалоговое окно Plugin Manager

../_images/533.png
  1. Click on Get more tab. Here you will see a list of plugins listed.
../_images/631.png
  1. For this tutorial, let’s find and install a plugin called ‘QuickQKT’. As you start typing qui in the search box, you will see the search results below. Click on the QuickWKT. Next, click on Install plugin button to install it.
../_images/730.png
  1. Once the plugin is downloaded and installed, you will see a confirmation dialog.
../_images/829.png
  1. If you noticed, there was no mention of the plugin category in the description. That makes it hard to determine how to access the newly installed plugin. Most external plugins are installed under the Plugins menu itself in QGIS. Click on Plugins ‣ QuickWKT and you will see the newly installed plugin. Usually, external plugins also install a button in the Plugins toolbar also. You may also use that button to access the plugin.
../_images/927.png

Экспериментальные модули

Now you know how to install and find an External Plugin in QGIS. Let’s explore some advanced options. Sometimes you are looking for a specific plugin, but cannot find it in the Get more tab. It maybe because the plugin is marked Experimental. Here is how to install experimental plugins.

  1. Open Plugin Manager by Plugins ‣ Manage and Install Plugins.... Click on the Settings tab. You will see an option called Show also experimental plugins. Click the checkbox next to it, to enable it.
../_images/1028.png
  1. You will see a new tab called New. The newly enabled experimental plugins will show up here.

Примечание

The New tab will appear only temporarily once you enable the experimental plugins. The next time you open Plugin Manager, the experimental plugins will show alongside regular plugins in the Get more tab.

../_images/1136.png
  1. Let’s install a plugin called TimeManager. Click on the plugin name and then Click Install.
../_images/1229.png
  1. Now when you come back to the main QGIS window, you will see a new Panel at the bottom of the canvas. This panel is created by the TimeManager plugin. This is yet another way of plugins to add useful functionality to the user interface .
../_images/1326.png
  1. You can enable/disable this panel from View ‣ Panels ‣ Time Manager.
../_images/1425.png
comments powered by Disqus

This work is licensed under a Creative Commons Attribution 4.0 International License