v.info.iso
Creates metadata based on ISO standard for specified vector map.
v.info.iso map=name [profile=string] [output=name] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]
Example:
v.info.iso map=name
grass.script.run_command("v.info.iso", map, profile="basic", output=None, overwrite=False, verbose=False, quiet=False, superquiet=False)
Example:
gs.run_command("v.info.iso", map="name")
Parameters
map=name [required]
Name of vector map
Or data source for direct OGR access
profile=string
Metadata profile based on ISO
INSPIRE profile is not filled properly (unknown values are filled with '$NULL')
Allowed values: basic, inspire
Default: basic
output=name
Name for output file
--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--qq
Very quiet module output
--ui
Force launching GUI dialog
map : str, required
Name of vector map
Or data source for direct OGR access
Used as: input, vector, name
profile : str, optional
Metadata profile based on ISO
INSPIRE profile is not filled properly (unknown values are filled with '$NULL')
Allowed values: basic, inspire
Default: basic
output : str, optional
Name for output file
Used as: output, file, name
overwrite: bool, optional
Allow output files to overwrite existing files
Default: False
verbose: bool, optional
Verbose module output
Default: False
quiet: bool, optional
Quiet module output
Default: False
superquiet: bool, optional
Very quiet module output
Default: False
DESCRIPTION
v.info.iso 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.
NOTES
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.
EXAMPLES
Export metadata using basic profile (default):
v.info.iso map=basins
Export metadata using inspire profile:
v.info.iso map=basins profile=inspire
SEE ALSO
v.info, r.info.iso, g.gui.metadata
See also related wiki page.
AUTHORS
Matej Krejci, OSGeoREL at the Czech Technical University in Prague, developed during Google Summer of Code 2014 (mentors: Margherita Di Leo, Martin Landa)
SOURCE CODE
Available at: v.info.iso source code
(history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819