[GRASS-dev] [GRASS GIS] #3226: v.select: how to handle situation where no features are found

GRASS GIS trac at osgeo.org
Mon Nov 12 01:34:24 PST 2018


#3226: v.select: how to handle situation where no features are found
--------------------------+-------------------------
  Reporter:  mlennert     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:  7.2.4
 Component:  Vector       |    Version:  svn-trunk
Resolution:  fixed        |   Keywords:  v.select
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------
Changes (by mlennert):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:11 mmetz]:
 > Replying to [comment:9 mlennert]:
 > > Actually, the applied patch did not solve the problem as the (empty)
 map was still created, but not correctly. In r73652 and r73652 I've
 applied a further modification which only goes the different aspects of
 creating the new map if elements were found. I would consider this a bug
 fix, so it should go into 74 as well, but I haven't had the time to test
 extensively. I'm thus not sure whether I should upload it into release74.
 I don't think it will cause any trouble, but MarkusM, could you have a
 look ?
 >
 > Trunk r73652 looks good to me and it works as expected.
 >
 > Another reason why no output is created could be that the module failed
 for any reason (return code != 0), i.e. the return code needs to be
 checked as usual.
 >
 > +1 for backporting

 Thanks for the feedback. I committed to release74 in r73665.

 Closing the ticket again.

 Moritz

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3226#comment:12>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list