spatialite_network(1)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the spatialite_network(1) era ✨ this is an analysis / validation tool for topological networks β€” yes, that's the whole vibe, it looks at your topological network and it analyzes it and it validates it, and honestly? she ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

spatialite_network [-h] [-d pathname] [-T table_name] [-f col_name] [-t
                   col_name] [-g col_name] [-c col_name]
                   [--a-star-supported | --a-star-excluded] [-n
                   col_name] [--bidirectional | --unidirectional
                   [--oneway-tofrom col_name] [--oneway-fromto col_name]
                   ] [-o table_name] [--overwrite-output]

like, that's the whole fit. every flag, no notes πŸ‘‘


🌸 DESCRIPTION 🌸

so spatialite_network is an analysis / validation tool for topological networks 🌈 that's it, that's the job description, and she is obsessed with doing it


πŸ’… OPTIONS πŸ’…

  • -h, --help β€” show help message 🫢 (the classic "pls explain yourself" button)
  • -d pathname, --db-path pathname β€” the SpatiaLite db path πŸ—‚οΈ like where your db actually lives
  • -T table_name, --table table_name β€” the db table to be validated πŸŽ€ this is the one getting the vibe check
  • -f col_name, --from-column col_name β€” the column for FromNode ⬅️
  • -t col_name, --to-column col_name β€” the column for ToNode ➑️
  • -g col_name, --geometry-column col_name β€” the column for Geometry πŸ¦‹
  • -c col_name, --cost-column col_name β€” the column for Cost πŸ’Έ

if omitted, GLength(g) will be used by default 🌟 (so she'll just measure the geometry herself, no biggie)

  • --a-star-supported β€” support the A* algorithm (default) ⭐ yes bestie, A* is in her good graces by default
  • --a-star-excluded β€” no support for the A* algorithm πŸ’€ A* has been asked to leave the group chat
  • -n col_name, --name-column col_name β€” the column for RoadName πŸ›£οΈ
  • --bidirectional β€” assume bidirectional arcs (default) πŸ” she assumes both ways unless you tell her otherwise
  • --unidirectional β€” 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: --oneway-tofrom & --oneway-fromto πŸ‘€

  • --oneway-tofrom col_name β€” OneWay To->From column name πŸ”™
  • --oneway-fromto 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 🚧 (so like, 1 = slay, 0 = absolutely not)

  • -o table_name, --output-table table_name β€” create a permanent NETWORK-DATA table πŸ“Š permanent!! she's committing, no take-backs
  • --overwrite-output β€” drop and recreate table_name if it exists πŸ’₯ (rip to the old one, but it had to go)

ngl bestie, that's the full menu β€” nothing skimmed, nothing skipped, every single flag accounted for πŸ’–

and that's a wrap on spatialite_network(1) πŸŽ€ this iconic little manual page came straight out of spatialite_network(1), dated 9 February 2026 🌸 go forth and validate your networks, you absolute main character πŸ‘‘βœ¨ periodt πŸ’…

πŸ“¦ where this page comes from