man shpcreate (Commandes) - create an empty ESRI shapefile

NAME

shpcreate - create an empty ESRI shapefile

SYNOPSIS

shpcreate file shapetype

DESCRIPTION

Creates an empty shapefile supporting shapes of the given type shapetype. Shapefiles actually consist of two files with the same basename and extensions .shp and .shx (or .SHP and .SHX) containing the shape data and shape index respectively. The files to create are determined by first stripping any filename extension from file and attempting to create the files file.shp or file.SHP, and file.shx or file.SHX for the respective data and index files. The supported values for the shapetype argument are: point, arc, polygon, and multipoint.

EXIT STATUS

0
Successful program execution.
1
Missing file or shapetype argument.
2
Unknown shapetype.
3
Unable to create the shapefile.

DIAGNOSTICS

The following diagnostics may be issued on stdout:

Shape Type `shapetype' not recognised.
Unable to create:file

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