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

Michael Barton michael.barton at asu.edu
Mon Sep 17 15:25:07 EDT 2007


It also depends on what you mean by 'how many vectors'. Number of points,
lines, segments, areas, centroids, etc. v.info gives some of this
information.

Michael


On 9/17/07 11:29 AM, "Patton, Eric" <epatton at nrcan.gc.ca> wrote:

> 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.
> 
> 

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 




More information about the grass-user mailing list