SHAPELIB(1) User Commands SHAPELIB(1)NAME
dbfadd - add a row to an xBase DBF file
SYNOPSIS
dbfadd filename fieldvalues...
DESCRIPTION
Adds a row to the DBF file named by filename with column values given by the fieldvalues options that follow. A NULL value is denoted by
an empty argument.
EXIT STATUS
0 Successful program execution.
1 Missing filename or fieldvalues arguments.
2 Failed to open filename for reading and appending.
3 Too few values in fieldvalues...
DIAGNOSTICS
The following diagnostics may be issued on stdout:
DBFOpen(filename,"rb+") failed.
Got count1 fields, but require count2
AUTHORS
Frank Warmerdam (warmerdam@pobox.com) is the maintainer of the shapelib shapefile library. Joonas Pihlaja (jpihlaja@cc.helsinki.fi) wrote
this man page.
BUGS
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(3) get undefined values.
SEE ALSO dbfcreate(1), dbfdump(1), dbf_dump(1), shpadd(1), shpcreate(1), shpdump(1), shprewind(1)shapelib OCTOBER 2004 SHAPELIB(1)
Check Out this Related Man Page
SHAPELIB(1) User Commands SHAPELIB(1)NAME
shptest - create some shapefiles for testing
SYNOPSIS
shptest num
DESCRIPTION
Writes out a shapefile consisting of files testnum.shp and testnum.shx in the current directory. The num argument specifies the type of
shapes in the shapefile to create and takes values from:
0 NullShape
1 Point
2 PointZ
3 PointM
4 MultiPoint
5 MultiPointZ
6 MultiPointM
7 Arc
8 ArcZ
9 ArcM
10 Polygon
11 PolygonZ
12 PolygonM
13 MultiPatch
EXIT STATUS
0 Successful program execution.
1 Missing argument.
10 Test `num' not recognised.
DIAGNOSTICS
The following diagnostics may be issued on stdout:
Test `num' not recognised.
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), shpcreate(1), shpdump(1), shprewind(1)shapelib OCTOBER 2004 SHAPELIB(1)
Hi my prob statement is to create a new file or to append to the 1tst file the followign chages.
File 1: txt file.
portfolio No a b c d
abc 1 Any Any Any charString
cds 2 values values values charString
efd 3 can can can charString
fdg 4 come come come charString... (4 Replies)
i have a part of script that is not getting me what i want?
Below the script
count=5
count1=1
if
then
echo $count1
count1=`expr $count1 + 1`
fi
--------------------------------------------------------
The result i want is 1 2 3 4 5
But its giving me result as only 1.
Plz help... (2 Replies)
I have two files as Count1 and Count2. The count contains only one values as 10 and count2 contains only one
values as 20. Now I want third file Count3 as count1+Count2. That is it should contain sum of two file(10+20=30) (3 Replies)
Hello all
I have data like below where the column with values (PRI, SEC ) is the char field and the rest are Numeric Fields.
200707,9580,58,7,2,1,PRI,1,1,137,205594,0,5,10,-45.51,-45.51
200707,9580,58,7,2,1,SEC,1,1,137,205594,0,5,10,-45.51,45.51... (1 Reply)
Hi,
I am converting a .DBF file to pipe delimited file
my requirement is like
lets say my .DBF is residing in path /a/b/c/d/f/abc.DBF
I need my .txt file as
having a column with source _cd =f
sample data in .DBF in folder "f"
c1 c2 c3
1 2 3
in txt file it should be... (4 Replies)