<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi list,<br>
I have some (basic) vector related questions:<br>
<div class="moz-signature"><br>
After cleaning a vector map, it doesnt have continuous (i.e. no
gaps in numbering) categories, how do I efficiently reset these to
so that they have regular increments (i.e. 1) again? r.clump does
something very similar with vectors. I have tried dropping and
adding a new table, deleting and adding categories with
v.category. I thought v.reclass may do the trick but I'd first
need a column with continuous numbers for that.<br>
<br>
Somewhat related to this, what is the best/most efficient way of
updating an entire column of a vector table from a numpy array.
v.update does do it for one entry only, i.e. looping would be
possible, but that takes ages. Would I have to go back to using
basic sqlite3 packages for that?<br>
<br>
Thanks,<br>
<br>
<br>
-- <br>
<hline>
Michel Wortmann | MPhil/PhD student (University College London)
| RD II: Impacts & Vulnerabilities | PIK |
<a class="moz-txt-link-abbreviated" href="mailto:wortmann@pik-potsdam.de">wortmann@pik-potsdam.de</a> | +49 331 288-2461</hline></div>
</body>
</html>