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=False, quiet=False, superquiet=False)

Example:

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

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: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

v.support is used to set/update vector map metadata. While GRASS GIS 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 Feb 07 19:16:09 2025 in commit a82a39f