Create an empty esri shapefile
shpcreate file shapetype
Creates an empty shapefile supporting shapes of the given type shapetype. Shapefiles actually consist of two files with the same basename and extensions .shpand.shx (or .SHPand.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.
0
Successful program execution.
1
Missing file or shapetype argument.
2
Unknown shapetype.
3
Unable to create the shapefile.
The following diagnostics may be issued on stdout:
Shape Type `shapetype' not recognised.
Unable to create:file
Frank Warmerdam ([email protected]) is the maintainer of the shapelib shapefile library. Joonas Pihlaja ([email protected]) wrote this man page.
dbfadd(1), dbfcreate(1), dbfdump(1), dbf_dump(1), shpadd(1), shpdump(1), shprewind(1)