---
name: "spatialite_osm_filter"
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_filter"
---

# spatialite\_osm\_filter(1)

loading OSM-XML maps into a SpatiaLite DB

## NAME

spatialite\_osm\_filter - loading OSM-XML maps into a SpatiaLite DB

## SYNOPSIS

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

## DESCRIPTION

**spatialite\_osm\_filter** 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 (output) file path

- FC**-w**F\[0\] *pathname*, FC**--wkt-mask-path**F\[0\] *pathname*

  path of text file \[WKT mask\]

- 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
