Pluginsのソースを表示
提供: OSGeo.JP Wiki
←
Plugins
移動:
案内
、
検索
あなたには「このページの編集」を行う権限はありません。理由は以下の通りです:
この操作は、以下のグループに属する利用者のみが実行できます:
登録利用者
。
ページの編集を始める前にメールアドレスの確認をする必要があります。
個人設定
でメールアドレスを設定し、確認を行ってください。
このページのソースの閲覧やコピーができます:
== QGIS Plugins == <span id='sec:plugins'></span> QGIS has been designed with a plugin architecture. This allows new features/functions to be easily added to the application. Many of the features in QGIS are actually implemented as '''core''' or '''external''' plugins. <ul> <li>'''Core Plugins''' are maintained by the QGIS Development Team and are automatically part of every QGIS distribution. They are written in one of two languages: C++ or Python. More information about core plugins are provided in Section [[sec:core_plugins]]. <li>'''External Plugins''' are currently all written in Python. They are stored in external repositories and maintained by the individual authors. They can be added to QGIS using the {{Template:FileName|Plugin Installer}}. More information about external plugins are provided in Section [[sec:external_plugins]]. </ul> === Managing Plugins === <span id='sec:managing_plugins'></span> Managing plugins in general means loading or unloading them using the {{Template:FileName|Plugin Manager}}. External plugins first need to be installed using the {{Template:FileName|Plugin Installer}}. ==== Loading a QGIS Core Plugin ==== <span id='sec:load_core_plugin'></span> Loading a QGIS Core Plugin is done from the main menu {{Template:MainMenuOpt|Plugins}} > {{Template:DropMenuOptTwo|mActionShowPluginManager|Manage Plugins...}}. <table align='center'> <caption>'''図 40:''' Plugin Manager {{Template:Nix}}</caption> <tr><td><span id='fig:pluginmanager'></span> [[File:pluginmanager.png|529px]]</td></tr></table> The {{Template:FileName|Plugin Manager}} lists all the available plugins and their status (loaded or unloaded), including all core plugins and all external plugins that have been added using the {{Template:FileName|Plugin Installer}} (see Section [[sec:external_plugins]]). Those plugins that are already loaded have a check mark to the left of their name. Figure [[#fig:pluginmanager|40]] shows the Plugin Manager dialog. To enable a particular plugin, click on the checkbox to the left of the plugin name, and click {{Template:Button|OK}}. When you exit the application, a list of loaded plugins is retained, and the next time you run QGIS these plugins are automatically loaded. {{Template:Tip |num=41 |caption=Crashing Plugins |qgistip=If you find that QGIS crashes on startup, a plugin may be at fault. You can stop all plugins from loading by editing your stored settings file (see [[subsec:gui_options]] for location). Locate the plugins settings and change all the plugin values to false to prevent them from loading. {{Template:Nix|For example, to prevent the Delimited text plugin from loading, the entry in $HOME/.config/QuantumGIS/qgis.conf on Linux should look like this:{{Template:UserText|1=Add Delimited Text Layer=false}}.}} Do this for each plugin in the [Plugins] section. You can then start QGIS and add the plugins one at a time from the {{Template:FileName|Plugin Manager}} to determine which plugin is causing the problem. }} ==== Loading an external QGIS Plugin ==== <span id='sec:load_external_plugin'></span> There are two steps required to integrate external plugins into QGIS: <ol> <li>Download an external plugin from a repository using the {{Template:FileName|Plugin Installer}} (Section [[sec:python_plugin_installer]]). The new external plugin will be added to the list of available plugins in the {{Template:FileName|Plugin Manager}}. <li>Load the plugin using the {{Template:FileName|Plugin Manager}}. </ol> ==== Using the QGIS Python Plugin Installer ==== <span id='sec:python_plugin_installer'></span> <table align='center'> <caption>'''Figure xx:''' Installing external python plugins {{Template:Nix</caption> <tr><td>}caption} <span id='fig:plugininstaller'></span> [[File:plugininstaller.png|529px]]</td></tr></table> In order to download and install an external Python plugin, click the menu {{Template:MainMenuOpt|Plugins}} > {{Template:DropMenuOptTwo|plugin_installer|Fetch Python Plugins...}}. The {{Template:FileName|Plugin Installer}} window will appear (figure [[fig:plugininstaller]]) with the tab {{Template:Tab|Plugins}}, containing a list of all locally installed Python plugins, as well as plugins available in remote repositories. Each plugin can be either: <ul> <li>'''not installed''' - this means the plugin is available in the repository, but is not installed yet. In order to install it, select the plugin from the list and click the {{Template:Button|Install plugin}} button. <li>'''new''' - this means that the plugin is newly available in the repository. <li>'''installed''' - this indicates that the plugin is already installed. If it is also available in any repository the {{Template:Button|Reinstall plugin}} button will be enabled. If the available version is older than the installed version, the {{Template:Button|Downgrade plugin}} button will appear instead. <li>'''upgradeable''' - this means that the plugin is installed, but there is an updated version available. In this case, the {{Template:Button|Upgrade plugin}} button will be enabled. <li>'''invalid''' - this means that the plugin is installed, but is unavailable or broken. The reason will be explained in the plugin description field. </ul> ===== Plugins tab ===== To install a plugin, select it from the list and click the {{Template:Button|Install plugin}} button. The plugin is installed in its own directory. <ul> <li>{{Template:Nix|Linux and other unices}}:<br> ./share/qgis/python/plugins <br> /home/$USERNAME/.qgis/python/plugins <li>{{Template:OSX|Mac OS X}}:<br> ./Contents/MacOS/share/qgis/python/plugins <br> /Users/$USERNAME/.qgis/python/plugins <li>{{Template:Win|Windows}}:<br> C:\Program Files\QGIS\python\plugins <br> C:\Documents and Settings\$USERNAME\.qgis\python\plugins </ul> If the installation is successful, a confirmation message will appear telling you to go to {{Template:MainMenuOpt|Plugins}} > {{Template:DropMenuOptTwo|mActionShowPluginManager|Manage Plugins...}} to load the newly installed plugin. If the installation fails, the reason for the failure will be displayed in a warning dialog. Most often, errors are the result of connection problems and/or missing Python modules. In the former case you will likely need to wait before trying the install again, in the latter case, you should install the missing modules relevant to your operating system prior to using the plugin. {{Template:Nix|For Linux, most required modules should be available via a package manager}}. {{Template:Win|For install instructions in Windows visit the module home page}}. If you are using a proxy, you may need to configure it under {{Template:MainMenuOpt|Edit}} > {{Template:DropMenuOptTwo|mActionOptions|Options}} (Gnome, OSX) or {{Template:MainMenuOpt|Settings}} > {{Template:DropMenuOptTwo|mActionOptions|Options}} (KDE, Windows) on the {{Template:Tab|Proxy}} tab. The {{Template:Button|Uninstall plugin}} button is enabled only if the selected plugin is installed and is not a core plugin. Note that if you have installed an update to a core plugin, you can uninstall this update with the {{Template:Button|Uninstall plugin}} and revert to the version shipped with Quantum GIS. This default version however, cannot be uninstalled. ===== Repositories tab ===== The second tab {{Template:Tab|Repositories}}, contains a list of plugin repositories available for the {{Template:FileName|Plugin Installer}}. By default, only the QGIS Official Repository is enabled. You can add several user-contributed repositories, including the central QGIS Contributed Repository and other external repositories by clicking the {{Template:Button|Add 3rd party repositories}} button. The added repositories contain a large number of useful plugins which are not maintained by the QGIS Development Team. As such, we cannot take any responsibility for them. You can also manage the repository list manually, that is add, remove, and edit the entries. Temporarily disabling a particular repository is possible by clicking the {{Template:Button|Edit...}} button. ===== Options tab ===== The {{Template:Tab|Options}} tab is where you can configure the settings of the {{Template:FileName|Plugin Installer}}. The {{Template:CheckBox|Check for updates on startup}} checkbox tells QGIS to automatically look for plugin updates and news. By default, if this feature is enabled all repositories listed and enabled in the {{Template:Tab|Repositories}} tab are checked for updates each time the program is started. The frequency of update checking can be adjusted using the dropdown menu, and may be adjusted from once a day right up to once a month. If a new plugin or update is available for one of the installed plugins, a notification will appear in the Status Bar. If the checkbox is disabled, looking for updates and news is performed only when the {{Template:FileName|Plugin Installer}} is manually launched from the menu. Some internet connections will cause problems when attempting to automatically check for updates. In these cases, a ''Looking for new plugins...'' indicator will remain visible in the Status Bar during your entire QGIS session, and may cause a program crash when exiting. In this case please disable the checkbox. In addition, you may specify the type of plugins that are displayed by the {{Template:FileName|Plugin Installer}}. Under ''Allowed plugins'', you can specify whether you would like to: <ul> <li>Only show plugins from the official repository <li>Show all plugins except those marked as experimental, <li>or Show all plugins, even those marked as experimental. </ul> {{Template:Tip |num=xx |caption=Using experimental plugins |qgistip= Experimental plugins are generally unsuitable for production use. These plugins are in the early stages of development, and should be considered 'incomplete' or 'proof of concept' tools. The QGIS development team does not recommend installing these plugins unless you intend to use them for testing purposes. }} === Data Providers === Data Providers are "special" plugins that provides access to a data store. By default, QGIS supports PostGIS layers and disk-based data stores supported by the GDAL/OGR library (Appendix [[appdx_ogr]]). A Data Provider plugin extends the ability of QGIS to use other data sources. Data Provider plugins are registered automatically by QGIS at startup. They are not managed by the Plugin Manager but used behind the scenes when a data type is added as a layer in QGIS.
このページで使用されているテンプレート:
テンプレート:Button
(
ソースを閲覧
)
テンプレート:CheckBox
(
ソースを閲覧
)
テンプレート:DropMenuOptTwo
(
ソースを閲覧
)
テンプレート:FileName
(
ソースを閲覧
)
テンプレート:MainMenuOpt
(
ソースを閲覧
)
テンプレート:Nix
(
ソースを閲覧
)
テンプレート:OSX
(
ソースを閲覧
)
テンプレート:Tab
(
ソースを閲覧
)
テンプレート:Tip
(
ソースを閲覧
)
テンプレート:UserText
(
ソースを閲覧
)
テンプレート:Win
(
ソースを閲覧
)
Plugins
に戻る。
案内メニュー
表示
ページ
議論
ソースを表示
履歴
個人用ツール
アカウント作成
ログイン
案内
メインページ
最近の更新
おまかせ表示
ヘルプ
検索
ツール
リンク元
関連ページの更新状況
特別ページ
ページ情報