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

# shp\_sanitize(1)

analysis/sanitizing tool for broken SHAPEFILES

## NAME

shp\_sanitize - analysis/sanitizing tool for broken SHAPEFILES

## SYNOPSIS

FC**shp\_sanitize**F\[0\]  \[*OPTIONS*\]

## DESCRIPTION

**shp\_sanitize** is an analysis/sanitizing tool for SHAPEFILES.

## OPTIONS

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

  print help message

- FC**-idir**F\[0\] *pathname*, FC**--in-dir**F\[0\] *pathname*

  directory expected to contain all SHPs to be checked

- FC**-odir**F\[0\] *pathname*, FC**--out-dir**F\[0\] *pathname*

  directory where to store all repaired SHPs

- FC**-geom**F\[0\], FC**--invalid-geoms**F\[0\]

  checks for invalid Geometries

- FC**-esri**F\[0\], FC**--esri-flag**F\[0\]

  tolerates ESRI-like inner holes

- FC**-force**F\[0\], FC**--force-repair**F\[0\]

  unconditionally repair
