GRASS logo

NAME

r.timeseries.locations - Manage locations for time series in NVE time series DB

KEYWORDS

NVE, import, export, raster, vector, category, reclass, database

SYNOPSIS

r.timeseries.locations
r.timeseries.locations --help
r.timeseries.locations locations=Map name for the managed locations [locations_subunits=Map name for subunits of the managed locations] locations_url=string [layer=string] [where=sql_query] [snap=float] [method=string] [keepass_file=Input KeePass file to get DB credentials from] [keepass_title=string] [continuous_subdivision_map=name] [align=name] domain_id=integer [class_number=integer] [round_to_closest=string] [nprocs=integer] [--overwrite] [--help] [--verbose] [--quiet] [--ui]

Flags:

--overwrite
Allow output files to overwrite existing files
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

locations=Map name for the managed locations [required]
Map name for the managed locations
locations_subunits=Map name for subunits of the managed locations
Map name for subunits of the managed locations
locations_url=string [required]
URL to the OGR data source to import
Default:
layer=string
Layer name of the OGR data source to import
where=sql_query
WHERE conditions of SQL statement without 'where' keyword
Example: income < 1000 and population >= 10000
snap=float
Snap vertices in input vector map to this number of map units
Default: -1
method=string
Method for generating subunits
Options: percentile, linear, database
keepass_file=Input KeePass file to get DB credentials from
Input KeePass file to get DB credentials from
keepass_title=string
Title of the KeePass entry to get MS SQL credentials from
continuous_subdivision_map=name
Name of input raster map
align=name
Raster map to align pixels with
domain_id=integer [required]
Domain ID of locations to import
class_number=integer
Number of classes for subdividing locations
round_to_closest=string
Closest unit to round class boundaries to (integer or float)
nprocs=integer
Number of threads for parallel computing
Default: 1

Table of contents

DESCRIPTION

r.timeseries.locations subdivides locations (geometries) into coherent sub-units based on a continuous raster map and break values for subdivisions. It is written for locations in NVEs time series database.

EXAMPLES

Subdivide watersheds using altitude bands and breaks from DB

r.timeseries.locations locations_url="MSSQL:driver=FreeTDS;server=tst.sql.server.com;port=1433;database=testdatabase" \
  where="parent_id IS NULL" locations=test continuous_subdivision_map="DTM" \
  round_to_closest=1 method=database domain_id=60 layer="dbo.region" \
  locations_subunits="test_subunits" nprocs=20 \
  keepass_file="/hdata/fjernanalyse3/CopernicusUtviklingOgTest/data/actinia_secrets.kdbx" keepass_title=mssql \
  --o --v

SEE ALSO

v.in.ogr, r.to.vect, v.to.rast, r.mapcalc,

AUTHOR

Stefan Blumentrath

SOURCE CODE

Available at: r.timeseries.locations source code (history)

Accessed: Friday Oct 25 13:33:31 2024


Main index | Raster index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.4.0 Reference Manual