Establishes the cross-package composition contract: algorithmic base
movement (for example from explodemap), inherited ancestor movement, and
local manual edits remain separately inspectable while their sum becomes the
effective movement applied to geometry.
Usage
compose_offsets(base = NULL, state, ancestor_offsets = NULL, key_col = NULL)
effective_offsets(
state,
base_offsets = NULL,
ancestor_offsets = NULL,
key_col = NULL
)Arguments
- base
Optional base-offset table, an
explodemap_child_layout, or a list containing anoffsetstable. Accepted movement columns arebase_dx_m/base_dy_mordx_m/dy_m.- state
A
d_state()supplying local manual offsets.- ancestor_offsets
Optional inherited-offset table. Accepted movement columns are
inherited_dx_m/inherited_dy_m,effective_dx_m/effective_dy_m, ordx_m/dy_m.- key_col
Optional identifier column used in external offset tables. Defaults to
region,feature_id, orparent_id, in that order.- base_offsets
Alias for
basein the state-first calling form.
