[GRASS-dev] [GRASS GIS] #2648: v.concave.hull fails with small number of points
GRASS GIS
trac at osgeo.org
Wed Jun 17 06:55:30 PDT 2015
#2648: v.concave.hull fails with small number of points
--------------------------+--------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Addons | Version: unspecified
Resolution: | Keywords: concave hull
CPU: Unspecified | Platform: All
--------------------------+--------------------------
Comment (by mlennert):
Replying to [comment:3 mlennert]:
> Replying to [ticket:2648 annakrat]:
> > Tested with 3, 4, 5 points, v.concave.hull fails. Depends on threshold
and point configuration, too.
> >
> > {{{
> > ERROR: Input vector map contains no boundaries.
> > ...
> > ['v.centroids', '--q',
'input=concave_hull_tmp_31390_delaunay_borders_select',
'output=concave_hull_tmp_31390_delaunay_areas_select'] ended with error
> > }}}
>
> AFAICT, the algorithm cannot calculate the hull because the threshold is
too high. For now I've added a fatal error in the script with a hint about
the threshold (r65495).
I've changed it again in r65496: the algorithm now automatically reduces
the threshold if it is too high and only fatals out if even a threshold of
0 wouldn't work.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2648#comment:5>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list