logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dbfcreate - Create an empty xBase DBF file

Contents

Name

dbfcreate - Create an empty xBase DBF file

       ##SYNOPSIS dbfcreatexbase_file [[-sfield_namewidth] | [-nfield_namewidthdecimals],...]

       ##DESCRIPTION  Creates  an  empty  DBF file called xbase_file with columns described by all the -s and -n
       options that follow.

       ##OPTIONS

       xbase_file
              the name of xBase file to be created. Doesn't need the extension.

       -sfield_namewidth
              creates a string field with name field_name and size width.

       -nfield_namewidthdecimals
              creates a numeric field with name field_name, width of width and with  decimals  places  sized  by
              decimals.

       ##EXAMPLE dbfcreatetestbase-sNAME20, -nAREA93, -nVALUE92

       this  will  create  a  file  named testbase.dbf with 3 fields: NAME (string (20)), AREA (float (9,3)) and
       VALUE (float (9,2))

       ##EXIT STATUS

       0      Successful program execution.

       1      Missing xbase_file argument.

       2      Failed to create the file xbase_file for writing.

       3      Missing field_name, 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(xbase_file) failed.

       DBFAddField(field_name,FTString,width,0) failed.

       DBFAddField(field_name,FTDouble,width,decimals) failed.

       Argument incomplete, or unrecognised: arg

       ##AUTHOR dbfcreate is part of shapelib, maintained by Frank Warmerdam. This guide was created by  Eduardo
       Patoo  Kanegae  and  converted to manpage by Johan Van de Wauw. It was further enhanced with the man page
       written by Joonas Pihlaja (jpihlaja@cc.helsinki.fi).

       ##SEE  ALSO  dbfadd(1),  dbfcat(1),   dbfdump(1),   dbfinfo(1),   shpadd(1),   shpcat(1),   shpcentrd(1),
       shpcreate(1), shpdump(1), shpdxf(1), shpfix(1), shpinfo(1), shpproj(1), shprewind(1), shptest(1)

                                                   August 2024                                      DBFCREATE(1)

See Also