Skip to content
Mie Winstrup edited this page Apr 20, 2016 · 17 revisions

Welcome to the qgis-metadatafunctionality wiki!

Purpose of the plugin:

A QGIS plugin to ease handling of metadatainformation for new and existing tables.

How does it work?

Adding metadata to a new file:

The dialogbox which allows entering metadatainformation is automatically launched when a new file is added to a database or created in a database with DB Manager.

Adding metadata to an existing file: Metadata information to existing tables can be added with the MetaMan-tool.

Changing metadata of an existing file:

Installation of metadatafunctionality-plugin:

The plugin is currently not available from QGIS official repository, hence the bit more complicated installation:

  1. Save the plugin in the QGIS-plugin folder, on windows-machines often in C:\Users\USERNAME.qgis2\python\plugins

  2. Install the plugin with QGIS respository, search for metadatafunctionality

The metadata-plugin is now added to the Plugins-'faneblad' and a button is added. The metadata plugin consists of two dialogue boxes - the dialogue box to enter the metadata information and a dialogue box to specificy the database where the table in which metadata is stored and the required connection information to the database.

[Picture would be good here]

To get started - the first time:

  1. Create a table to store metadata in a postgresdatabase. The table needs to follow a specific structure - to create a table you can use the sql found under 'Database definition' in the MetaMan Settings-dialoguebox.

  2. In the MetaMan Settings-dialoguebox, specify the connection (host, port, username) to the database in which the metadata is stored. Test the connection to the table with 'Test Connection'.

Clone this wiki locally