---
name: "shptest"
section: "1"
platform: "linux"
package: "shapelib"
version: "1.4.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://carta.tech/man/shptest"
---

# shptest(1)

create some shapefiles for testing

## NAME

**shptest** - create some shapefiles for testing

## SYNOPSIS

**shptest** *num*

## DESCRIPTION

Writes out a shapefile consisting of files test*num*.shp and test*num*.shx in the current directory. The *num* argument specifies the type of shapes in the shapefile to create and takes values from:

- **0**

  **NullShape**

- **1**

  **Point**

- **2**

  **PointZ**

- **3**

  **PointM**

- **4**

  **MultiPoint**

- **5**

  **MultiPointZ**

- **6**

  **MultiPointM**

- **7**

  **Arc**

- **8**

  **ArcZ**

- **9**

  **ArcM**

- **10**

  **Polygon**

- **11**

  **PolygonZ**

- **12**

  **PolygonM**

- **13**

  **MultiPatch**

## EXIT STATUS

- **0**

  Successful program execution.

- **1**

  Missing argument.

- **10**

  Test \`*num*´ not recognised.

## DIAGNOSTICS

The following diagnostics may be issued on stdout:

Test \`*num*´ not recognised.

## AUTHORS

Frank Warmerdam (warmerdam@pobox.com) is the maintainer of the shapelib shapefile library. Joonas Pihlaja (jpihlaja@cc.helsinki.fi) wrote this man page.

## 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), [**shpfix**(1)](/man/shpfix/1.md), [**shpinfo**(1)](/man/shpinfo/1.md), [**shpproj**(1)](/man/shpproj/1.md), [**shprewind**(1)](/man/shprewind/1.md)
