Description Usage Arguments Value Author(s)
Computes the trajectory parameters (as in ltraj) for a pgtraj and creates a view for the pgtraj. The views are always named as 'parameters_<pgtraj_name>'.
1 | pgTrajViewParams(conn, schema, pgtraj, epsg, db = TRUE)
|
conn |
Connection object created with RPostgreSQL |
schema |
String. Name of the schema that stores or will store the pgtraj data model. |
pgtraj |
String. Name of the pgtraj. |
epsg |
Numeric. EPSG code of the relocation geometry. |
db |
Boolean. A switch that controls the parameters view creation depending on source of data (R or PostgreSQL). If TRUE, raw data input from a database table is assumed. In this case all parameters will be computed. If FALSE, it is assumed that an ltraj was input from R with already computed parameters. In this case R2n and rel.angle will not be recomputed, but reused from the ltraj. |
TRUE on success, otherwise warning/error
Balázs Dukai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.