---
name: "shptest"
section: "1"
platform: "linux"
package: "shapelib"
version: "1.4.1-3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/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), [**shpcentrd**(1)](/shpcentrd/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)
