<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Dear Marco, apologies to write you only now.</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Yes with variable distance buffer is fine. Thanks a lot.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">If you can, could you please write me the PyQgis script for the other option? </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">all regards, Azzurra</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-16 9:22 GMT+01:00 Marco Grisolia <span dir="ltr"><<a href="mailto:marco.grisolia5@gmail.com" target="_blank">marco.grisolia5@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you want to assign a specified buffer for each kind of feature, you<br>
may use a simple PyQGIS script using a call of buffer() from<br>
QgsGeometry(). Are you able to do it? Otherwise I may try to write it<br>
for you if my understanding of the problem was right.<br>
Therefore, if your buffer distances are inside a field, you may use<br>
the "Variable Distance Buffer" algorithm from Processing.<br>
Best regards,<br>
Marco<br>
<div class="HOEnZb"><div class="h5"><br>
2016-11-16 1:26 GMT+01:00 Azzurra Lentini <<a href="mailto:azzurralentini@gmail.com">azzurralentini@gmail.com</a>>:<br>
> Dear all,<br>
><br>
> I have a shape file with a field called “type”.  In the “type”  field I have<br>
> 4 kinds of samples ( 19 records).<br>
><br>
> See in the attachment.<br>
><br>
> The 4 samples are: normal fault, inverse fault, overthrust, syncline.<br>
><br>
> I would like to create a buffer with different distance for each sample (the<br>
> best it would be to obtain a shape with 5 different buffer distances).<br>
><br>
> For example  the buffer distance for the sample “ normal fault” is 30 m, for<br>
> the “inverse fault “ is 20 m, for the “overthrust” is 50 m and for the<br>
> “syncline” is 20 m.<br>
><br>
><br>
><br>
> How I can do this kind of buffer??<br>
><br>
><br>
><br>
> Thanks A.L.<br>
><br>
><br>
><br>
><br>
> --<br>
> Dr. Hydrogeologist<br>
> AZZURRA LENTINI<br>
> Expert of evaluation environmental hazards<br>
> GIS application<br>
> Haity Mobile Tel: 0050946057393<br>
> ++++++++++++++++++++++++++<br>
> Italy Mobile Tel.: **(39) 338 24 40 676<br>
> ++++++++++++++++++++++++++<br>
> SKYPE azzurrahydro<br>
> ++++++++++++++++++++++++++<br>
> <a href="mailto:azzurralentini@gmail.com">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>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_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: 0050946057393<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>