[GRASSLIST:3923] can't rewrite dig_att file with v.apply.census
Rengie Chan
wchan at lbl.gov
Thu Jun 20 21:39:38 EDT 2002
I'm using grass5.0pre4 on linux, and I ran into a problem of not able to
rewrite the dig_att file with v.apply.census.
I'm able to create a vector file of the census tracts of a county
generated by v.in.tig.basic. I can viewed the dig_att file and it looks
like this (UTM coordinates, line ID). Example:
L 437001.1041116 4519726.441766 176111562
I then used m.in.stf1.tape to extract the county(035) and summary
level(140) and stored it in a file named stf1.tract . Example:
STF1A UT1400000000389400010002 1001
!!035!! 8 !!!!!!
!!!!48749 3 00000040630000000000Tract
1001 S
000000622+40789667-111909149 000001449
000001449000000290000000480000000000000000000000000000000001449000000767000000682000001100000000044000000061000000126000000118000001100000000044000000061000000000000000000000000013000000001000000016000000000000000005000000019000000052000000002000000005000000000000000003000000000000000001000000009000000000000000000000000000000000000000000000000000118000000323000001126000000209000000005000000007000000102000000912000000043000000055000000113000000003000000188000000001000000006000000013000000115
I know I need to use v.apply.census to rewrite the dig_att file so as to
replace the line ID with census tract number, but I can't get this to
work. It won't replace the file, even after I ran v.support . Instead, I
saw on screen a list of census tract number extracted from stf1.tract .
I named the vector file as tract.vect and so I called v.apply.census
this way:
v.apply.census in=/.../stf1.tract out=att f='tract.vect=F52'
(52 is the position where the census tract number begins)
Does anyone know why? I really appreciate if you would kindly point it
out to me.
Thanks.
-Rengie
More information about the grass-user
mailing list