---
name: "shpcentrd"
section: "1"
platform: "linux"
package: "shapelib"
version: "1.6.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/dbfadd/1.md), [**dbfcat**(1)](/dbfcat/1.md), [**dbfcreate**(1)](/dbfcreate/1.md), [**dbfdump**(1)](/dbfdump/1.md), [**dbfinfo**(1)](/dbfinfo/1.md), [**shpadd**(1)](/shpadd/1.md), [**shpcat**(1)](/shpcat/1.md), [**shpcreate**(1)](/shpcreate/1.md), [**shpdump**(1)](/shpdump/1.md), [**shpdxf**(1)](/shpdxf/1.md), [**shpfix**(1)](/shpfix/1.md), [**shpinfo**(1)](/shpinfo/1.md), [**shpproj**(1)](/shpproj/1.md), [**shprewind**(1)](/shprewind/1.md), [**shptest**(1)](/shptest/1.md)
