spatialite_osm_net(1) 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]

DESCRIPTION

spatialite_osm_net is a tool for loading OSM-XML roads into a SpatiaLite DB.

OPTIONS

-h, --help
show help message
-o pathname, --osm-path pathname
the OSM-XML file path

both OSM-XML (*.osm) and OSM-ProtoBuf (*.osm.pbf) are indifferently supported.

-d pathname, --db-path pathname
the SpatiaLite DB path
-T table_name, --table table_name
the db table to be feeded
-cs num, --cache-size num
DB cache size (how many pages)
-m, --in-memory
using IN-MEMORY database
-n, --no-spatial-index
suppress R*Tree generation
-jo, --journal-off
unsafe (but faster) mode
-2, --undirectional
double arcs
--roads
extract roads (default)
--railways
extract railways
-ot path, --out-template path
creates a default template-file
-tf path, --template-file path
using a template-file