The faces of a spatial network are the areas bounded by edges, without any other edge crossing it. A special face is the outer face, which is the area not bounded by any set of edges.
Arguments
- x
An object of class
sfnetwork
.- boundary
The boundary used for the outer face, as an object of class
sf
orsfc
containing a singlePOLYGON
geometry. Note that this boundary should always be larger than the bounding box of the network. IfNULL
(the default) the network bounding box extended by 0.1 times its diameter is used.
Value
An object of class sfc
with POLYGON
geometries, in which each feature represents one face of the network.