[GRASS-dev] How difficult would it be to modify v.buffer to allow creation of square buffers around points

Hi,

For some applications it is sometimes interesting to be able to create square buffers around points. So my question to those who know the GEOS code best: How difficult would it be to change v.buffer to be able to do this ?

Moritz

Indeed, this would be a very cool feature to have! +1!

ยทยทยท

2018-03-05 12:07 GMT+01:00 Moritz Lennert <mlennert@club.worldonline.be>:

Hi,

For some applications it is sometimes interesting to be able to create square buffers around points. So my question to those who know the GEOS code best: How difficult would it be to change v.buffer to be able to do this ?

Moritz


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

On Mon, Mar 5, 2018 at 12:07 PM, Moritz Lennert <mlennert@club.worldonline.be> wrote:

Hi,

For some applications it is sometimes interesting to be able to create square buffers around points. So my question to those who know the GEOS code best: How difficult would it be to change v.buffer to be able to do this ?

Buffers around points are trivial, and square buffers around points would be even more trivial. This could be triggered by the already existing -s flag (square caps at end of lines, outside corners straight).

Please create a ticket for square buffers around points such that this request does not get forgotten.

Markus M

Moritz


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

On 05/03/18 14:10, Markus Metz wrote:

On Mon, Mar 5, 2018 at 12:07 PM, Moritz Lennert <mlennert@club.worldonline.be <mailto:mlennert@club.worldonline.be>> wrote:
>
> Hi,
>
> For some applications it is sometimes interesting to be able to create square buffers around points. So my question to those who know the GEOS code best: How difficult would it be to change v.buffer to be able to do this ?

Buffers around points are trivial, and square buffers around points would be even more trivial. This could be triggered by the already existing -s flag (square caps at end of lines, outside corners straight).

Please create a ticket for square buffers around points such that this request does not get forgotten.

Done [1] already with an attempt at a (very simple) patch. Would be great if you could have a look.

Moritz

[1] https://trac.osgeo.org/grass/ticket/3511

On 05/03/18 18:15, Moritz Lennert wrote:

On 05/03/18 14:10, Markus Metz wrote:

On Mon, Mar 5, 2018 at 12:07 PM, Moritz Lennert <mlennert@club.worldonline.be <mailto:mlennert@club.worldonline.be>> wrote:
>
> Hi,
>
> For some applications it is sometimes interesting to be able to create square buffers around points. So my question to those who know the GEOS code best: How difficult would it be to change v.buffer to be able to do this ?

Buffers around points are trivial, and square buffers around points would be even more trivial. This could be triggered by the already existing -s flag (square caps at end of lines, outside corners straight).

Please create a ticket for square buffers around points such that this request does not get forgotten.

Done [1] already with an attempt at a (very simple) patch. Would be great if you could have a look.

Moritz
> [1] https://trac.osgeo.org/grass/ticket/3511

Better version now committed in r72353.

Moritz