FormNetwork.from_lines¶
-
classmethod
FormNetwork.
from_lines
(lines, precision=None)¶ Construct a network from a set of lines represented by their start and end point coordinates.
- Parameters
lines (list) – A list of pairs of point coordinates.
precision (str, optional) – The precision of the geometric map that is used to connect the lines.
- Returns
Network – A network object.
Examples
>>>