28.1. QGIS 플러그인

QGIS는 플러그인 아키텍처로 설계됐습니다. 즉 응용 프로그램에 새로운 여러 기능 및 함수들을 쉽게 추가할 수 있다는 의미입니다. QGIS에서 일부 기능들은 실제로 플러그인으로 실행되고 있습니다.

28.1.1. 핵심 및 외부 플러그인

QGIS 플러그인은 핵심 플러그인 또는 외부 플러그인 둘 중 하나로 실행됩니다.

핵심 플러그인 은 QGIS 개발팀이 관리하며, 모든 QGIS 배포판에 자동적으로 포함됩니다. 핵심 플러그인은 C++ 또는 파이썬 두 언어 가운데 하나로 작성됩니다.

Most of External Plugins are currently written in Python. They are stored either in the ‘Official’ QGIS Repository at https://plugins.qgis.org/plugins/ or in external repositories and are maintained by the individual authors. Detailed documentation about the usage, minimum QGIS version, home page, authors, and other important information are provided for the plugins in the Official repository. For other external repositories, documentation might be available with the external plugins themselves. External plugins documentation is not included in this manual.

플러그인을 설치하거나 활성화하려면, Plugins 메뉴에서 showPluginManager Manage and install plugins… 항목을 클릭해서 플러그인 관리자 대화창을 여십시오. 외부 파이썬 플러그인은 활성화된 사용자 프로파일 경로의 python/plugins 폴더 아래 설치됩니다.

Settings ► Options ► System 메뉴를 통해 사용자 지정 C++ 플러그인 라이브러리를 가리키는 경로를 추가할 수 있습니다.

28.1.2. 플러그인 대화창

28.1.2.1. 설정 탭

At the bottom of the left panel, the transformSettings Settings tab is the main place you can configure which plugins can be displayed in your application. You can use the following options:

  • checkbox Check for Updates on Startup. Whenever an installed plugin has update available, QGIS will inform you Every Time QGIS starts, Once a Day, Every 3 Days, Every Week, Every 2 Weeks or Every month.

  • checkbox Show also Experimental Plugins. QGIS will show you plugins in early stages of development, which are generally unsuitable for production use. For these plugins, you can install either the stable or the experimental version, and at any moment switch from one to the other.

  • checkbox Show also Deprecated Plugins. These plugins are usually unmaintained because they have replacement functions in QGIS, a lack of maintainers, they rely on functions that are no longer available in QGIS… They are generally unsuitable for production use and appear grayed in the plugins list.

By default, in the Plugin Repositories section, QGIS provides you with its official plugin repository with the URL https://plugins.qgis.org/plugins/plugins.xml?qgis=version (where <version> represents the exact QGIS version you are running). To add external author repositories, click symbologyAdd Add… and fill in the Repository Details form with a name and the URL. The URL can be of http:// or file:// protocol type.

기본 QGIS 저장소는 공개 저장소로 접근하는 데 어떤 인증도 필요하지 않습니다. 하지만 사용자가 자신의 플러그인 저장소를 열어서 인증을 (기본 인증, PKI 등을) 요구할 수는 있습니다. 인증 장에서 QGIS가 지원하는 인증 방법에 대한 자세한 정보를 얻을 수 있습니다.

If you do not want one or more of the added repositories, they can be disabled from the Settings tab via the symbologyEdit Edit… button, or completely removed with the symbologyRemove Delete button.

../../../_images/plugins_settings.png

그림 28.1 transformSettings Settings

28.1.2.2. Browsing the plugins

The tabs

The upper tabs in the Plugins dialog provide you with lists of plugins based on their install, creation or update status. Depending on the plugins settings, available tabs can be:

  • showPluginManager All: shows all the available plugins in the enabled repositories

  • pluginInstalled Installed: shows both the plugins you installed and the core plugins that are installed by default and you can not uninstall

  • plugin Not installed: shows uninstalled or not yet installed plugins in the enabled repositories

  • plugin-new New: shows plugins released since the last Check for Updates on Startup

  • plugin-upgrade Upgradeable: shows installed plugins that have published a more recent version in the repository

  • pluginIncompatible Invalid: shows all installed plugins that are currently broken for any reason (missing dependency, errors while loading, incompatible functions with QGIS version…)

At the top of the tabs, a Search function helps you find any plugin using metadata information (author, name, description, tag,…).

../../../_images/plugins_all.png

그림 28.2 Searching a plugin from the showPluginManager All tab

The Plugins

Select a plugin and you will have some metadata displayed in the right panel:

  • information on whether the plugin is experimental or has an experimental version available (if Show also Experimental Plugins is checked)

  • summary and description

  • 평점 (사용자가 선호하는 플러그인을 평가할 수 있습니다!)

  • 태그

  • 홈페이지, 트래커 및 코드 저장소를 가리키는 유용한 몇몇 링크

  • 작성자(들)

  • version(s) available with link to download page in the repository, or path to local folder for installed plugins

The Plugin Manager dialog allows you to interact with the latest version of the plugins. When enabled, the experimental version can be shown only if it is more recent than the latest stable version. Depending on the active tab, whether the selected plugin is installed, you will be given some of the following options:

  • Install: installs the latest stable version of the selected plugin

  • Install Experimental Plugin: installs the experimental version of the selected plugin

  • Reinstall Plugin: installs the same stable version of the plugin e.g. after it has failed to load

  • Reinstall Experimental Plugin: installs the same stable version of the plugin e.g. after it has failed to load

  • Upgrade Plugin: upgrades selected plugin to its latest stable version

  • Upgrade Experimental Plugin: upgrades selected plugin to its experimental version

  • Upgrade All: upgrades all installed plugins to their more recent stable or experimental version (depending on whether their previously installed version was stable or experimental).

  • Downgrade Plugin: moves from the experimental version of the plugin to its previous stable version

  • Downgrade Experimental Plugin: moves from an experimental version of the plugin to its latest published experimental version. This may occur when playing with a not yet published version.

  • Uninstall Plugin: removes the installed plugin from the user profile

An installed plugin displays a checkbox checkbox on its left. Uncheck it to temporarily deactivate the plugin.

Right-click on a plugin in the list and you will be able to sort the plugins list by various metadata. The new order applies to all the tabs. Sort options are:

  • Sort by Name

  • Sort by Downloads

  • Sort by Vote

  • Sort by Status

  • Sort by Date Created

  • Sort by Date Updated

28.1.2.3. ZIP 탭에서 설치하기

The installPluginFromZip Install from ZIP tab provides a file selector widget to import plugins in a zipped format, e.g. plugins downloaded directly from their repository. Encrypted files are supported.

../../../_images/plugins_install_zip.png

그림 28.3 installPluginFromZip Install from zip