[GRASS-dev] [GRASS GIS] #3814: v.buffer: segfault in LL

GRASS GIS trac at osgeo.org
Wed Apr 17 00:51:23 PDT 2019


#3814: v.buffer: segfault in LL
--------------------------+-------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.8.0
 Component:  LibVector    |    Version:  svn-trunk
Resolution:               |   Keywords:  v.buffer
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by mmetz):

 Replying to [ticket:3814 neteler]:
 > Inspired by an article [1] I tried v.buffer in a EPSG 4326 location:
 >
 >
 > {{{
 > GRASS 7.7.svn (latlong_wgs84):~ >
 > g.region n=90 s=-90 w=-180 e=180 res=1
 >
 > v.random output=random100 n=100
 >
 > v.buffer input=random100 output=random100_buff distance=0:00:01
 > Note: In latitude-longitude coordinate system specify distances in
 degree
 > unit
 > Buffering features...
 > Segmentation fault (core dumped)
 > }}}

 `distance=0:00:01` becomes `distance=0` because distance must be of type
 double, in this case 1/3600 = 0.0002777778

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



More information about the grass-dev mailing list