---
name: "shpfix"
section: "1"
platform: "linux"
package: "shapelib"
version: "1.6.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://carta.tech/man/shpfix"
---

# shpfix(1)

fix nulls and inconsistencies in shapefiles ##SYNOPSIS shpfix in\_shp\_file out\_shp\_file \[record# to blank\] ##OPTIONS ##EXAMPLE shpfix broken fixed ##AUTHOR shpfix is part of shapelib, maintained by Frank Warmerdam. This guide was created by Eduardo Patoo Kanegae and converted to manpage by Johan Van de Wauw. ##SEE ALSO dbfadd(1), dbfcat(1), dbfcreate(1), dbfdump(1), dbfinfo(1), shpadd(1), shpcat(1), shpcentrd(1), shpcreate(1), shpdump(1), shpdxf(1), shpinfo(1), shpproj(1), shprewind(1), shptest(1)

## NAME

**shpfix** - fix nulls and inconsistencies in shapefiles

\##SYNOPSIS **shpfix** *in\_shp\_file* *out\_shp\_file* \[*record# to blank*\]

\##OPTIONS

- *in\_shp\_file*

  the name of an existing shapefile.

- *out\_shp\_file*

  the name of the new fixed shapefile that will be created.

\##EXAMPLE **shpfix** *broken* *fixed*

\##AUTHOR **shpfix** is part of shapelib, maintained by Frank Warmerdam. This guide was created by Eduardo Patoo Kanegae and converted to manpage by Johan Van de Wauw.

\##SEE ALSO [**dbfadd**(1)](/man/dbfadd/1.md), [**dbfcat**(1)](/man/dbfcat/1.md), [**dbfcreate**(1)](/man/dbfcreate/1.md), [**dbfdump**(1)](/man/dbfdump/1.md), [**dbfinfo**(1)](/man/dbfinfo/1.md), [**shpadd**(1)](/man/shpadd/1.md), [**shpcat**(1)](/man/shpcat/1.md), [**shpcentrd**(1)](/man/shpcentrd/1.md), [**shpcreate**(1)](/man/shpcreate/1.md), [**shpdump**(1)](/man/shpdump/1.md), [**shpdxf**(1)](/man/shpdxf/1.md), [**shpinfo**(1)](/man/shpinfo/1.md), [**shpproj**(1)](/man/shpproj/1.md), [**shprewind**(1)](/man/shprewind/1.md), [**shptest**(1)](/man/shptest/1.md)
