[GRASS-dev] Extracting a subset from a set of (vector) points

Wolf Bergenheim wolf+grass at bergenheim.net
Thu Jan 25 12:24:49 EST 2007


Damiano Triglione wrote:
> Hi,
> I need to extract, from a vector points file, a subset of points, 
> according to the IDs listed (after a sort) in another ASCII files, 
> "indexes".

v.extract can take a file of ids to extract like this:

v.extract input=map output=extracted file=file_with_ids new=-1

from this new vector extracted, you should be able to get what info you 
want.

--Wolf

-- 

<:3 )---- Wolf Bergenheim ----( 8:>


-- 

<:3 )---- Wolf Bergenheim ----( 8:>




More information about the grass-dev mailing list