Node
Node(self, node_id=None, geometry=Point(), **kwargs)
Defines a node for the model.
Attributes
node_id |
Optional[NonNegativeInt] |
Integer ID of the node. Must be unique for the model. |
geometry |
shapely.geometry.Point |
The coordinates of the node. |
name |
str |
An optional name of the node. |
subnetwork_id |
int |
Optionally adds this node to a subnetwork, which is input for the allocation algorithm. |
source_priority |
int |
Optionally overrides the source priority for this node, which is used in the allocation algorithm. |
Methods
into_geodataframe
Node.into_geodataframe(node_type, node_id)