Hello,

May be duplicate your file and remove the unwanted column.

Frank


Le 09/02/2022 à 01:39, Bernardo Santos via grass-user a écrit :
Dear list,

Is there a GRASS GIS command (maybe a v.db.* one) to subset, in a single command, the columns of a vector?

What I have: vector "vect" with 5 columns "a, b, c, d, e" in the attribute table
What I want: vector "vect_sub" with only, for instance, "a, c, e"

I can use v.extract to subsample rows, but not columns. What is the easiest way of doing that, what needing many commands (like creating or copying the vector to a new one, creating a new attribute table, then copying only the columns I want).
I looked for that in the documentation but did not found it so easily.

Thanks!
Bernardo

_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to