Using Plugins

Cảnh báo

This tutorial is now obsolete. A new and updated version is available at Using Plugins (QGIS3)

Các plugin trong QGIS bổ sung các tính năng hữu ích cho phần mềm. Các plugin được viết bởi các nhà phát triển QGIS và những người dùng độc lập khác, những người muốn mở rộng chức năng cốt lõi của phần mềm. Các plugin này được tạo sẵn trong QGIS cho tất cả người dùng.

Tổng quan về nhiệm vụ

Trong hướng dẫn này, bạn sẽ học cách bật * Phần bổ trợ chính * cũng như tải xuống và cài đặt * Phần bổ sung bên ngoài *. Bạn cũng sẽ học cách xác định vị trí plugin từ menu QGIS sau khi chúng được cài đặt.

Các bước thực hiện

Core Plugins

Core plugins là một phần của bản cài QGIS tiêu chuẩn. Để sử dụng chúng, bạn chỉ cần kích hoạt chúng.

  1. Mở QGIS. Nhấp vào: menuelection: Plugins -> Manage and Install Plugins ... '. để mở hộp thoại: guildabel: `Plugin Manager.

../_images/1207.png
  1. Ngay cả khi đây là lần đầu tiên bạn sử dụng QGIS, bạn sẽ thấy rất nhiều plugin được liệt kê trong tab: guildabel: Installed. Điều này là do chúng là * Plugin cốt lõi * và đã được cài đặt trong quá trình cài đặt QGIS.

../_images/2175.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/3104.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/469.png

External Plugins

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. Mở QGIS. Nhấp vào: menuelection: Plugins -> Manage and Install Plugins ... '. để mở hộp thoại: guildabel: `Plugin Manager.

../_images/567.png
  1. Bấm vào thanh Get more. Tại đây bạn sẽ thấy một danh sách các công cụ 'plugin'.

../_images/664.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/763.png
  1. Once the plugin is downloaded and installed, you will see a confirmation dialog.

../_images/861.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/960.png

Experimental Plugins

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/1068.png
  1. You will see a new tab called New. The newly enabled experimental plugins will show up here.

Ghi chú

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/11107.png
  1. Let's install a plugin called TimeManager. Click on the plugin name and then Click Install.

../_images/1269.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/1366.png
  1. Bạn có thể bật/tắt 'enable/disable' bảng này từ View ‣ Panels ‣ Time Manager.

../_images/1463.png

If you want to report any issues with this tutorial, please comment below. (requires GitHub account)