Skip to content

v.support

Updates vector map metadata.

v.support [-rh] map=name [organization=phrase] [date=datestring] [person=phrase] [map_name=phrase] [map_date=datestring] [scale=integer] [zone=integer] [threshold=float] [comment=phrase] [cmdhist=command] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.support map=name

grass.script.run_command("v.support", map, organization=None, date=None, person=None, map_name=None, map_date=None, scale=None, zone=None, threshold=None, comment=None, cmdhist=None, flags=None, verbose=None, quiet=None, superquiet=None)

Example:

gs.run_command("v.support", map="name")

grass.tools.Tools.v_support(map, organization=None, date=None, person=None, map_name=None, map_date=None, scale=None, zone=None, threshold=None, comment=None, cmdhist=None, flags=None, verbose=None, quiet=None, superquiet=None)

Example:

tools = Tools()
tools.v_support(map="name")

This grass.tools API is experimental in version 8.5 and expected to be stable in version 8.6.

Parameters

map=name [required]
    Name of vector map
    Or data source for direct OGR access
organization=phrase
    Organization where vector map was created
date=datestring
    Date of vector map digitization (e.g., "15 Mar 2007")
person=phrase
    Person who created vector map
map_name=phrase
    Vector map title
map_date=datestring
    Date when the source map was originally produced
scale=integer
    Vector map scale number (e.g., 24000)
zone=integer
    Vector map projection zone
threshold=float
    Vector map digitizing threshold number (e.g., 0.5)
comment=phrase
    Text to append to the comment line of the map's metadata file
cmdhist=command
    Command line to store into vector map history file (used for vector scripts)
-r
    Replace comment instead of appending it
-h
    Replace command line instead of appending it
--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
organization : str, optional
    Organization where vector map was created
    Used as: phrase
date : str, optional
    Date of vector map digitization (e.g., "15 Mar 2007")
    Used as: datestring
person : str, optional
    Person who created vector map
    Used as: phrase
map_name : str, optional
    Vector map title
    Used as: phrase
map_date : str, optional
    Date when the source map was originally produced
    Used as: datestring
scale : int, optional
    Vector map scale number (e.g., 24000)
zone : int, optional
    Vector map projection zone
threshold : float, optional
    Vector map digitizing threshold number (e.g., 0.5)
comment : str, optional
    Text to append to the comment line of the map's metadata file
    Used as: phrase
cmdhist : str, optional
    Command line to store into vector map history file (used for vector scripts)
    Used as: command
flags : str, optional
    Allowed values: r, h
    r
        Replace comment instead of appending it
    h
        Replace command line instead of appending it
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None

map : str, required
    Name of vector map
    Or data source for direct OGR access
    Used as: input, vector, name
organization : str, optional
    Organization where vector map was created
    Used as: phrase
date : str, optional
    Date of vector map digitization (e.g., "15 Mar 2007")
    Used as: datestring
person : str, optional
    Person who created vector map
    Used as: phrase
map_name : str, optional
    Vector map title
    Used as: phrase
map_date : str, optional
    Date when the source map was originally produced
    Used as: datestring
scale : int, optional
    Vector map scale number (e.g., 24000)
zone : int, optional
    Vector map projection zone
threshold : float, optional
    Vector map digitizing threshold number (e.g., 0.5)
comment : str, optional
    Text to append to the comment line of the map's metadata file
    Used as: phrase
cmdhist : str, optional
    Command line to store into vector map history file (used for vector scripts)
    Used as: command
flags : str, optional
    Allowed values: r, h
    r
        Replace comment instead of appending it
    h
        Replace command line instead of appending it
verbose : bool, optional
    Verbose module output
    Default: None
quiet : bool, optional
    Quiet module output
    Default: None
superquiet : bool, optional
    Very quiet module output
    Default: None

Returns:

result : grass.tools.support.ToolResult | None
If the tool produces text as standard output, a ToolResult object will be returned. Otherwise, None will be returned.

DESCRIPTION

v.support is used to set/update vector map metadata. While GRASS typically generates these metadata entries automatically, v.support allows users to manually edit them when necessary.

EXAMPLE

# update scale to 1:24000
v.support myvectmap scale=24000

# update organization
v.support myvectmap organization="OSGeo labs"
v.info myvectmap

SEE ALSO

v.build, v.info

AUTHOR

Markus Neteler, Trento

SOURCE CODE

Available at: v.support source code (history)
Latest change: Friday Aug 08 09:39:19 2025 in commit ed72c71