{
"cells": [
{
"cell_type": "markdown",
"id": "1be1aaa0-4b4c-4059-b601-6429b158e0c2",
"metadata": {},
"source": [
"# Load a network with an existing topology structure\n",
"\n",
"This documentation describes how to load data with a known topological (network) structure. The required structure is very simple: each edge has an initial (*i.e.* source) node and a final (*i.e.* target) node, the edges and nodes are defined by an identifier, and the geometry of the edges is a *LineString* type. It should be noted that directed graphs can be managed using the 'orientation' attribute of the edges, and a path cost can also be specified.\n",
"\n",
"In tracklib, the static method *readFromFile* loads network data from a text file, and stores it in the Network structure:\n",
"
\n",
"