Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shpcreate(1) [debian man page]

SHAPELIB(1)							   User Commands						       SHAPELIB(1)

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
dbfadd(1), dbfcreate(1), dbfdump(1), dbf_dump(1), shpadd(1), shpdump(1), shprewind(1) shapelib OCTOBER 2004 SHAPELIB(1)

Check Out this Related Man Page

SHAPELIB(1)							   User Commands						       SHAPELIB(1)

NAME
dbfcreate - Create an empty xBase DBF file SYNOPSIS
dbfcreate filename[[-s fieldname width] | [-n fieldname width decimals]]... DESCRIPTION
Creates an empty DBF file called filename with columns described by all the -s and -n options that follow. OPTIONS
-s fieldname width adds a column named fieldname taking textual values of at most width characters. -n fieldname width decimals adds a column named fieldname taking numeric values of at most width digits and precision of at most decimals decimal places. The number of digits of precision should be included in width. EXIT STATUS
0 Successful program execution. 1 Missing filename argument. 2 Failed to create the file filename for writing. 3 Missing fieldname,width, or decimals argument for a -s or -n option. 4 Failed to add a column given by a -s or -n option. DIAGNOSTICS
The following diagnostics may be issued on stdout: DBFCreate(filename) failed. DBFAddField(fieldname,FTString,width,0) failed. DBFAddField(fieldname,FTDouble,width,decimals) failed. Argument incomplete, or unrecognised: arg 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), dbfdump(1), dbf_dump(1), shpadd(1), shpcreate(1), shpdump(1), shprewind(1) shapelib OCTOBER 2004 SHAPELIB(1)
Man Page