[GRASS-dev] [GRASS GIS] #1464: Bug on v.buffer

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
Errors in output of v.buffer

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by martinl):

No description, no sample data, no screenshots. This bug-report is
useless.

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by leonidas):

Ok, 2 screenshots:

1. buffer with grass: http://www.geographer.gr/buffer/grass_buffer.jpeg

2. buffer with qgis (ftools):
http://www.geographer.gr/buffer/qgis_buffer.jpeg

And here is the vector map as ascii file (epsg code:2100):
http://www.geographer.gr/buffer/data.asc.zip

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by marisn):

Issue description is incomplete. It lacks exact location of failure,
buffer size.

I was able to reproduce issue with 100 m buffer, still for other feature.
Failing areas have centroids with FIDs: 7945, 7937, 7936 (upper right
corner of dataset)

I was unable to find a way how to export only those areas to separate file
to ease testing. Still I found a dozen ways how it's not possible to do
that :wink:

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
Changes (by mmetz):

  * platform: Linux => All
  * cpu: x86-32 => All
  * milestone: 6.4.2 => 7.0.0

Comment:

Fixed in trunk in r51580, as long as GRASS is compiled with GEOS. Neither
one of the two GRASS-internal buffering methods is working correctly.
Moreover, the GEOS method is the only one allowing for internal buffers
with negative distances. Should we disable v.buffer if GEOS is not
available (rather have no result than a wrong result)?

Markus M

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------

Comment(by neteler):

Replying to [comment:4 mmetz]:
> Fixed in trunk in r51580, as long as GRASS is compiled with GEOS.
Neither one of the two GRASS-internal buffering methods is working
correctly. Moreover, the GEOS method is the only one allowing for internal
buffers with negative distances. Should we disable v.buffer if GEOS is not
available (rather have no result than a wrong result)?

I suppose that GEOS is available for all relevant platforms nowadays (and
it became
official OSGeo project yesterday). So I support this suggestion.

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:5 neteler]:
> Replying to [comment:4 mmetz]:
> > Fixed in trunk in r51580, as long as GRASS is compiled with GEOS.
Neither one of the two GRASS-internal buffering methods is working
correctly. Moreover, the GEOS method is the only one allowing for internal
buffers with negative distances. Should we disable v.buffer if GEOS is not
available (rather have no result than a wrong result)?
>
> I suppose that GEOS is available for all relevant platforms nowadays
(and it became
> official OSGeo project yesterday). So I support this suggestion.

+1 for disabling `v.buffer` when GRASS not compiled against GEOS.

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
Changes (by neteler):

  * priority: normal => critical

Comment:

See also #1343

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

#1464: Bug on v.buffer
----------------------+-----------------------------------------------------
Reporter: leonidas | Owner: grass-dev@…
     Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Keywords: v.buffer | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------

Comment(by neteler):

v.buffer has been rebased on GEOS (now also for GRASS 6.4.svn in r59970).

Please test the updated version of v.buffer compiled with GEOS support.

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

#1464: Bug on v.buffer
-----------------------+----------------------------------------------------
  Reporter: leonidas | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: critical | Milestone: 7.0.0
Component: Vector | Version: svn-trunk
Resolution: fixed | Keywords: v.buffer
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by neteler):

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

Comment:

Closing as fixed.

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