[GRASS-user] GRASS-way to delete points from a map and attribute table

Stefan Blumentrath Stefan.Blumentrath at nina.no
Thu Nov 9 01:27:36 PST 2017


So, removing records from the attribute table would be a job for db.execute of db.select I guess…

From: Johannes Radinger [mailto:johannesradinger at gmail.com]
Sent: torsdag 9. november 2017 10.17
To: Stefan Blumentrath <Stefan.Blumentrath at nina.no>
Cc: GRASS user list <grass-user at lists.osgeo.org>
Subject: Re: [GRASS-user] GRASS-way to delete points from a map and attribute table

Dear Stefan,
thanks for the tip, but as said I tried already v.edit but somehow this tools does not modify the attribute table (or do I miss something here?)
/Johannes

On Thu, Nov 9, 2017 at 10:10 AM, Stefan Blumentrath <Stefan.Blumentrath at nina.no<mailto:Stefan.Blumentrath at nina.no>> wrote:
Did you try v.edit:
https://grass.osgeo.org/grass72/manuals/v.edit.html
Cheers
Stefan

From: grass-user [mailto:grass-user-bounces at lists.osgeo.org<mailto:grass-user-bounces at lists.osgeo.org>] On Behalf Of Johannes Radinger
Sent: torsdag 9. november 2017 10.04
To: GRASS user list <grass-user at lists.osgeo.org<mailto:grass-user at lists.osgeo.org>>
Subject: [GRASS-user] GRASS-way to delete points from a map and attribute table

Hi,

what would be the most GRASS-like way to delete several points from a points vector map.

I know the specific cats of the points I would like to delete (10 of 200000) and I want to delete the points from the map and, of course, also from the corresponding attribute table. I already tried v.edit but here the points are not deleted from the attribute table. I could also use v.extract with the reverse flag, however this requires to define a new output map (which I would like to avoid if possible). Any straight forward way in GRASS?

/Johannes

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20171109/a3dd8221/attachment-0001.html>


More information about the grass-user mailing list