kendrick-oppong/geoskills/vector-tile-pipeline

Claude Code and agent skill by kendrick-oppong/geoskills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when generating or serving vector tiles from a geospatial dataset — tippecanoe for static tile generation, martin/tegola/pg_tileserv for dynamic tiles from PostGIS, MBTiles vs PMTiles output, and choosing static vs dynamic tiling.

Install

npx vskill@latest install kendrick-oppong/geoskills/vector-tile-pipeline

SKILL.md

The same SKILL.md was published earlier as kendrick-oppong/geoskills/vector-tile-pipeline.

Vector Tile Generation & Serving

When to use this skill

  • "How do I turn this dataset into vector tiles for the web map"
  • Choosing between pre-generated static tiles vs a live tile server hitting the database
  • Debugging missing features at certain zoom levels, or overly-simplified geometry

Static vs dynamic tiling — the core decision

Static (pre-generated)Dynamic (on-the-fly from DB)
Toolingtippecanoe → MBTiles/PMTilesmartin, tegola, pg_tileserv over PostGIS
Update latencyRequires regeneration on data changeAlways reflects current DB state
Serving costStatic files behind a CDN/object storage — very cheap, scales triviallyA running server process; scales with query load, needs its own caching layer
Best forData that changes infrequently (basemaps, administrative boundaries, published datasets)Frequently-changing or user-specific/filtered data (live operational layers, per-tenant views)
Default recommendationPrefer static + CDN whenever data doesn't need to be live — cheaper, simpler, more reliableUse dynamic only when live/filtered/per-request tiles are a genuine requirement

Checklist

  • [ ] Is the data static enough (updated daily/weekly or less) to pre-generate tiles rather than serve dynamically? Default to static.
  • [ ] Zoom range set appropriately (-z/-Z in tippecanoe) — generating unnecessary high zoom levels for sparse rural data wastes storage; generating too few zoom levels for dense urban data causes overplotting at high zoom.
  • [ ] Is feature simplification/dropping tuned per zoom (--drop-densest-as-needed, --coalesce-densest-as-needed) so low zoom levels don't try to render every feature?
  • [ ] Are attribute fields trimmed to only what's needed for styling/interaction — bloated per-feature properties inflate tile size for no rendering benefit.
  • [ ] For dynamic tiling, is a cache layer (CDN, Redis, or the tile server's built-in cache) in front of the database to avoid regenerating identical tiles on every request?
  • [ ] Output format: MBTiles (single SQLite file, widely supported) vs PMTiles (cloud-native, servable directly from object storage without a server) — prefer PMTiles for a static+CDN deployment.
  • [ ] Does the source-layer name in generated tiles match exactly what the frontend style spec references? (see maplibre-vector-tile-styling)

Common pitfalls

  • Standing up a dynamic tile server for data that rarely changes: unnecessary infrastructure and cost when static + CDN would serve identically with far less operational surface.
  • No zoom-dependent simplification: shipping full-detail geometry at all zoom levels bloats tile size and slows rendering at low zoom where detail isn't perceptible anyway.
  • Not deduplicating overlapping features across tile boundaries: can cause double-rendering or seams at tile edges if source data isn't properly clipped/buffered during tiling.
  • Ignoring tile size limits: very large individual tiles (dense urban polygons at high zoom) can exceed practical size/performance budgets — tune --maximum-tile-bytes and simplification settings rather than shipping oversized tiles.
  • Serving dynamic tiles per-request without caching identical bbox/zoom/filter combinations: repeated identical queries hit the database unnecessarily.

Reference snippets

bash
# Static generation with zoom-aware simplification, output as both formats
tippecanoe -o output.mbtiles -zg --drop-densest-as-needed --extend-zooms-if-still-dropping input.geojson
pmtiles convert output.mbtiles output.pmtiles
bash
# Dynamic tiles directly from PostGIS (martin)
martin postgresql://user:pass@localhost/db
# exposes /tile/{table}/{z}/{x}/{y} automatically from table geometry columns

Related skills

  • postgis-geospatial — the database backing dynamic tile servers
  • cloud-optimized-geo-formats — PMTiles serving details
  • maplibre-vector-tile-styling — consuming the generated tiles on the frontend

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kendrick-oppong/geoskills/vector-tile-pipeline/badge)](https://verified-skill.com/skills/kendrick-oppong/geoskills/vector-tile-pipeline)

Something wrong with this skill or its page? Tell us.