Skip to content
User-friendly interface to automatize the creation of geographic metadata directly from geographic data (mainly shapefiles). Various output formats: html, Word (.doc/.docx), Excel (.xls) and ISO 19139 (.XML).
Python Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data
doc
locale
modules
plugins/qgis
test
.gitattributes
.gitignore
LICENSE
Metadator.py
Metadator.spec
README.md
metadator.ico
options.ini
requirements.txt
setup_metadator.py

README.md

Metadator

Terminate with painful metadata!

Tool to automatize the production of metadata files about geographic files (shapefiles, MapInfo tables, ...). There are various different output options available: HTML, Word (.doc/.docx), Excel (.xls) and XML (ISO 19139). There is also an option to produce an unique Word indexed document like a catalog. It has been developed for a specific use in a research program of the French Institute of Research for Development (IRD).

The goal is to make easier the adaptation to the INSPIRE norm, but also to keep a possibility to make human-readable metadata in universal formats (Word, Excel, etc.)

In a nutshell

Metadator does a recurring analysis into a folder structure and perform a serie of analysis and statistics. It uses 3 elements to generate the metadata:

  • geographic data (SRS, geometry type, number of objects, etc.)
  • statistics about fields depending on the type (integer, float, string or date)
  • customizable profiles to allow the user to personalize the metadata (organization, contacts, update rhythm, INSPIRE themes, keywords, etc.)

Two ways to use:

On Ubuntu

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install python-setuptools python-pip python-dev python-tk python-gdal libxml2-dev libxslt-dev python-software-properties
git clone https://github.com/Guts/Metadator.git
sudo pip install -r requirements.txt

Script (for advanced users):

Use more flexible but requires:

Optionally if you want to make your own executables:

Clone this repository or download it and then just launch Metadator.py.

Executable (see releases to download it):

Very easy to use due to the user-friendly interface and this is only requires Windows and Microsoft Word (tested with Office 2007 and 2010). Just decompress the archive downloaded and then launch Metadator.exe.

Create your own profiles

You can create as many profiles as you want to adapt the tool to each dataset. You can and share it easily with your colleagues.

Internationalization

Developed first in French, the tool comes with translation in English and Spanish. It's also possible to:

  • add your own language copying and translating a locale folder (best use the FR as model). Take care about the prefix and all the INSPIRE stuffs.
  • customize easily all the texts of the interface and the output files: this is just XML!

Recurring attributes

Because describing the attributes (or fields) of geographic files is very important (perhaps the most to make a metadata useful and understandable) but it's a boring activity and hard to do well (worst is updating). Above all, there is a lot of attributes we meet often and which have always the same reference/description (like FID or ID for example)! So, to make the work more efficient, customize your recurring attributes in Metadator and then it'll apply automatically the description you gave whenever it'll find the field.

Credits

Something went wrong with that request. Please try again.