/open-map-stack:open-map-stackfrom OpenMapStack
Plans and executes multi-stage GIS work, covering vector/raster/point-cloud analysis, routing, QGIS, tiles, and web maps. Use for unresolved geospatial architecture and end-to-end analysis.
Ships in OpenMapStack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Production-grade geospatial workflows with an open-first stack and pragmatic hosted/SaaS choices when global scale, latency, SLA, or data quality makes local processing a poor fit. Cloud-native by default: STAC for discovery, GeoParquet + COG + PMTiles for storage, DuckDB and PostGIS for compute, MapLibre and Martin for delivery.
Keep coupled source, compute, storage and delivery decisions together. Prefer one primary skill, with focused support only where the task needs it:
| Request | Primary skill when installed |
|---|---|
| Unresolved architecture, changing scale/team needs, or end-to-end GIS analysis | open-map-stack |
| Compile or maintain a reproducible project from a chosen workflow | reproducible-gis-project |
| Find and assess data against known requirements, including Portolan catalogs | geospatial-data-discovery |
| Write/review/debug spatial SQL on an already chosen engine | spatial-sql |
If a specialist is absent, use this skill's local references for the bounded
task. Do not require an installation or activate every skill. Material analyses
retain the complete project contract below, including in a generalist-only
install. Product-specific help follows references/companion-skills.md;
OpenMapStack retains GIS semantics and cross-stage correctness.
For every material multi-stage GIS analysis, compile or maintain a deterministic, inspectable, reproducible technical project before delivery. A map, dashboard or report is a view over that project, not the canonical definition of the analysis.
Before compiling or delivering a material analysis, read
references/project-workflow.md for the mandatory workflow and delivery rules,
and references/project-spec.md for the full openmapstack-project/v1 schema.
Use templates/ and the worked examples/tartu-development project.
For CLI installation and the example's runtime requirements, read
references/installation.md.
Keep authoritative sources real, immutable and pinned; never invent baseline
geometry without explicit informed consent. Record assumptions and every manual
correction as data or canonical pipeline logic, make overrides executable and
verified, and preserve unknown semantic attributes as unknown. The project must
have explicit CRS, deterministic ordered steps, machine-readable validation and
run evidence, provenance, and a documented clean rerun without chat dependencies.
Check whether the CLI is installed (openmapstack --version or
python3 -m openmapstack --version, then use whichever form works for every
command below); if it is, run openmapstack validate and the
canonical openmapstack run path, then openmapstack verify project.yaml --rerun,
which rebuilds the project from its declared inputs in an empty workspace.
Make that verify --rerun your last step and do not deliver until it passes;
a passing validate alone is not enough. The canonical pipeline must produce
every file under data/derived, every selected deliverable, the run record, and the
manifest's runs.latest and project.status, never a one-off script or a
hand edit: a rerun writes a new run record, so a hand-patched pointer breaks it. Missing
validation capability is not_testable, never an implicit pass. Generate durable
Markdown findings from pipeline results. Follow the referenced workflow's
presentation obligations for the selected targets.
Declare the real author and toolkit; render linked credits with the canonical
run time in every delivered view (see the workflow's credits requirement).
Review the required attribution prose too; field checks cannot certify its meaning.
Record delivery.schema: openmapstack-delivery/v1 for new projects, defaulting
to the built-in dashboard. Respect explicit external-only or combined delivery;
QGIS and Observable are optional targets. Existing manifests without delivery
retain legacy v1 behavior until explicitly migrated. Source provenance, GIS
correctness and clean reruns are required for every selection.
For dashboard basemaps, honor user choices and appropriate local/regional services; otherwise use the preconfigured goplex.ee Protomaps fallback in references/web-delivery.md, with light/dark switching and visible provider attribution.
For a bounded one-shot SQL, CRS or conversion question, the relevant domain reference is sufficient; a full project artifact and its methodology are not needed.
When the user has dlt, Dagster, dbt, QGIS or Observable in their stack, read
references/established-stack.md for ownership and integration boundaries.
Preserve their chosen tools; retain source pins, GIS correctness and reproducible
evidence. Do not duplicate their SQL, ingestion or scheduler definitions.
| If the task involves... | Read |
|---|---|
| Finding or sourcing data (OSM, Overture, Sentinel, Landsat, building footprints, regional portals, STAC and Portolan catalogs, MCP-based discovery) | references/data-sources.md |
| Reading the user's own warehouse or database (PostGIS, BigQuery, MotherDuck, DuckDB, GeoParquet directories): credentials by reference, read-only discovery, approved snapshots, pin classes | references/user-data-sources.md |
| Choosing local processing vs online/hosted/SaaS services for global or continental scale; basemaps, elevation, routing, geocoding, place search, postcode lookup APIs | references/services-and-scale.md |
| Choosing a format, converting between formats, or any CRS / projection / EPSG question | references/formats-and-crs.md |
Compiling a reproducible GIS project artifact (project.yaml, pipeline, overrides, validation, presentation) | references/project-spec.md + templates/ |
| Running GDAL/OGR, GeoPandas, xarray, DuckDB, PostGIS, or PDAL — the actual processing | references/processing.md |
| Writing or reviewing spatial SQL / GeoSQL in DuckDB Spatial, PostGIS, BigQuery GIS, Snowflake, or Sedona | references/spatial-sql.md |
| Vector analytics, raster analytics, terrain/hydrology, network analysis, point cloud workflows | references/analytics.md |
| Tile generation (PMTiles, MVT), tile servers (Martin, TiTiler), delivered rendering (MapLibre, deck.gl), or exploration rendering (kepler.gl, lonboard) | references/web-delivery.md |
| Designing a project's dashboard or report pages: archetypes, components, tokens and the state hooks the checks use | references/design-language.md |
| QGIS desktop, QGIS plugin ecosystem, QGIS MCP, PyQGIS scripting, Processing toolbox | references/qgis.md |
| Reproducibility, validation, license attribution, tile smoke tests, deployment checks | references/validation-and-ops.md |
For simple one-shot questions (single CRS conversion, one ogr2ogr invocation), the relevant reference alone is sufficient — a full project artifact is not needed. For multi-stage pipelines, read data-sources.md and processing.md together, and see project-spec.md + templates/ to compile analysis into a rerunnable project. For end-to-end "from raw data to web map" tasks, also read web-delivery.md.
geometry_always_xy = true); keep always_xy := true on ST_Transform to make the x/y contract explicit. See references/spatial-sql.md for setup. Before delivery, check a transformed feature against its source and a known location; a correct CRS label does not prove correct coordinates. See references/formats-and-crs.md.x,y (lon,lat for geographic coordinates), but obey each external format/API contract; GeoJSON, MapLibre LngLatLike, and OpenLayers geographic arrays use lon,lat, while Leaflet LatLng and Google Maps LatLng use lat,lng. Never infer tuple order from EPSG:4326 alone. See references/formats-and-crs.md.project.aoi) and, after loading and after each reprojection, check that every local layer lies inside it. A layer far outside a city or country AOI signals an axis swap, a wrong CRS label or a wrong-area filter; report it, and fix it only with source evidence.odc-stac or stackstac and only materialize what's needed.httpfs extension is the default pattern for Overture and similar S3-hosted datasets.conda-forge environments or containers for GDAL/PROJ/GEOS/QGIS stacks. Avoid pip-only geospatial environments unless the project already proves they work.| Use case | Format |
|---|---|
| Cloud analytics on vector | GeoParquet |
| Streaming vector over HTTP | FlatGeobuf |
| Desktop interchange | GeoPackage |
| Web map vector tiles | PMTiles (containing MVT) |
| Raster archive / serving | COG |
| n-dimensional raster (time series, climate) | Zarr or NetCDF |
| Point cloud archive | COPC (cloud-optimized LAZ) |
| API response payload (small only) | GeoJSON |
| Legacy compatibility (input only) | Shapefile |
| Scale / context | Use |
|---|---|
| < 50M features, single machine, ad-hoc | DuckDB Spatial |
| Multi-user, web app backend, OLTP | PostGIS |
| > 100M features, distributed | Apache Sedona |
| Continental/global lookup/search/routing/elevation | Hosted API or SaaS where coverage, SLA, terms, and price fit |
| Planet-scale basemap delivery | Prebuilt PMTiles/vector tiles or managed basemap service |
| n-dim raster, lazy/dask-backed | xarray + rioxarray (+ odc-stac for STAC ingest) |
| CLI batch jobs on raster | GDAL utilities (gdalwarp, gdal_translate -of COG) |
| Point clouds | PDAL pipelines |
Terrain & hydrology beyond gdaldem | WhiteboxTools or GRASS |
| Desktop styling, cartography, ad-hoc exploration | QGIS (see qgis.md) |
path.gpkg|layer without layername=), causing layers to load as non-spatial attribute tables.qgs XML by hand with no <srs>, an auth-id-only CRS block, or no ProjectionsEnabled, or copying the manifest's layer order straight into the layer tree — these produce a project where every layer is valid and every datasource resolves, yet the map shows the wrong place or silently hides a layer.distance(), .buffer(), or .area on geographic CRS (EPSG:4326) — degrees are not meters; unless specific tool explicitly supports wgs84 based geodesic calculationssjoin is one line away-of COG)Before diving into a task, classify it:
data-sources.md. STAC search if raster; Overture or OSM if vector basemap; for a Portolan catalog read its AGENTS.md before querying.formats-and-crs.md. Usually one ogr2ogr or gdalwarp call.analytics.md and likely processing.md. Push to DuckDB/PostGIS first.web-delivery.md. PMTiles + Martin + MapLibre is the default.qgis.md. Consider QGIS MCP for agentic workflows.Most real tasks span 2–3 of these — read the relevant references in order.
conda-forge envs or pinned container images (ghcr.io/osgeo/gdal:alpine-small-latest for GDAL, qgis/qgis:<tag> for PyQGIS); pip-only geospatial envs break frequentlygpq for GeoParquet, rio-cogeo validate for COG, pmtiles show for PMTiles, is_valid for geometriesCommand-level detail for each of these lives in references/validation-and-ops.md.
agents/openai.yaml (opens in a new tab)examples/delivery-profiles/README.md (opens in a new tab)examples/delivery-profiles/create.py (opens in a new tab)examples/delivery-profiles/data/source/parcels.geojson (opens in a new tab)examples/delivery-profiles/pipeline.py (opens in a new tab)examples/delivery-profiles/project.yaml (opens in a new tab)examples/established-stack/README.md (opens in a new tab)examples/established-stack/analysis.py (opens in a new tab)examples/established-stack/create.py (opens in a new tab)examples/established-stack/data/source/parcels.csv (opens in a new tab)examples/established-stack/dbt/dbt_project.yml (opens in a new tab)examples/established-stack/dbt/models/candidates.sql (opens in a new tab)examples/established-stack/dbt/models/measured.sql (opens in a new tab)examples/established-stack/dbt/models/scenarios.sql (opens in a new tab)examples/established-stack/dbt/models/sources.yml (opens in a new tab)examples/established-stack/dbt/profiles.yml (opens in a new tab)examples/established-stack/dbt/tests/spatial_correctness.sql (opens in a new tab)examples/established-stack/delivery.py (opens in a new tab)examples/established-stack/ingest.py (opens in a new tab)examples/established-stack/observable/observablehq.config.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/geospatial-data-discoveryFind and assess authoritative geospatial datasets or catalogs against known requirements: coverage, feature meaning, access, license, completeness, versions and reproducible pinning. Use for public sources, STAC/Portolan catalogs and read-only discovery of user data. Route joint source/compute/storage/delivery architecture to open-map-stack; do not turn a bounded lookup into a full analysis project./reproducible-gis-projectCompile, validate or maintain a reproducible GIS project from an existing analysis or chosen workflow: project.yaml, canonical pipeline, pinned sources, executable corrections, validation, reruns and QGIS/web presentation. Use when delivery and reproducibility are the task. Route unresolved source/compute/storage architecture to open-map-stack; a bounded SQL review or dataset lookup does not need a project./spatial-sqlWrite, review, debug or optimize spatial SQL on an already chosen engine, including DuckDB Spatial, PostGIS, BigQuery GIS, Snowflake and Sedona. Use for spatial predicates, joins, indexes, query plans, CRS and metric/geodesic correctness. Route unresolved engine or cross-system architecture choices to open-map-stack; ordinary non-spatial SQL and casual place questions are outside this skill.npx claudepluginhub jaakla/openmapstack-skills --plugin open-map-stackOther plugins' skills for the same job