[GRASS-user] v.select - so close but so far!

Hamish hamish_nospam at yahoo.com
Thu Jun 22 06:10:12 EDT 2006


> i'm using v.select as such:
> 
> v.select ainput=buildings atype=point alayer=1 binput=clipper
> btype=area blayer=1 outpout=buildclip operator=overlap
> 
> where buildings are a point, with layer 1 (verified through QGIS)
> where clipper is a polygon that is the bounds i want to pull the
> building points from.  the odd thing about this dataset, is that when
> i go to load in QGIS, there are two layer options, layer 0 which is
> polygon and layer 1 which is line.
> 
> i cant specify blayer=0 in this function or it says must be 1 or
> greater.
> 
> is there a way to put the polygon layer on layer 1? i can only think
> this might be why there's a problem.  I still dont really grasp the
> layers concept very well.  i understand it has to do with linking
> features to a database, but why does it put different features on
> different layers?
> 
> the output i get is a file with no data in it.


I don't think QGIS layers == GRASS layers.

Unless you are doing something advanced, usually grass vector layer is 1
and you can forget about that.

"v.info clipper"  show boundaries + centroids or lines?

features need a category number in order to be extracted. does
d.what.vect show cat numbers for your points?

v.select works well and should be pretty simple, so don't give up.


Hamish




More information about the grass-user mailing list