#3846: r.contour started producing broken/segmented contour lines since 7.4
-----------------------+-------------------------
Reporter: metello | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Raster | Version: unspecified
Keywords: r.contour | CPU: x86-64
Platform: MSWindows |
-----------------------+-------------------------
Since GRASS 7.4, some contour lines generated by r.contour are broken into
several segments (until 7.2 was ok). I have a system that uses r.contour
to trace reservoirs for hydroelectric plants and that problem is breaking
my algorithm.
In the attached GRASS project, you can see the result generated by
different GRASS versions (contour level = 229) - look at the largest
contour line. I tested the following versions: 7.2.3, 7.4.4, 7.6 and
7.7svn. Only 7.2.3 produced a continuous/unbroken contour.
#3846: r.contour started producing broken/segmented contour lines since 7.4
----------------------+-----------------------------------
Reporter: metello | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Raster | Version: unspecified
Resolution: | Keywords: r.contour helpwanted
CPU: x86-64 | Platform: MSWindows
----------------------+-----------------------------------
Comment (by mmetz):
Replying to [comment:1 metello]:
> The file was too large to attach. I uploaded here:
> http://psr-
shared.s3.amazonaws.com/public/admin/2C66EC59/R_CONTOUR_BUG.zip
>
> Coordinates of some points of discontinuity:
> (384073.870002,8827636.45371),
> (402242.43372,8799021.33681),
> (409632.732253,8796197.58953)
I can confirm the missing segments, the previous fix to prevent contours
from tracing back on themselves was not working. Working on it...
#3846: r.contour started producing broken/segmented contour lines since 7.4
----------------------+-----------------------------------
Reporter: metello | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Raster | Version: unspecified
Resolution: | Keywords: r.contour helpwanted
CPU: x86-64 | Platform: MSWindows
----------------------+-----------------------------------
Comment (by mmetz):
Replying to [comment:3 mmetz]:
> Replying to [comment:1 metello]:
> > The file was too large to attach. I uploaded here:
> > http://psr-
shared.s3.amazonaws.com/public/admin/2C66EC59/R_CONTOUR_BUG.zip
> >
> > Coordinates of some points of discontinuity:
> > (384073.870002,8827636.45371),
> > (402242.43372,8799021.33681),
> > (409632.732253,8796197.58953)
>
> I can confirm the missing segments, the previous fix to prevent contours
from tracing back on themselves was not working. Working on it...
r.contour has been fixed in master, relbr76, and relbr74.