Skip to content

v.in.natura2000

importing of Natura 2000 spatial data of protected areas

v.in.natura2000 [-lbmhst] input=name [output=name] [sitetype=string] [habitat_code=string] [species_code=string] [biogeographic_region=string] [member_state=string] [existing_layer=string] [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.in.natura2000 input=name

grass.script.run_command("v.in.natura2000", input, output=None, sitetype=None, habitat_code=None, species_code=None, biogeographic_region=None, member_state=None, existing_layer=None, flags=None, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

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

Parameters

input=name [required]
    Name of input file
output=name
    name of imported spatial data set
sitetype=string
    Select site type of input (A, B or C)
habitat_code=string
    Select habitat code of input
species_code=string
    Select species of input
biogeographic_region=string
    Select biogeographic region of input
member_state=string
    Select member state of input
existing_layer=string
    Import of existing layer
-l
    Print available layer
-b
    Print list of biogeographic regions
-m
    Print list of EU member states codes
-h
    Print list of habitats of community interest
-s
    Print list of species of community interest
-t
    Print list of protected area site types
--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 input file
    Used as: input, file, name
output : str, optional
    name of imported spatial data set
    Used as: output, vector, name
sitetype : str, optional
    Select site type of input (A, B or C)
habitat_code : str, optional
    Select habitat code of input
species_code : str, optional
    Select species of input
biogeographic_region : str, optional
    Select biogeographic region of input
member_state : str, optional
    Select member state of input
existing_layer : str, optional
    Import of existing layer
flags : str, optional
    Allowed values: l, b, m, h, s, t
    l
        Print available layer
    b
        Print list of biogeographic regions
    m
        Print list of EU member states codes
    h
        Print list of habitats of community interest
    s
        Print list of species of community interest
    t
        Print list of protected area site types
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.natura2000 imports Natura 2000 protected areas. The tool is implemented for the sqlite/spatialite version of this data (size > 1 GB). Listing und import operations of v.in.natura2000 may be slow due to the huge data file size. Listing (already availabe layers, biogeographic regions, EU member states codes, habitat codes, species codes, protected area site types) and importing (all data, protected areas of a defined habitat/species/member states/biogeographic region) is limited to some small selection of wide range of possible cases.

Important notes

Topological correctness of the input data is not guaranteed, overlapping of (many) polygones may occur. According to GRASS GIS topological model, imported data may have more layers in case of overlapping polygones . The sqlite/spatialite data is shipped in EPSG:3035 projection. The script uses pyspatialite for connecting to the sqlite/spatialite database.

With the database update by end 2015 the column PERCENTAGE_COVER in the HABITATS table was renamed to PERCENTAGECOVER. The addon script was adapted accordingly; for Natura 2000 database versions \< 2015, the column has to be renamed back.

Depending on which taxonomy was used to identify species, different species codes may be used for species across EU member states. Check the Reference Portal for Natura 2000 (Codelist for species (Annex II,IV,V)) for species and their synonyms.

EXAMPLE

# list spatial layer(s) already availabe in the sqlite/spatialite database
v.in.natura2000 -l input=Natura2000_end2014.sqlite

# import already available spatial layer
v.in.natura2000 input=Natura2000_end2014.sqlite existing_layer=sv1800

# list biogeographic regions
v.in.natura2000 -b input=Natura2000_end2014.sqlite

# list EU member states codes
v.in.natura2000 -m input=Natura2000_end2014.sqlite

# list habitats of community interest
v.in.natura2000 -h input=Natura2000_end2014.sqlite

# list species of community interest
v.in.natura2000 -s input=Natura2000_end2014.sqlite

# list protected area site types
v.in.natura2000 -t input=Natura2000_end2014.sqlite

# import protected areas of type A
v.in.natura2000 input=Natura2000_end2014.sqlite /
output=pa_typeA sitetype=A

# import protected areas with habitat 3230
v.in.natura2000 input=Natura2000_end2014.sqlite /
output=pa_habitat3230 habitat_code=3230

# import protected areas with species 1800
v.in.natura2000 input=Natura2000_end2014.sqlite /
output=pa_species1800 species_code=1800

# import protected areas within the Alpine biogeographical region
v.in.natura2000 input=Natura2000_end2014.sqlite /
output=pa_alpineregion biogeographic_region=Alpine

# import protected areas of member state Austria
v.in.natura2000 input=Natura2000_end2014.sqlite /
output=pa_austria member_state=AT

SEE ALSO

v.import, v.in.ogr, v.proj

AUTHOR

Helmut Kudrnovsky

SOURCE CODE

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