---
name: "gnmmanage"
section: "1"
platform: "linux"
package: "gdal"
version: "3.13.3-6"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gnmmanage"
---

# gnmmanage(1)

Manages networks

## NAME

gnmmanage - Manages networks

## SYNOPSIS

```
Usage: gnmmanage [--help][--help-general][-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>]...]
```

## DESCRIPTION

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.

- **--help**

  Show this help message and exit

- **--help-general**

  Gives a brief usage message for the generic GDAL commandline options and exit.

- **-info**

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

- **create**

  Create network.

  - **-f \<format\_name\>**

    Output file format name.

  - **-t\_srs \<srs\_name\>**

    Spatial reference input.

  - **-dsco \<NAME\>=\<VALUE\>**

    Network creation option set as pair name=value.

- **import \<src\_dataset\_name\>**

  Import layer with dataset name to copy.

  - **-l \<layer\_name\>**

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

- **connect \<gfid\_src\> \<gfid\_tgt\> \<gfid\_con\>**

  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:

  - **-c \<cost\>**

    Cost / weight

  - **-ic \<invcost\>**

    Inverse cost

  - **-dir \<dir\>**

    Direction of the edge.

- **disconnect \<gfid\_src\> \<gfid\_tgt\> \<gfid\_con\>**

  Removes the connection from the graph.

- **rule \<rule\_str\>**

  Creates a rule in the network by the given rule\_str string.

- **autoconnect \<tolerance\>**

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

- **delete**

  Delete network.

- **change**

  Change blocking state of network edges or vertices.

  - **-bl \<gfid\>**

    Block feature before the main operation. Blocking features are saved in the special layer.

  - **-unbl \<gfid\>**

    Unblock feature before the main operation.

  - **-unblall**

    Unblock all blocked features before the main operation.

- **\<gnm\_name\>**

  The network to work with (path and name).

- **\<layer\>**

  The network layer name.

## RETURN STATUS CODE

The program returns status code 0 in case of success, and non-zero in case of error (non-blocking errors emitted as warnings are considered as a successful execution).

## AUTHOR

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

## COPYRIGHT

1998-2026
