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.

-nfieldnamewidthdecimals

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 ([email protected]) is the maintainer of the shapelib shapefile library. Joonas Pihlaja ([email protected]) wrote this man page.

RELATED TO dbfcreate…