I have a point vector with attributes (cat, dem_value, ndvi_value).
I have a another vector/polygon (converted from contour) with attributes (cat, ID, dem_value). I need to extract points (points with corresponding ndvi_value and dem_value) that are inside the polygon. I've tried using v.extract, v.select and v.vect.stats. However, I could not get the results.
I used following command in GRASS (wanted to delete the all attributes that are not within the polygon): v.edit -r map=DEM_exp_point tool=delete polygon=688577.298919,5087607.23962, 688576.065972,5087617.45547, 688582.406842,5087621.33044, 688551.232139,5087597.13671, 688550.880526,5087597.13671, 688562.659564,5087604.69639, 688575.493441,5087606.80606 Selecting features... 619 of 792 features selected from vector map 619 features deleted Building topology for vector map ... Registering primitives... 173 primitives registered 173 vertices registered Building areas... 0 areas built 0 isles built Attaching islands... Attaching centroids... Number of nodes: 0 Number of primitives: 173 Number of points: 173 Number of lines: 0 Number of boundaries: 0 Number of centroids: 0 Number of areas: 0 Number of isles: 0
seems it works .. I can see the points (graphical Map display) that lie inside the polygon but no change in the point vector (attribute table). How can I distinguish and extract those points from the Attribute table?