[GRASS-user] identify features without cat

Martin Landa landa.martin at gmail.com
Mon Oct 8 02:23:54 EDT 2007


Hi Dylan,

2007/10/8, Dylan Beaudette <dylan.beaudette at gmail.com>:

> 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

> 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 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>


-- 
Martin Landa <landa.martin at gmail.com> * http://gama.fsv.cvut.cz/~landa *




More information about the grass-user mailing list