<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dear Pratap,<br>
<br>
You're really using GEOS with GDAL just as a middleware, so
perhaps you'd better try GEOS or PostGIS lists. I don't think
there is a simple solution to this problem, you might try perhaps
to extend the line and make a polygon out of it and then do an
intersection with the buffer(?).<br>
<br>
Best regards,<br>
<br>
Ari<br>
<br>
29.12.2014, 08:12, Pratap Chelamilla kirjoitti:<br>
</div>
<blockquote
cite="mid:CAOv6TkZRT6WUPhiy3nZu9oXBB614FqpA5d=HmFVLfzwPqxjCyA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><i>Hi,<br>
<br>
</i></div>
<i>I am trying to buffer polyline to its right / left , Is there
any way to buffer right/left using GDAL/OGR.<br>
<br>
<span style="color:rgb(192,192,192)"> </span><span
style="color:rgb(128,0,128)">OGRGeometry</span><span
style="color:rgb(192,192,192)"> </span><span
style="color:rgb(0,0,0)">*</span><span
style="color:rgb(0,0,0)">bufGeometry</span><span
style="color:rgb(192,192,192)"> </span><span
style="color:rgb(0,0,0)">=</span><span
style="color:rgb(192,192,192)"> </span><span
style="color:rgb(0,0,0)">geometry</span><span
style="color:rgb(0,0,0)">-></span><span
style="color:rgb(0,0,0)">Buffer</span><span
style="color:rgb(0,0,0)">(</span><span
style="color:rgb(128,0,0)">buffer</span><span
style="color:rgb(0,0,0)">);</span></i>
<pre style="margin:0px;text-indent:0px">
</pre>
<pre style="margin:0px;text-indent:0px"><i>I have tried providing buffer value with positive and negative, but
unable to see any buffering around the polyline.Please provide
us solution to solve this problem. </i></pre>
<br>
<div>
<div>
<div>-- <br>
<div class="gmail_signature">Regards,<br>
Pratap.<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>