---
name: "spatialite_network"
section: "1"
platform: "linux"
package: "spatialite-bin"
version: "5.1.0a-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/spatialite_network"
---

# spatialite\_network(1)

analysis/validation tool for topological networks

## NAME

spatialite\_network - analysis/validation tool for topological networks

## SYNOPSIS

FC**spatialite\_network**F\[0\]  \[FC**-h**F\[0\]\] \[FC**-d**F\[0\] *pathname*\] \[FC**-T**F\[0\] *table\_name*\] \[FC**-f**F\[0\] *col\_name*\] \[FC**-t**F\[0\] *col\_name*\] \[FC**-g**F\[0\] *col\_name*\] \[FC**-c**F\[0\] *col\_name*\] \[FC**--a-star-supported**F\[0\] \| FC**--a-star-excluded**F\[0\]\] \[FC**-n**F\[0\] *col\_name*\] \[FC**--bidirectional**F\[0\] \| FC**--unidirectional**F\[0\] \[FC**--oneway-tofrom**F\[0\] *col\_name*\] \[FC**--oneway-fromto**F\[0\] *col\_name*\] \] \[FC**-o**F\[0\] *table\_name*\] \[FC**--overwrite-output**F\[0\]\]

## DESCRIPTION

**spatialite\_network** is an analysis / validation tool for topological networks

## OPTIONS

- FC**-h**F\[0\], FC**--help**F\[0\]

  show help message

- FC**-d**F\[0\] *pathname*, FC**--db-path**F\[0\] *pathname*

  the SpatiaLite db path

- FC**-T**F\[0\] *table\_name*, FC**--table**F\[0\] *table\_name*

  the db table to be validated

- FC**-f**F\[0\] *col\_name*, FC**--from-column**F\[0\] *col\_name*

  the column for FromNode

- FC**-t**F\[0\] *col\_name*, FC**--to-column**F\[0\] *col\_name*

  the column for ToNode

- FC**-g**F\[0\] *col\_name*, FC**--geometry-column**F\[0\] *col\_name*

  the column for Geometry

- FC**-c**F\[0\] *col\_name*, FC**--cost-column**F\[0\] *col\_name*

  the column for Cost

  if omitted, GLength(g) will be used by default

- FC**--a-star-supported**F\[0\]

  support the A\* algorithm (default)

- FC**--a-star-excluded**F\[0\]

  no support for the A\* algorithm

- FC**-n**F\[0\] *col\_name*, FC**--name-column**F\[0\] *col\_name*

  the column for RoadName

- FC**--bidirectional**F\[0\]

  assume bidirectional arcs (default)

- FC**--unidirectional**F\[0\]

  don't assume bidirectional arcs

  if \*bidirectional\* each arc connecting FromNode to ToNode is implicitly connecting ToNode to FromNode as well; in this case you can select the following further options: FC**--oneway-tofrom**F\[0\] & FC**--oneway-fromto**F\[0\]

- FC**--oneway-tofrom**F\[0\] *col\_name*

  OneWay To-\>From column name

- FC**--oneway-fromto**F\[0\] *col\_name*

  OneWay From-\>To column name

  both columns are expected to contain BOOLEAN values \[1-0\]; 1 means that the arc connection in the given direction is valid, otherwise 0 means a forbidden connection

- FC**-o**F\[0\] *table\_name*, FC**--output-table**F\[0\] *table\_name*

  create a permanent NETWORK-DATA table

- FC**--overwrite-output**F\[0\]

  drop and recreate *table\_name* if it exists
