Skip to main content

Timeline for Buffering in PyQGIS

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Dec 6, 2016 at 17:00 history edited PolyGeo CC BY-SA 3.0
deleted 50 characters in body
Mar 9, 2015 at 11:43 comment added kflaw Is it possible to specify units when buffering in Python? I keep trying to buffer a point layer I believe I have set to a CRS with units in feet but the buffers I am getting are huge- the point layer was originally imported from csv with lat long cords but when I created a vector layer out of it I specified a local system. Something is obviously wrong.
Mar 28, 2013 at 1:42 vote accept GIS Danny
Mar 28, 2013 at 1:43
Nov 17, 2012 at 12:21 comment added Nathan W @GISDanny QgsFeature is a container class for the a feature e.g. attribute and geometry in QGIS. The layer is the qgis.utils.iface.activeLayer() bit, that will use the currently active layer in QGIS.
Nov 17, 2012 at 10:25 comment added Nathan W you can also do this with a for loop and you also can avoid selecting the attributes if not needed gist.github.com/4094707
Nov 16, 2012 at 15:49 comment added GIS Danny Thanks - is QgsFeature the layer name or should it include an absolute path? And buffer(5,2) is that distance?
Nov 16, 2012 at 9:33 history answered urcm CC BY-SA 3.0