[GRASS-dev] [GRASS GIS] #1343: v.buffer2: difference between Linux 32bit and 64bit

#1343: v.buffer2: difference between Linux 32bit and 64bit
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-develbranch6
Keywords: v.buffer, v.buffer2 | Platform: Linux
      Cpu: x86-64 |
---------------------------------+------------------------------------------
v.buffer2 (not original v.buffer) produces warning messages on Linux 64bit
that are not apparent on Linux 32bit. The initial results differ slightly,
the final result seems to be ok after lots of cleaning.

Reproducible with roadsmajor in nc_spm:

{{{
GRASS> v.buffer2 input=roadsmajor@PERMANENT output=roadsmajor_buf1_2000
distance=1000

WARNING: Next edge was visited but it is not the first one !!! breaking
          loop
WARNING: Next edge was visited but it is not the first one !!! breaking
          loop
WARNING: Next edge was visited but it is not the first one !!! breaking
          loop
}}}

No such warnings, but topological errors with distance=500, warnings like
these but no topological errors with distance=1000 or larger.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1343&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
----------------------+-----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-develbranch6
Resolution: fixed | Keywords: v.buffer, v.buffer2
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by neteler):

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

Comment:

The current v.buffer is working well, closing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1343#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
----------------------+-----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: normal | Milestone: 7.0.0
Component: Default | Version: svn-develbranch6
Resolution: | Keywords: v.buffer, v.buffer2
  Platform: Linux | Cpu: x86-64
----------------------+-----------------------------------------------------
Changes (by mmetz):

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

Comment:

Reopening because v.buffer works only in GRASS7 and only if it uses the
GEOS algorithm. A backport to GRASS6 is possible.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1343#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
-----------------------+----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: critical | Milestone: 7.0.0
Component: Default | Version: svn-develbranch6
Resolution: | Keywords: v.buffer
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by neteler):

  * keywords: v.buffer, v.buffer2 => v.buffer
  * priority: normal => critical

Comment:

(v.buffer2 is v.buffer for a while)

See also #2223

See also #1464

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1343#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
-----------------------+----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: critical | Milestone: 7.0.0
Component: Default | Version: svn-develbranch6
Resolution: | Keywords: v.buffer
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------

Comment(by neteler):

v.buffer has been rebased on GEOS in r59970 which you now need to compile
the module.

Please test the updated version of v.buffer in 6.4.svn.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1343#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
-----------------------+----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: reopened
  Priority: critical | Milestone: 6.4.5
Component: Default | Version: svn-develbranch6
Resolution: | Keywords: v.buffer
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by neteler):

  * milestone: 7.0.0 => 6.4.5

Comment:

Done in G7, downgrading to G6 where GEOS support was added in r59970.

{{{
# G6:
v.buffer input=roadsmajor@PERMANENT output=roadsmajor_buf1_2000
distance=1000
}}}

Appears to work, closing (reopen if not).

Some fun performance comparison:
  * G6.4.svn: 43.19 sec
  * G7.0.svn: 7.59 sec

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1343#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#1343: v.buffer2: difference between Linux 32bit and 64bit
-----------------------+----------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 6.4.5
Component: Default | Version: svn-develbranch6
Resolution: fixed | Keywords: v.buffer
  Platform: Linux | Cpu: x86-64
-----------------------+----------------------------------------------------
Changes (by neteler):

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

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1343#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>