Skip to content

i.target

Targets an imagery group to a GRASS location and mapset.

i.target [-c] group=name [location=string] [mapset=string] [--verbose] [--quiet] [--qq] [--ui]

Example:

i.target group=name

grass.script.run_command("i.target", group, location=None, mapset=None, flags=None, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("i.target", group="name")

Parameters

group=name [required]
    Name of input imagery group
location=string
    Name of imagery target location
mapset=string
    Name of target mapset
-c
    Set current location and mapset as target for imagery group
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

group : str, required
    Name of input imagery group
    Used as: group, name
location : str, optional
    Name of imagery target location
mapset : str, optional
    Name of target mapset
flags : str, optional
    Allowed values: c
    c
        Set current location and mapset as target for imagery group
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

i.target targets an imagery group to a GRASS data base project name and mapset. A project name and mapset are required for the i.rectify imagery module, into which to write the rectified map just prior to completion of the program; i.target enables the user to specify this project. i.target must be run before g.gui.gcp and i.rectify.

NOTES

The module's first option asks for the name of the imagery group that needs a target. The imagery group must be present in the user's current mapset. An imagery group may be targeted to any GRASS project.

If a group name is given without setting options, the currently targeted group will be displayed.

SEE ALSO

The GRASS 4 Image Processing manual

g.gui.gcp, i.group, i.rectify
Manage Ground Control Points

AUTHORS

Michael Shapiro, U.S. Army Construction Engineering Research Laboratory

Parser support: Bob Covill

SOURCE CODE

Available at: i.target source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit a82a39f