QGIS Geospatial Automation for Openclaw

A powerful GIS automation skill that leverages the qgis_process CLI to perform repeatable vector and raster data transformations.

jvy
v1.0.0
Mar 14, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install qgis

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install qgis using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is QGIS Geospatial Automation?

The QGIS skill for Openclaw Skills enables developers and data scientists to execute deterministic, file-based geospatial processing without opening a GUI. By interfacing directly with the qgis_process command-line tool, it provides a bridge for AI agents to perform complex spatial operations like coordinate reference system (CRS) conversions, buffering, and layer merging.

This skill is designed for high reliability and precision, enforcing strict rules around coordinate systems and output formats. It transforms a local QGIS installation into a programmable engine for batch map data processing and geodata transformation, making it an essential component of any geospatial Openclaw Skills toolkit.

QGIS Geospatial Automation Use Cases

  • Automating the reprojection of vector layers between different coordinate systems (e.g., WGS84 to local UTM zones).
  • Clipping large datasets to specific geographic boundaries for optimized analysis.
  • Generating proximity buffers around point or line features for spatial impact studies.
  • Batch processing raster files for warping, resampling, or format conversion (GeoTIFF).
  • Programmatic dissolving of internal boundaries within polygons to create simplified administrative regions.

How QGIS Geospatial Automation Works

  1. The agent validates the environment by checking the qgis_process version and listing available provider algorithms.
  2. Specific algorithms are identified using grep or regex filters to match the user's intent (e.g., native:clip or gdal:warpreproject).
  3. Detailed parameter requirements are retrieved using the help command to ensure all mandatory spatial inputs are provided.
  4. The operation is executed in a shell-safe environment with explicit paths for inputs, outputs, and projection parameters.
  5. Upon completion, the agent verifies the output file's metadata, including layer counts, bands, and spatial extent, to confirm successful processing.

QGIS Geospatial Automation Setup

To use this skill, you must have QGIS installed on your system with the qgis_process CLI accessible in your PATH.

On macOS using Homebrew:

brew install qgis

Verify the installation for Openclaw Skills:

qgis_process --version

QGIS Geospatial Automation Data Schema & Taxonomy

The skill follows a strict file-based data organization strategy to ensure reproducibility within Openclaw Skills workflows.

Feature Default Specification
Vector Format GeoPackage (GPKG)
Raster Format GeoTIFF
CRS Handling Explicit EPSG codes required
File Policy Non-destructive (writes to new paths)
Metadata Tracks path, CRS, layer count, and spatial extent

QGIS Geospatial Automation Advanced Features

  • Dynamic Algorithm Discovery: Uses help flags to find and adapt to any installed QGIS plugin or provider algorithm.
  • Dry-Run Planning: Generates a processing manifest for batch operations before execution to prevent data loss.
  • Multi-Step Workflows: Supports chaining multiple GIS operations, such as buffering a layer and then clipping the result by a secondary boundary.
  • Shell-Safe Execution: Fully compatible with terminal-based AI agents for local or remote automation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins qgis_process
Github Stars: 0
forks: 0

Featured*