Hi Azzurra,
Are you sure that you aren't using Offset Curve (ST_OffsetCurve) operation,
instead of Singe Side Buffer (ST_SingleSidedBuffer) operation?
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.
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?
Best regards,
Pedro Venâncio
2016-12-19 21:44 GMT+00:00 Azzurra Lentini :
> Thanks Nyall.
>
> I dont know why but GDAL SINGLE SIDED BUFFER it doesnt work really well.
> The result of this buffer is a line and not a polygone (the line is the
> same of the input file!!)
>
> I just put my input file and 150 m for the distance buffer for the left
> side.
> Thanks,
> A.L.
>
>
> 2016-12-19 20:19 GMT+01:00 Nyall Dawson :
>
>>
>>
>> On 20 Dec 2016 05:06, "Azzurra Lentini" wrote:
>>
>> Dear all I have a layer shapefile lines with around 30 lines.
>>
>> 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.
>>
>> Which kind of buffer option can I use??
>>
>> I know only single sided buffers but with this option I need to repeat
>> the buffer for every side.
>>
>>
>> Buffer the left and right sides separately using single sided buffer,
>> then merge the resulting output and dissolve them based on a unique
>> identifier.
>>
>> Nyall
>>
>>
>>
>>
>> Thanks to all, A.L:
>>
>> --
>> Dr. Hydrogeologist
>> AZZURRA LENTINI
>> Expert of evaluation environmental hazards
>> GIS application
>> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
>> ++
>> Italy Mobile Tel.: **(39) 338 24 40 676
>> ++
>> SKYPE azzurrahydro
>> ++
>> azzurralent...@gmail.com
>> ++
>> *Par respect pour l'environnement,*
>>
>> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>
>
> --
> Dr. Hydrogeologist
> AZZURRA LENTINI
> Expert of evaluation environmental hazards
> GIS application
> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
> azzurralent...@gmail.com
> ++
> *Par respect pour l'environnement,*
>
> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>
>
>
>
>
>
>
>
>
> --
> Dr. Hydrogeologist
> AZZURRA LENTINI
> Expert of evaluation environmental hazards
> GIS application
> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
> azzurralent...@gmail.com
> ++
> *Par respect pour l'environnement,*
>
> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>
>
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
# -*- coding: utf-8 -*-
"""
***
ogr2ogronesidebuffer.py
-
Date : Janaury 2015
Copyright: (C) 2015 by Giovanni Manghi
Email: giovanni dot manghi at naturalgis dot pt
***
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***
"""
__author__ = 'Giovanni Manghi'
__date__ = 'January 2015'
__copyright__ = '(C) 2015, Giovanni Manghi'
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'
from processing.core.parameters import ParameterVector
from processing.core.parameters import ParameterString
from processing.core.parameters import