qgis-errors-projections

qgis-errors-projections is a skill for Claude Code, Codex from Impertio-Studio/QGIS-Claude-Skill-Package. It costs 99 tokens per session (4,546 once invoked), scanned A, original, MIT.

A troubleshooting guide for CRS and projection problems in QGIS. A CRS describes how map coordinates relate to locations on Earth.

In plain words
What is it for?
Use it to diagnose coordinate mismatches, choose or correct CRS settings, reproject data, and fix standalone coordinate transformations.
Why use it?
It helps find errors such as swapped latitude and longitude, misplaced layers, incorrect EPSG codes, and inaccurate datum transformations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to diagnose coordinate mismatches, choose or correct CRS settings, reproject data, and fix standalone coordinate transformations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Impertio-Studio/QGIS-Claude-Skill-Package --skill qgis-errors-projections
Clone the repo
git clone --depth 1 https://github.com/Impertio-Studio/QGIS-Claude-Skill-Package

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qgis-errors-projections

README.md
[![agentmods](https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections/github.svg)](https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections)
Your own site
<a href="https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections"><img src="https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qgis-errors-projections

Your own site · 80×15
<a href="https://agentmods.dev/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections"><img src="https://agentmods.dev/badge/skills/impertio-studio/qgis-claude-skill-package/qgis-errors-projections.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00099 $0.04546
Opus 5 $0.00049 $0.02273
Sonnet 5 $0.00020 $0.00909
Haiku 4.5 $0.00010 $0.00455

Measured 12d ago against content hash 67badea17b03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

qgis-errors-projections scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/source/qgis-errors/qgis-errors-projections/SKILL.md · 492 lines

How it starts

The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.

qgis-errors-projections

Quick Reference

CRS Error Decision Table

Symptom Likely Cause Jump To
Layer appears in wrong continent/ocean Wrong EPSG code assigned ERR-001
Layer offset by ~100-200 meters Missing datum transformation ERR-003
Layer appears stretched/squashed Geographic CRS used for projected operations ERR-001
Coordinates swapped (X/Y flipped) lat/lon vs lon/lat confusion ERR-002
Layer invisible (but valid) CRS mismatch hidden by OTF reprojection ERR-004
Geometry operations return wrong values Silent CRS corruption from wrong assignment ERR-005
Transform produces NaN or inf QgsCoordinateTransform without context ERR-006
All CRS operations fail in standalone script Missing srs.db (prefix path not set) ERR-007

Critical Warnings

NEVER assign a CRS to "fix" misplaced data -- assigning a CRS changes interpretation, NOT coordinates. Use QgsCoordinateTransform to reproject.

NEVER create QgsCoordinateTransform without a QgsCoordinateTransformContext -- the bare constructor ignores datum transformation preferences and silently degrades accuracy.

NEVER assume QgsPointXY(x, y) matches the axis order of the EPSG definition -- QGIS ALWAYS uses lon/lat (x/y) order internally, regardless of the EPSG standard axis order.

NEVER ignore crs.isValid() == False -- an invalid CRS propagates silently through ALL downstream operations, producing wrong results without errors.

ALWAYS use QgsProject.instance().transformContext() for coordinate transforms -- it contains user-configured datum transformation preferences.

ALWAYS verify CRS validity immediately after creation with crs.isValid().

ALWAYS check crs.isGeographic() before performing distance/area calculations -- geographic CRS units are degrees, not meters.


Error Catalog

ERR-001: Wrong EPSG Code Selected

Symptoms:

  • Layer appears in the wrong geographic location (wrong continent, ocean, or hemisphere)
  • Layer appears extremely stretched or compressed
  • Coordinates have unexpected magnitude (e.g., values in millions when expecting degrees)

Read the full file on GitHub · 492 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 492 lines · 99 tokens per session scan A 67badea17b03

Subscribe to this mod's changes

qgis-errors-projections is a skill published in the GitHub repository Impertio-Studio/QGIS-Claude-Skill-Package (33 stars, last pushed 2mo ago), licensed MIT. It adds 99 tokens to every session and 4,546 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

opengis-all

Use when navigating end-to-end GIS workflows — discover the full toolchain from GDAL data processing through GeoServer publishing to CesiumJS/OpenLayers visualization. One-stop index covering the complete open-source GIS data pipeline.

znlgis/opengis-skills · 48 tokens

threejs-errors-performance

Use when a Three.js scene has performance problems: low FPS, memory leaks, too many draw calls, or high GPU memory usage. Prevents the common mistake of forgetting dispose(), creating objects in the render loop, or not using InstancedMesh for repeated objects. Covers disposal patterns, draw call optimization…

Impertio-Studio/Three.js-Claude-Skill-Package · 127 tokens

threejs-errors-rendering

Use when a Three.js scene renders incorrectly: black screen, invisible objects, wrong colors, z-fighting, or broken shadows. Prevents the common mistake of wrong color space, missing material.side, or forgetting updateProjectionMatrix. Covers all common rendering errors with diagnosis steps and fix patterns. Keywords…

Impertio-Studio/Three.js-Claude-Skill-Package · 104 tokens

n8n-errors-connection

Use when troubleshooting API connection failures, credential errors, or timeout issues in n8n. Prevents misdiagnosis by providing deterministic symptom-cause-fix tables. Covers API failures, credential errors, timeout configuration, SSL/TLS issues, webhook URL problems (test vs production), rate limiting, queue mode…

Impertio-Studio/n8n-Claude-Skill-Package · 118 tokens

n8n-errors-expressions

Use when debugging expression evaluation failures or undefined references in n8n workflows. Prevents data access errors by mapping every expression variable to its valid context. Covers undefined $json references, type mismatches, missing paired items, $itemIndex unavailability in Code node, $secrets restriction in…

Impertio-Studio/n8n-Claude-Skill-Package · 119 tokens

n8n-errors-execution

Use when debugging workflow execution failures or implementing error recovery in n8n. Prevents silent failures by enforcing the 4 error handling patterns. Covers node failures, timeout handling, continueOnFail pattern, Error Trigger node, error workflows, retry on fail configuration, Stop And Error node, and execution…

Impertio-Studio/n8n-Claude-Skill-Package · 110 tokens