migrate {RGeoS}R Documentation

Migrate from a Db into another Db

Description

Migrate a variable from an input into an output Db

Usage

migrate(db1, db2, name = db.getname(db1,"z",1), flag.fill=0,
radix = NA, modify.target = TRUE)

Arguments

db1

The db-class where the input variable is read

db2

The db-class where the migrated results are written

name

Name of the target variable in the input Db.

flag.fill

Grid filling option (only valid when migrating from Point to Grid).

  • 0 : No grid filling

  • 1 : Points are assigned to the grid nodes (some grid nodes may be left empty

  • 2 : All grid nodes will be valuated with the closest point value

radix

Radix of the name given to the output variable

modify.target

When TRUE, the results are set as new target variables in the output DB.

Value

The grid Db where the calculated variable has been added.


[Package RGeoS version 9.1.1 Index]