<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>May be duplicate your file and remove the unwanted column.</p>
<p>Frank<br>
</p>
<p><br>
</p>
<div class="moz-signature">
<style>
div#signature {font-size:10px;color:#666;margin:10px 0}
div.nom {font-weight:bold}
div.titre {}
div.geophom {font-size:11px;font-weight:bold;color:#A1CD1A;margin-top:10pxHello,</style></div>
<div class="moz-signature">
<style>
</style> </div>
<div class="moz-cite-prefix">Le 09/02/2022 à 01:39, Bernardo Santos
via grass-user a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:2111066748.176569.1644367185527@mail.yahoo.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="yahoo-style-wrap" style="font-family:Helvetica Neue,
Helvetica, Arial, sans-serif;font-size:16px;">
<div dir="ltr" data-setdir="false">Dear list,</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">Is there a GRASS GIS command
(maybe a v.db.* one) to subset, in a single command, the
columns of a vector?</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">What I have: vector "vect"
with 5 columns "a, b, c, d, e" in the attribute table</div>
<div dir="ltr" data-setdir="false">What I want: vector
"vect_sub" with only, for instance, "a, c, e"</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">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).</div>
<div dir="ltr" data-setdir="false">I looked for that in the
documentation but did not found it so easily.</div>
<div dir="ltr" data-setdir="false"><br>
</div>
<div dir="ltr" data-setdir="false">Thanks!</div>
<div dir="ltr" data-setdir="false">Bernardo</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a>
</pre>
</blockquote>
</body>
</html>