spatialite_osm_net(1)

πŸ’– spatialite_osm_net πŸ’–

okay so bestie, welcome to the spatialite_osm_net(1) manual page, and yes this is the spatialite_osm_net tool we're talking about, she's a whole vibe ✨


🌸 NAME 🌸

spatialite_osm_net β€” load OSM-XML roads into a SpatiaLite DB πŸ›£οΈ


πŸŽ€ SYNOPSIS πŸŽ€

spatialite_osm_net [-h] [-o pathname] [-d pathname] [-T table_name] [-cs
                   num] [-m] [-n] [-jo] [-2] [--roads | --railways] [-ot
                   path] [-tf path]

no cap, that's the whole shape of her πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so spatialite_osm_net is literally the tool you use for loading OSM-XML roads into a SpatiaLite DB. that's the job. that's what she does. periodt πŸ’…


✨ OPTIONS ✨

  • -h, --help β€” show help message. the classic, she's telling you what's up πŸ™ˆ
  • -o pathname, --osm-path pathname β€” the OSM-XML file path. and here's the cute part: both OSM-XML (*.osm) and OSM-ProtoBuf (*.osm.pbf) are indifferently supported, so you can bring either one to the party πŸŽ‰ no conversion drama, she just handles it.
  • -d pathname, --db-path pathname β€” the SpatiaLite DB path. where the magic lands πŸ’–
  • -T table_name, --table table_name β€” the db table to be fed πŸ“
  • -cs num, --cache-size num β€” DB cache size, which is how many pages. numbers, slay πŸ“Š
  • -m, --in-memory β€” using IN-MEMORY database. all up in the RAM, iconic ⚑
  • -n, --no-spatial-index β€” suppress R*Tree generation. no index for you, bestie 🚫🌳
  • -jo, --journal-off β€” unsafe (but faster) mode. and like, she means unsafe β€” fast yes, but bestie be careful, no cap πŸ’€
  • -2, --undirectional β€” double arcs πŸ‘€
  • --roads β€” extract roads (default). this is the default one btw, so if you say nothing, roads is what you get πŸ›£οΈ
  • --railways β€” extract railways. choo choo, different flavor πŸš‚
  • -ot path, --out-template path β€” creates a default template-file 🌈
  • -tf path, --template-file path β€” using a template-file πŸŽ€

and that's the whole thing bestie, you ate that 🫢

spatialite_osm_net(1) β€’ 9 February 2026 β€” mwah, go load some roads πŸ’œβœ¨

πŸ“¦ where this page comes from