Skip to contents

Lazy resample/reproject to a target grid. Created by align(). Barrier. At execution time this materialises as a gdalraster VRT warp.

Usage

WarpNode(
  id = integer(0),
  parents = integer(0),
  grid = GridSpec(),
  role = character(0),
  target_grid = GridSpec(),
  resampling = character(0)
)

Arguments

id

Integer node id (assigned by graph_add()).

parents

Integer ids of parent nodes (may be empty).

grid

Output GridSpec of this node.

role

Optional semantic role tag (e.g. "mask", set by mask()). Pure metadata: never read by the planner or executors; surfaced by draw() and plan_view().

target_grid

GridSpec to warp onto.

resampling

Resampling method ("nearest", "bilinear", "cubic", ...).

Value

A WarpNode.