On Sunday 07 October 2007, Martin Landa wrote: > Hi Dylan, > > 2007/10/8, Dylan Beaudette <[EMAIL PROTECTED]>: > > After some frustration with the GRASS-R functionality as implemented > > via temp shapefiles, I realized that the source of the problem was > > features missing cat values. > > > > I poked around with v.edit, but did not see any simple way to ID or > > remove features missing a cat value. The '-c' option in v.out.ogr was > > a temporary fix, but I would like to be able to identify / remove > > cat-less features without using v.out.ogr . > > to extract only features with category number using v.extract should > work(?) > > v.extract in=r out=rc list=1-9999 > > or > > v.edit map=r cats=1-9999 tool=select > > resp. > > v.edit map=r cats=1-9999 tool=select -r > > Martin
Thanks Martin. It turned out that the problem was associated with missing centroids, and the v.extract list=1-999999 trick did not work... Dylan > > Any tips on how to do this / or where work would need to be done? > > > > Cheers, > > > > Dylan > > > > PS: working with GRASS6-CVS > > > > _______________________________________________ > > grassuser mailing list > > grassuser@grass.itc.it > > http://grass.itc.it/mailman/listinfo/grassuser -- Dylan Beaudette Soil Resource Laboratory http://casoilresource.lawr.ucdavis.edu/ University of California at Davis 530.754.7341 _______________________________________________ grassuser mailing list grassuser@grass.itc.it http://grass.itc.it/mailman/listinfo/grassuser