Creation of Buffer zone using Python in QGIS

preview_player
Показать описание
Hi Viewers,
In this video, you will come to know the python program coding for the creation of buffer zone for point features in QGIS.

## Find the program below for your reference.

InputFile = 'points'
bufferDist = 0.02

##To get the fields from map layer

layer = Data[0]

## QGS Vector File Writer will create buffered features and add to output file.

writer = QgsVectorFileWriter(OutputFile, 'UTF-8', fields, \

## Geometry along with buffer. Use writer to add the feature to the buffer layer.

print('done')
## Run Python code

##Finally, add the buffered layer to the QGIS interface and delete the writer.

del(writer)
Рекомендации по теме
Комментарии
Автор

Excellent video.. well explained each code lines.. expecting more such videos

rrhhh
Автор

Very good information. Nice presentation.

hemanthkumar
Автор

Very good information. Really useful for me. Thank you for it

aswinib
Автор

Great info. Proximity analysis can be done using this easily.

priyasofy
Автор

Very nice! I am looking forward to see more Python and QGIS related videos.

ata
Автор

Thank you for this. Please provide more videos using python in qgis.

akbarvalishaik
Автор

Awesome video - indeed helpful! also do you know what parameter to change if I wanna create square buffers instead of circles? Thanks!

shiningyang
welcome to shbcf.ru