<div dir="ltr"><div><div>Hi Azzurra,<br><br>Are you sure that you aren't using Offset Curve (ST_OffsetCurve) operation, instead of Singe Side Buffer (ST_SingleSidedBuffer) operation? <br><br></div><div>By the way, Offset Curve operation is broken in QGIS 2.18.x. If you want, you can overwrite ../python/plugins/processing/algs/gdal/ogr2ogronesidebuffer.py file by the one attached to this email.<br><br></div><div>This problem was already fixed in master by Alexander Bruy, using a different approach than mine, spliting the operations. I think this change should be backported Alexander, what you think? Or should I make a pull request to QGIS 2.18.x with this change on ogr2ogronesidebuffer?<br></div><div><br></div>Best regards,<br></div>Pedro Venâncio<br><br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-19 21:44 GMT+00:00 Azzurra Lentini <span dir="ltr"><<a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks Nyall.<br></div><div class="gmail_quote"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">I dont know why but  GDAL SINGLE SIDED BUFFER it doesnt work really well. </div><div style="font-family:tahoma,sans-serif">The result of this buffer is a line and not a polygone (the line is the same of the input file!!)</div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">I just put my input file and 150 m for the distance buffer for the left side. </div><div style="font-family:tahoma,sans-serif">Thanks, </div><span class="HOEnZb"><font color="#888888"><div style="font-family:tahoma,sans-serif"><div class="gmail_default" style="font-family:tahoma,sans-serif">​A.L.​</div><br></div></font></span></div><div><div class="h5"><div class="m_3608835663689128586HOEnZb"><div class="m_3608835663689128586h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-12-19 20:19 GMT+01:00 Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 20 Dec 2016 05:06, "Azzurra Lentini" <<a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a>> wrote:<br type="attribution"><blockquote class="m_3608835663689128586m_-2388095176862982623m_-3521893853451184702quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><p class="MsoNormal"><span lang="EN-GB">Dear all I
have a layer shapefile lines with around 30 lines. <span></span></span></p>

<p class="MsoNormal"><span lang="EN-GB">I need a
buffer of one of these  lines with 2 different values of buffer distance: 150 m on the left and
30 m on the right. <span></span></span></p>

<p class="MsoNormal"><span lang="EN-GB">Which kind
of buffer option can I use??<span></span></span></p>

<p class="MsoNormal"><span lang="EN-GB">I know only
single sided buffers but with this option I need to  repeat the buffer for every side.</span></p></div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">Buffer the left and right sides separately using single sided buffer, then merge the resulting output and dissolve them based on a unique identifier.</div><div dir="auto"><br></div><div dir="auto">Nyall</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="m_3608835663689128586m_-2388095176862982623m_-3521893853451184702quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><div dir="ltr"><div style="font-family:tahoma,sans-serif"><p class="MsoNormal"><span lang="EN-GB"> <span></span></span></p>

<p class="MsoNormal"><span lang="EN-GB"> </span></p>

<p class="MsoNormal"><span lang="EN-GB">Thanks to
all, A.L:<span></span></span></p></div><div><br></div>-- <br><div class="m_3608835663689128586m_-2388095176862982623m_-3521893853451184702m_-3230592066000500115gmail_signature"><div dir="ltr">Dr. Hydrogeologist <br>AZZURRA LENTINI<br>Expert of evaluation environmental hazards<br>GIS application <br>Haity Mobile Tel: <a href="tel:+509%2046%2005%207393" value="+50946057393" target="_blank">0050946057393</a><br>++++++++++++++++++++++++++<br>Italy Mobile Tel.: **(39) 338 24 40 676<br>++++++++++++++++++++++++++<br>SKYPE azzurrahydro<br>++++++++++++++++++++++++++<br><a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a><br>++++++++++++++++++++++++++<br>*Par respect pour l'environnement,*<br><br>*n'imprimez ce mail qu'en cas d'absolue nécessité*<br><br> <br><br><br><br><br></div></div>
</div>
<br></span>______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_3608835663689128586m_-2388095176862982623gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Hydrogeologist <br>AZZURRA LENTINI<br>Expert of evaluation environmental hazards<br>GIS application <br>Haity Mobile Tel: <a href="tel:+509%2046%2005%207393" value="+50946057393" target="_blank">0050946057393</a><br>++++++++++++++++++++++++++<br>Italy Mobile Tel.: **(39) 338 24 40 676<br>++++++++++++++++++++++++++<br>SKYPE azzurrahydro<br>++++++++++++++++++++++++++<br><a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a><br>++++++++++++++++++++++++++<br>*Par respect pour l'environnement,*<br><br>*n'imprimez ce mail qu'en cas d'absolue nécessité*<br><br> <br><br><br><br><br></div></div>
</div>
</div></div></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div class="m_3608835663689128586gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Hydrogeologist <br>AZZURRA LENTINI<br>Expert of evaluation environmental hazards<br>GIS application <br>Haity Mobile Tel: <a href="tel:+509%2046%2005%207393" value="+50946057393" target="_blank">0050946057393</a><br>++++++++++++++++++++++++++<br>Italy Mobile Tel.: **(39) 338 24 40 676<br>++++++++++++++++++++++++++<br>SKYPE azzurrahydro<br>++++++++++++++++++++++++++<br><a href="mailto:azzurralentini@gmail.com" target="_blank">azzurralentini@gmail.com</a><br>++++++++++++++++++++++++++<br>*Par respect pour l'environnement,*<br><br>*n'imprimez ce mail qu'en cas d'absolue nécessité*<br><br> <br><br><br><br><br></div></div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>