---
name: "spatialite_osm_map"
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_map"
---

# spatialite\_osm\_map(1)

load OSM-XML maps into a SpatiaLite DB

## NAME

spatialite\_osm\_map - load OSM-XML maps into a SpatiaLite DB

## SYNOPSIS

FC**spatialite\_osm\_map**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**-n**F\[0\]\] \[FC**-jo**F\[0\]\]

## DESCRIPTION

**spatialite\_osm\_map** is a tool for loading OSM-XML 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**-n**F\[0\], FC**--no-spatial-index**F\[0\]

  suppress R\*Tree generation

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

  unsafe (but faster) mode
