[GRASS-user] db.? to change column names

Markus Neteler neteler at osgeo.org
Fri Aug 31 00:17:07 PDT 2018


On Fri, Aug 31, 2018 at 12:09 AM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
>    I imported a .dat file using v.in.ascii to a lon_lat location, then
> re-projected it to the desired location. The column names for the CRS in the
> database were still 'lon' and 'lat'. I did not see a db.* module to change
> the names; neither db.columns nor db.describe have this capability.

Maybe this helps: it allows to rename a column in the attribute table
connected to a given vector map:
https://grass.osgeo.org/grass74/manuals/v.db.renamecolumn.html

Markus


More information about the grass-user mailing list