Don't worry for the delay... Your goal is to generate the buffer a priori (i.e. by assigning a specific value of radius for each feature, without any preliminary edit on the layer) or by searching for it in a field of the layer (i.e. as Randal Hale suggested)? Marco
2016-11-27 18:54 GMT+01:00 Azzurra Lentini <azzurralent...@gmail.com>: > Dear Marco, apologies to write you only now. > Yes with variable distance buffer is fine. Thanks a lot. > > If you can, could you please write me the PyQgis script for the other > option? > > all regards, Azzurra > > 2016-11-16 9:22 GMT+01:00 Marco Grisolia <marco.grisol...@gmail.com>: >> >> If you want to assign a specified buffer for each kind of feature, you >> may use a simple PyQGIS script using a call of buffer() from >> QgsGeometry(). Are you able to do it? Otherwise I may try to write it >> for you if my understanding of the problem was right. >> Therefore, if your buffer distances are inside a field, you may use >> the "Variable Distance Buffer" algorithm from Processing. >> Best regards, >> Marco >> >> 2016-11-16 1:26 GMT+01:00 Azzurra Lentini <azzurralent...@gmail.com>: >> > Dear all, >> > >> > I have a shape file with a field called “type”. In the “type” field I >> > have >> > 4 kinds of samples ( 19 records). >> > >> > See in the attachment. >> > >> > The 4 samples are: normal fault, inverse fault, overthrust, syncline. >> > >> > I would like to create a buffer with different distance for each sample >> > (the >> > best it would be to obtain a shape with 5 different buffer distances). >> > >> > For example the buffer distance for the sample “ normal fault” is 30 m, >> > for >> > the “inverse fault “ is 20 m, for the “overthrust” is 50 m and for the >> > “syncline” is 20 m. >> > >> > >> > >> > How I can do this kind of buffer?? >> > >> > >> > >> > Thanks A.L. >> > >> > >> > >> > >> > -- >> > Dr. Hydrogeologist >> > AZZURRA LENTINI >> > Expert of evaluation environmental hazards >> > GIS application >> > Haity Mobile Tel: 0050946057393 >> > ++++++++++++++++++++++++++ >> > 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 > ++++++++++++++++++++++++++ > 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