GRASS logo

NAME - Creates metadata based on ISO standard for specified vector map.


vector, metadata, iso

SYNOPSIS --help map=name [profile=string] [output=name] [--overwrite] [--help] [--verbose] [--quiet] [--ui]


Allow output files to overwrite existing files
Print usage summary
Verbose module output
Quiet module output
Force launching GUI dialog


map=name [required]
Name of vector map
Or data source for direct OGR access
Metadata profile based on ISO
INSPIRE profile is not filled properly (unknown values are filled with '$NULL')
Options: basic, inspire
Default: basic
Name for output file

Table of contents

DESCRIPTION creates metadata of vector maps according to ISO 19115.

The module also allows conversion of metadata from native GRASS GIS format to ISO-based format.


For dependencies and installation instructions see wiki page.

Naming of metadata files and storage

Default location for exported metadata files is metadata directory in the map's mapset. If the name for output metadata file is not specified by output option than the name is built from map's type and its name. For raster maps, the prefix derived from the current nomenclature is raster, for vector maps vector. File ends with .xml extension.

For example default metadata file name for raster map "basins" is vector_basins.xml.

Metadata profile

The basic profile is substituted from intersection between items stored in GRASS native metadata format and INSPIRE profile. The intersect (subset) includes all available GRASS metadata. Metadata which cannot be assigned to ISO based attributes are stored in metadata attribute abstract. The inspire profile fulfills the criteria of INSPIRE profile. Values which are not able to get from native GRASS metadata are filled by text string '$NULL'. This rule applies to both profiles.


Export metadata using basic profile (default): map=basins

Export metadata using inspire profile: map=basins profile=inspire

SEE ALSO,, g.gui.metadata

See also related wiki page.


Matej Krejci, OSGeoREL at the Czech Technical University in Prague, developed during Google Summer of Code 2014 (mentors: Margherita Di Leo, Martin Landa)


Available at: source code (history)

Latest change: Thursday Feb 03 09:32:35 2022 in commit: f17c792f5de56c64ecfbe63ec315307872cf9d5c

Main index | Vector index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.3.3dev Reference Manual