Products QGIS Scripts GIS Utilities Pack
QGIS print-ready A4 map layout with scale bar, north arrow, and buffer zones on a plantation survey map

QGIS Script Bundle · 4 Scripts

GIS Utilities Pack

Four general-purpose Python scripts for the QGIS Script Editor covering the everyday operations that slow you down when done manually — buffering features, applying graduated colour styles, creating print-ready map layouts, and generating survey grids.

Each script is a single .py file. No plugins, no extra setup beyond standard QGIS. The kind of tools you reach for on every project.

$25 USD One-time purchase · 4 scripts · Instant download
Buy on Gumroad

What you get

buffer_active_layer.py
classify_layer.py
create_map_layout.py
grid_generation.py
README with setup notes
Free updates via Gumroad

What the pack covers

Buffer any layer

Expand points or polygons by any radius in metres. Useful for defining influence zones, setback distances, or proximity areas around features.

Graduated colour style

One command to rank any numeric field visually — yellow to green. Choose equal intervals or percentile quartiles. Applies immediately to the layer renderer.

Print-ready A4 layout

Auto-generates scale bar, north arrow, date title, and legend from the current canvas. Outputs directly into QGIS Layout Designer for PDF export.

Survey grid generation

Creates equal-sized rectangular cells clipped to your study boundary. Works in any CRS — auto-converts to UTM so your cell size setting is always in metres.

Scripts in this pack

buffer_active_layer.py

Buffer Active Layer

Buffers 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 input file and loaded into the project.

Input: Active layer (any point or polygon GeoJSON) Output: {input_name}_buffered.geojson
classify_layer.py

Graduated Colour Classification

Applies a yellow → green graduated colour style to any numeric attribute column on a vector layer. Two methods: "discrete" (equal-width steps of 0.1) and "percentile" (four quartiles). No output file — applies style in-place.

Input: First checked vector layer (any geometry type) Output: Graduated colour style applied in-place
create_map_layout.py

A4 Map Layout

Creates a print-ready A4 map layout from the current QGIS canvas view. Auto-adds scale bar, north arrow, date title, and a legend for all visible vector layers. Opens in Layout Designer for final adjustments before PDF export.

Input: No specific layer needed — uses current canvas view Output: New A4 print layout opened in Layout Designer
grid_generation.py

Rectangular Survey Grid

Creates a regular grid of equal-sized rectangular cells. If polygon layers are checked, the grid is clipped to their combined shape. Auto-detects geographic CRS and reprojects to UTM so cell size is in real metres.

Input: (Optional) checked polygon GeoJSON layers to clip the grid Output: grid_clipped.geojson added to project

Who it's for

  • GIS professionals who run the same buffer, classify, or grid operations on every project and want them automated
  • Drone surveyors who need to produce client-ready PDF map reports quickly without manual layout work
  • Anyone setting up field survey grids for sample plots, trial sites, or inspection zones

Requirements

QGIS 3.28 or newer — (LTR recommended)
numpy + GDAL — already bundled with QGIS — no extra install needed
Vector layers — GeoJSON or any QGIS-supported vector format
Works on Windows, macOS, and Linux — via the integrated Python console inside QGIS

How to use it

  1. 1

    Load your vector and raster layers into QGIS.

  2. 2

    Select the layer you want to process as the active layer, or check (tick) layers as the script expects.

  3. 3

    Open Plugins → Python Console → Show Editor.

  4. 4

    Open the script — each has a HOW TO USE block at the top with exact input requirements.

  5. 5

    Set parameters at the bottom of the script: buffer radius, column name, grid cell size, or layout orientation.

  6. 6

    Click Run.

Built-in instructions in every script

Each script has a HOW TO USE block at the top documenting the active layer, checked layers, output, log path, and configurable parameters — so the reference is always in the file, not in a separate document.

Get the GIS Utilities Pack

Four scripts, one download. The GIS operations you run on every project — automated.