DBFDUMP(1) | shplib | DBFDUMP(1) |
dbfdump - dumps the content of a xBase file to the terminal
dbfdump [-h] [-r] [-m] xbase_file
Dumps the contents of xbase_file to standard output. The first line contains the field names appearing in xbase_file, and each of the following lines contains the field values of a record. Field names and values are padded by spaces to their field widths. Empty fields are printed as the string "(NULL)".
dbfdump -h testbase.dbf
assuming that testbase.dbf has 1 record (inserted by other example using dbfadd), this command line will produce the following output:
Field 0: Type=String, Title=´NAME´, Width=20, Decimals=0 Field 1: Type=Double, Title=´AREA´, Width=9, Decimals=3 Field 2: Type=Double, Title=´VALUE´, Width=9, Decimals=2 NAME AREA VALUE REGION1 25.656 150.22
The following diagnostics may be issued on stdout:
DBFOpen(xbase_file,"r") failed.
There are no fields in this table!
dbfdump 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).
Unless the -r option is given, values in numeric fields that overflow the int or double types of the C language are printed as plus or minus a huge number. For integer fields the huge value is HUGE_VALL from
dbfadd(1), dbfcat(1), dbfcreate(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)
April 2020 |