Products QGIS Scripts Buffer Active Layer
Buffer Active Layer

QGIS Script · Python

Buffer Active Layer

Expands every feature in the active layer outward by a configurable radius in metres. Works on both point and polygon geometry — output saved as GeoJSON alongside the source file and loaded into the QGIS project immediately.

$20 USD One-time purchase · Instant download
Buy on Gumroad

What you get

buffer_active_layer.py
Free updates via Gumroad

What it does

Any point or polygon input

Works on both point geometry (produces circles) and polygon geometry (produces rounded outward expansion).

Configurable radius

Set buffer_radius in metres at the bottom of the script — no hardcoded values.

GeoJSON output

The buffered layer is saved as {input_name}_buffered.geojson in the same directory as the source file.

Auto-loads in QGIS

The output is added to your QGIS project immediately with original attributes preserved.

How to use it

  1. 1

    Load your vector layer and click it to make it the active layer in the Layers panel.

  2. 2

    Open Plugins → Python Console → Show Editor.

  3. 3

    Paste the script. At the bottom, set buffer_radius in metres.

  4. 4

    Click Run.

Requirements

  • QGIS 3.28 or newer
  • QGIS processing framework — bundled
  • Active point or polygon layer

Also in the GIS Utilities Pack

Get all 4 GIS utility scripts for $25 — save $5 vs buying individually.

View bundle