Stores an sfc on the object, aligned to @leaves row order.
Arguments
- x
A
Geoscale.- geom
An
sfobject orsfc. Whensfwith a code column, it is matched onby; whensfc, it must already be in@leavesrow order.- by
Name of the code column in
geomto match on. Defaults to the atom level, then"region".- level
Level that
geom's codes refer to. Defaults to the atom level. When coarser, each atom inherits its parent's geometry.
Value
A Geoscale with @geometry populated.