1 Node

Node(self, node_id=None, geometry=Point('nan', 'nan'), **kwargs)

Defines a node for the model.

1.1 Attributes

Name Type Description
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.

1.2 Methods

Name Description
into_geodataframe

1.2.1 into_geodataframe

Node.into_geodataframe(node_type, node_id)