[GRASS-user] How to find all vectors that overlay a given region

Patton, Eric epatton at nrcan.gc.ca
Mon Sep 17 14:29:09 EDT 2007


Hi,

I'm trying to find out how to determine how many vectors in an entire mapset overlay a given region. What is the best approach to do this - import the current region as a vector using v.in.region (type parameter as area), then run v.select on every vector in the mapset in a loop, or is there a better way? I see that v.overlay/v.select takes one map as input for both the ainput and binput parameters.

How hard would it be to change the structures in v.select to accept multiple inputs, or is this even feasible?

Thanks,

~ Eric.




More information about the grass-user mailing list