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

# spatialite\_osm\_raw(1)

load "raw" OSM maps into a SpatiaLite DB

## NAME

spatialite\_osm\_raw - load "raw" OSM maps into a SpatiaLite DB

## SYNOPSIS

FC**spatialite\_osm\_raw**F\[0\]  \[FC**-h**F\[0\]\] \[FC**-o**F\[0\] *pathname*\] \[FC**-d**F\[0\] *pathname*\] \[FC**-cs**F\[0\] *num*\] \[FC**-m**F\[0\]\] \[FC**-jo**F\[0\]\]

## DESCRIPTION

**spatialite\_osm\_raw** is a tool for loading "raw" OSM maps into a SpatiaLite DB.

## OPTIONS

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

  show help message

- FC**-o**F\[0\] *pathname*, FC**--osm-path**F\[0\] *pathname*

  the OSM-XML file path

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

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

  the SpatiaLite DB path

- FC**-cs**F\[0\] *num*, FC**--cache-size**F\[0\] *num*

  DB cache size (how many pages)

- FC**-m**F\[0\], FC**--in-memory**F\[0\]

  using IN-MEMORY database

- FC**-jo**F\[0\], FC**--journal-off**F\[0\]

  unsafe (but faster) mode
