Skip to content

v.in.redlist

importing of IUCN Red List Spatial Data

v.in.redlist [-ls] input=name [output=name] [species_name=string] [dir=name] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.in.redlist input=name

grass.script.run_command("v.in.redlist", input, output=None, species_name=None, dir=None, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("v.in.redlist", input="name")

Parameters

input=name [required]
    name of the IUCN Red List Spatial Data shapefile
output=name
    name of the imported IUCN Red List Spatial Data
species_name=string
    name of species which should be imported
dir=name
    Directory where the species list will be found
-l
    list species in IUCN Red List Spatial Data
-s
    save species list to a text 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

input : str, required
    name of the IUCN Red List Spatial Data shapefile
    Used as: input, file, name
output : str, optional
    name of the imported IUCN Red List Spatial Data
    Used as: output, vector, name
species_name : str, optional
    name of species which should be imported
dir : str, optional
    Directory where the species list will be found
    Used as: input, dir, name
flags : str, optional
    Allowed values: l, s
    l
        list species in IUCN Red List Spatial Data
    s
        save species list to a text file
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.in.redlist imports IUCN Red List Spatial Data. This data is by definition in WGS84 geographic coordinates.

By the -l flag species in column 'binomial' of the attribute table are listed. The species in column 'binomial' can be exported to a text file by the -s flag.

One of the species mentioned by -l or -s flag has to be specified for importing.

EXAMPLE

  # list species in column 'binomial' of the attribute table by -l flag
  v.in.redlist -l input=GYMNOPHIONA.shp

  # export species in column 'binomial' of the attribute table into a text file by -s flag
  v.in.redlist -s input=GYMNOPHIONA.shp dir=C:\data\iucn\GYMNOPHIONA

  # import spatial data for a user defined species
  v.in.redlist input=GYMNOPHIONA.shp /
  output=Scolecomorphus_vittatus species_name=Scolecomorphus vittatus

SEE ALSO

v.in.ogr

AUTHOR

Helmut Kudrnovsky

SOURCE CODE

Available at: v.in.redlist source code (history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819