Appends a shape to the shapefile determined from
The geometric data of the new shape consists of lists of
points on the command line grouped into
with points in different parts separated by a plus
sign. If no points or parts are given then a shape of type
is appended to the shapefile, and otherwise the type of the new shape
is determined by the shapefile's header. See
for a description of shape types and how geometric data for parts are
interpreted for a specific type. No geometric restrictions set by the
shapefile specification are enforced by
Shapefiles actually consist of two files with the same basename and
.shp and .shx (or .SHP and .SHX)
containing the shape data and shape index respectively. The files
to open are determined by first stripping any filename extension
and attempting to open the files
for the respective data and index files.
Successful program execution.
argument, the shapefile can't be opened, or the program
ran out of memory.
The following diagnostics may be issued on stdout:
Coordinate values that can't be
be parsed by
get undefined values. There's no way to give measure or
data to vertices in a shape, but those are always set to zero
if the shapefile's shape type requires those values.
shape types aren't supported.