[GRASS-user] howto change arrtibute column name

Maciej Sieczka tutey at o2.pl
Tue Oct 3 08:13:06 EDT 2006


Zbigniew Perski wrote:
> Hi,
> I have imported successfully a large dataset to grass. After the import
> the attribute columns are named like this: dbl_1 dbl_2......
> I would like to change this names for something more friendly. I tried
> some dbf editors but the allow only to change values but not the
> database structure.
> Any ideas?

OO.org let's you edit column names.

If more than 64k row use db.execute to copy all the attributes from
column 'oryg_name' in the input table to a column 'new_name' in the
output table, v.db.connect to change connection with tables.

Maciek




More information about the grass-user mailing list