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

# shpcentrd(1)

computes XY centroid for polygon shapefiles ##SYNOPSIS shpcentrd shp\_file new\_shp\_file ##OPTIONS ##EXAMPLE shpcentrd apolygonfile pointcentrd ##AUTHOR shpcentrd 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), shpcreate(1), shpdump(1), shpdxf(1), shpfix(1), shpinfo(1), shpproj(1), shprewind(1), shptest(1)

## NAME

**shpcentrd** - computes XY centroid for polygon shapefiles

\##SYNOPSIS **shpcentrd** *shp\_file* *new\_shp\_file*

\##OPTIONS

- *shp\_file*

  the name of an existing polygon shapefile.

- *new\_shp\_file*

  the name of the point shapefile that will be created

\##EXAMPLE **shpcentrd** *apolygonfile* *pointcentrd*

\##AUTHOR **shpcentrd** 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), [**shpcreate**(1)](/man/shpcreate/1.md), [**shpdump**(1)](/man/shpdump/1.md), [**shpdxf**(1)](/man/shpdxf/1.md), [**shpfix**(1)](/man/shpfix/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)
