[GRASS-dev] [GRASS GIS] #3494: r.thin crashes after 84 passes

GRASS GIS trac at osgeo.org
Tue Feb 13 07:16:02 PST 2018


#3494: r.thin crashes after 84 passes
--------------------------+-------------------------
  Reporter:  pitstop      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Raster       |    Version:  7.4.0
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MSWindows 7
--------------------------+-------------------------

Comment (by mlennert):

 Replying to [ticket:3494 pitstop]:
 > Hi Community,
 >
 > I wanted to use r.thin on a raster map before r.to.vect on the result
 but r.thin crashes after 84 passes every time. Smaller number of
 iterations run without any problems. I was able to reproduce the error by
 using r.thin on the elevation.dem from the Spearfish data set.

 While this should probably be handled more gracefully, could you explain
 what you are trying to do with r.thin ? Why would you run r.thin on a DEM
 ? r.thin is meant to thin raster lines (represented by some form of
 discrete pixel values) to single pixel width so as to make their
 vectorisation possible. Running it on a raster map with a continuous
 variable doesn't make sense in my understanding.

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



More information about the grass-dev mailing list