<html style="direction: ltr;">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
  </head>
  <body bidimailui-charset-is-forced="true" style="direction: ltr;"
    text="#000000" bgcolor="#FFFFFF">
    IMHO it would be helpful to add a flag to v.edit to also delete the
    database entries when tool=delete.<br>
    In general use, when I delete a feature, I don't expect to leave
    orphaned entries in the attribute table.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/09/2017 12:25 PM, Johannes
      Radinger wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABsGe_yHjf4C60j-QvvmMtJfK8N+PjNNvb7H1Kwa+dfmQNPzEw@mail.gmail.com">
      <div dir="ltr">Indeed, finally I also used a combination of v.edit
        to remove the point from the map and db.execute ("DELETE FROM
        my_point_map WHERE cat IN (1,2,3)") to delete the entries from
        the attribute table. 
        <div><br>
        </div>
        <div>/Johannes</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Nov 9, 2017 at 10:27 AM, Stefan
          Blumentrath <span dir="ltr"><<a
              href="mailto:Stefan.Blumentrath@nina.no" target="_blank"
              moz-do-not-send="true">Stefan.Blumentrath@nina.no</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div link="blue" vlink="purple" lang="NO-BOK">
              <div class="m_4683400109284252991WordSection1">
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
                    lang="EN-GB">So, removing records from the attribute
                    table would be a job for db.execute of db.select I
                    guess…</span></p>
                <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                <p class="MsoNormal"><b><span
                      style="font-size:11.0pt;font-family:"Calibri",sans-serif"
                      lang="EN-US">From:</span></b><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"
                    lang="EN-US"> Johannes Radinger [mailto:<a
                      href="mailto:johannesradinger@gmail.com"
                      target="_blank" moz-do-not-send="true">johannesradinger@<wbr>gmail.com</a>]
                    <br>
                    <b>Sent:</b> torsdag 9. november 2017 10.17<br>
                    <b>To:</b> Stefan Blumentrath <<a
                      href="mailto:Stefan.Blumentrath@nina.no"
                      target="_blank" moz-do-not-send="true">Stefan.Blumentrath@nina.no</a>><br>
                    <b>Cc:</b> GRASS user list <<a
                      href="mailto:grass-user@lists.osgeo.org"
                      target="_blank" moz-do-not-send="true">grass-user@lists.osgeo.org</a>><br>
                    <b>Subject:</b> Re: [GRASS-user] GRASS-way to delete
                    points from a map and attribute table</span></p>
                <div>
                  <div class="h5">
                    <p class="MsoNormal"> </p>
                    <div>
                      <p class="MsoNormal">Dear Stefan,</p>
                      <div>
                        <p class="MsoNormal">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?)</p>
                      </div>
                      <div>
                        <p class="MsoNormal">/Johannes</p>
                      </div>
                    </div>
                    <div>
                      <p class="MsoNormal"> </p>
                      <div>
                        <p class="MsoNormal">On Thu, Nov 9, 2017 at
                          10:10 AM, Stefan Blumentrath <<a
                            href="mailto:Stefan.Blumentrath@nina.no"
                            target="_blank" moz-do-not-send="true">Stefan.Blumentrath@nina.no</a>>
                          wrote:</p>
                        <blockquote style="border:none;border-left:solid
                          #cccccc 1.0pt;padding:0cm 0cm 0cm
                          6.0pt;margin-left:4.8pt;margin-right:0cm">
                          <div>
                            <div>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
                                  lang="EN-GB">Did you try v.edit:</span></p>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
                                  lang="EN-GB"><a
                                    href="https://grass.osgeo.org/grass72/manuals/v.edit.html"
                                    target="_blank"
                                    moz-do-not-send="true">https://grass.osgeo.org/<wbr>grass72/manuals/v.edit.html</a></span></p>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
                                  lang="EN-GB">Cheers</span></p>
                              <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"
                                  lang="EN-GB">Stefan</span></p>
                              <p class="MsoNormal"><span lang="EN-GB"> </span></p>
                              <p class="MsoNormal"><b><span
                                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"
                                    lang="EN-US">From:</span></b><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif"
                                  lang="EN-US"> grass-user [mailto:<a
                                    href="mailto:grass-user-bounces@lists.osgeo.org"
                                    target="_blank"
                                    moz-do-not-send="true">grass-user-bounces@<wbr>lists.osgeo.org</a>]
                                  <b>On Behalf Of </b>Johannes Radinger<br>
                                  <b>Sent:</b> torsdag 9. november 2017
                                  10.04<br>
                                  <b>To:</b> GRASS user list <<a
                                    href="mailto:grass-user@lists.osgeo.org"
                                    target="_blank"
                                    moz-do-not-send="true">grass-user@lists.osgeo.org</a>><br>
                                  <b>Subject:</b> [GRASS-user] GRASS-way
                                  to delete points from a map and
                                  attribute table</span></p>
                              <div>
                                <div>
                                  <p class="MsoNormal"> </p>
                                  <div>
                                    <p class="MsoNormal">Hi,</p>
                                    <div>
                                      <p class="MsoNormal"> </p>
                                    </div>
                                    <div>
                                      <p class="MsoNormal">what would be
                                        the most GRASS-like way to
                                        delete several points from a
                                        points vector map. </p>
                                    </div>
                                    <div>
                                      <p class="MsoNormal"> </p>
                                    </div>
                                    <div>
                                      <p class="MsoNormal">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?</p>
                                    </div>
                                    <div>
                                      <p class="MsoNormal"> </p>
                                    </div>
                                    <div>
                                      <p class="MsoNormal">/Johannes</p>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <p class="MsoNormal"> </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
  </body>
</html>