DOKK / manpages / debian 12 / gdal-bin / gnmmanage.1.en
GNMMANAGE(1) GDAL GNMMANAGE(1)

gnmmanage - Manages networks

gnmmanage [--help][-q][-quiet][--long-usage]

[info]
[create [-f <format_name>] [-t_srs <srs_name>] [-dsco NAME=VALUE]... ]
[import src_dataset_name] [-l layer_name]
[connect <gfid_src> <gfid_tgt> <gfid_con> [-c <cost>] [-ic <inv_cost>] [-dir <dir>]]
[disconnect <gfid_src> <gfid_tgt> <gfid_con>]
[rule <rule_str>]
[autoconnect <tolerance>]
[delete]
[change [-bl gfid][-unbl gfid][-unblall]]
<gnm_name> [<layer> [<layer> ...]]


The gnmmanage program can perform various managing operations on geographical networks in GDAL. In addition to creating and deleting networks this includes capabilities of managing network's features, topology and rules.

Different information about network: system and class layers, network metadata, network spatial reference.

Create network.
Output file format name.

Spatial reference input.

Network creation option set as pair name=value.


Import layer with dataset name to copy.

Layer name in dataset. If unset, 0 layer is copied.


Make a topological connection, where the gfid_src and gfid_tgt are vertices and gfid_con is edge (gfid_con can be -1, so the system edge will be inserted).

Manually assign the following values:

Cost / weight

Inverse cost

Direction of the edge.


Removes the connection from the graph.

Creates a rule in the network by the given rule_str string.

Create topology automatically with the given double tolerance and layer names. In no layer name provided all layers of network will be used.

Delete network.

Change blocking state of network edges or vertices.
Block feature before the main operation. Blocking features are saved in the special layer.

Unblock feature before the main operation.

Unblock all blocked features before the main operation.


<gnm_name>
The network to work with (path and name).

<layer>
The network layer name.

Mikhail Gusev <gusevmihs@gmail.com>, Dmitry Baryshnikov <polimax@mail.ru>

1998-2023

January 2, 2023