- add a row to an xBase DBF file
dbfadd xbase_file field_values...
Adds a row to the DBF file named by xbase_file
with column values given
by the field_values
options that follow. A NULL value is denoted by an
- the name of an existing xBase file
dbfadd testbase.dbf REGION1 25.656 150.22
- list of values to be inserted into the xBase file. You must
specify a number of values equal to the number of fields the xBase file
has. The order of values must also reflect the order of fields inside
Assuming that testbase.dbf
has 3 fields (NAME
), this command line will insert a new record into
with the value " REGION1
, ´ 25.656
´ for AREA
´ for VALUE
- Successful program execution.
- Missing xbase_file or field_values
- Failed to open xbase_file for reading and
- Too few values in field_values...
The following diagnostics may be issued on stdout:
fields, but require count2
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
Field values that are too large to fit in a field are silently truncated from
the right. Numeric field values that can´t be parsed by atof
get undefined values.