<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NO-BOK" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Thanks for the explanation.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Ticket created…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Markus Metz <markus.metz.giswork@gmail.com>
<br>
<b>Sent:</b> torsdag 23. august 2018 17:20<br>
<b>To:</b> Stefan Blumentrath <Stefan.Blumentrath@nina.no><br>
<b>Cc:</b> GRASS developers list <grass-dev@lists.osgeo.org><br>
<b>Subject:</b> Re: [GRASS-dev] [GRASS GIS] #3448: v.buffer native failures<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
On Thu, Aug 23, 2018 at 1:39 PM Stefan Blumentrath <<a href="mailto:Stefan.Blumentrath@nina.no">Stefan.Blumentrath@nina.no</a>> wrote:<br>
><br>
> Hi Marcus,<br>
><br>
> I am not too familiar with C and the like so I might confuse some things here...<br>
><o:p></o:p></p>
<div>
<p class="MsoNormal">> I noticed that using .buffer() in PyGRASS gives a lot of "using native format" output.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">this "using native format" refers to the format of newly created vector maps (could also be OGR via v.external.out)<o:p></o:p></p>
</div>
<p class="MsoNormal">><br>
> So I looked it up and it seems to be using native buffering (Vect_area_buffer2):<o:p></o:p></p>
<div>
<p class="MsoNormal">> <a href="https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/vector/geometry.py#L1654">
https://trac.osgeo.org/grass/browser/grass/trunk/lib/python/pygrass/vector/geometry.py#L1654</a><o:p></o:p></p>
</div>
<p class="MsoNormal">><br>
> And Vect_area_buffer2 is the non-geos buffering, right?<br>
> <a href="https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.buffer/main.c#L564">
https://trac.osgeo.org/grass/browser/grass/trunk/vector/v.buffer/main.c#L564</a><br>
><o:p></o:p></p>
<div>
<p class="MsoNormal">> So, should then PyGRASS be changed/fixed to use geos buffering too?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">all vector buffering functions in the vector libs are GRASS native functions, only the module v.buffer uses GEOS buffering. That means you should use v.buffer instead of vector library functions.
<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><br>
> Shall I open a ticket?<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">yes please, pygrass should use the module v.buffer, or GEOS functions<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Markus M<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">><o:p> </o:p></p>
</div>
<p class="MsoNormal">> Cheers,<br>
> Stefan<br>
><br>
><br>
> -----Original Message-----<br>
> From: grass-dev <<a href="mailto:grass-dev-bounces@lists.osgeo.org">grass-dev-bounces@lists.osgeo.org</a>> On Behalf Of GRASS GIS<br>
> Sent: onsdag 22. august 2018 22:07<br>
> Cc: <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
> Subject: Re: [GRASS-dev] [GRASS GIS] #3448: v.buffer native failures<br>
><br>
> #3448: v.buffer native failures<br>
> --------------------------+---------------------------------<br>
> Reporter: marisn | Owner: grass-dev@…<br>
> Type: defect | Status: closed<br>
> Priority: normal | Milestone: 7.6.0<br>
> Component: Vector | Version: unspecified<br>
> Resolution: wontfix | Keywords: v.buffer v.parallel<br>
> CPU: Unspecified | Platform: Unspecified<br>
> --------------------------+---------------------------------<br>
> Changes (by mmetz):<br>
><br>
> * status: new => closed<br>
> * resolution: => wontfix<br>
><br>
><br>
> Comment:<br>
><br>
> This is a long known issue and the reason why v.buffer uses GEOS buffering. GRASS native buffering will probably not be fixed because GEOS buffering is working, thus closing as won't fix.<br>
><br>
> --<br>
> Ticket URL: <<a href="https://trac.osgeo.org/grass/ticket/3448#comment:4">https://trac.osgeo.org/grass/ticket/3448#comment:4</a>><br>
> GRASS GIS <<a href="https://grass.osgeo.org">https://grass.osgeo.org</a>><br>
><br>
> _______________________________________________<br>
> grass-dev mailing list<br>
> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><o:p></o:p></p>
</div>
</div>
</body>
</html>