---
name: "coshp"
section: "1"
platform: "linux"
package: "mapserver-bin"
version: "8.4.0-4+deb13u2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/coshp"
---

# coshp(1)

sort a shapefile based on the spatial index file

## NAME

coshp - sort a shapefile based on the spatial index file

## SYNOPSIS

FC**coshp**F\[0\]  \[ *infile* *outfile*  \]

## DESCRIPTION

**coshp** sorts a shapefile based on the spatial index file.

## OPTIONS

- *infile*

  The name of the .shp file

- *outfile*

  The name of the .shp/.shx and .dbf files to create
