Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-pdok-location

БесплатноБез исполняемых скриптовНе проверен

One Go binary for every Dutch location workflow — geocode, reverse-geocode, batch CSVs, full GeoJSON geometries,... Trigger phrases: `geocode a Dutch…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

PDOK Location — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the pdok-location-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install pdok-location --cli-only
    
  2. Verify: pdok-location-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/developer-tools/pdok-location/cmd/pdok-location-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

PDOK Location is the right CLI when an agent needs to work with Dutch addresses, parcels, roads, or administrative boundaries — including batch geocoding CSVs, looking up the gemeente containing a point, converting between RD and WGS84 coordinates, or pulling full GeoJSON features inside a bounding box. It is Netherlands-only (do not use for non-Dutch addresses) and free (no auth, no key).

Why this CLI bundles two PDOK services

This binary wraps two upstreams — Locatieserver (/bzk/locatieserver/search/v3_1) and Kadaster Location API (/kadaster/location-api/v1) — because they are complementary, not redundant.

  • Locatieserver (Solr-based) is the primary text-geocoding surface: free-text matches, suggest→lookup chains, reverse geocoding by lat/lon or RD, ranked Solr scores. Returns records with centroid coordinates only.
  • Kadaster Location API (OGC API Features) is the secondary geometry surface: full GeoJSON, bbox filters, multi-CRS output (WGS84, RD/EPSG:28992, Web Mercator, ETRS89), 14 collections.

A common Dutch geo workflow uses both: geocode text on Locatieserver, then pull full geometry on the Location API. Each is incomplete without the other (Locatieserver lacks bbox and full geometries; Location API lacks Solr ranking and reverse geocoding), so bundling them under one binary, one config, and one local cache turns that workflow into a single tool. Run pdok-location-pp-cli doctor --json to see which of the two upstreams is reachable right now — the sources.locatieserver and sources.kadaster_location_api keys each report status + which commands are affected if the source is down.

When Not to Use This CLI

  • Do not use for non-Dutch addresses. PDOK only covers the Netherlands; passing a US, UK, German, Belgian, or other non-Dutch address returns either an empty result or a low-score false positive. Pick a different geocoder for those.
  • Do not use for mutating remote state. This printed CLI exposes read-only commands only — no creating, updating, deleting, publishing, commenting, ordering, booking, or other state-changing operations.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Batch and bulk workflows

  • batch geocode — Geocode an entire CSV of Dutch addresses in one command — outputs lat/lon, RD X/Y, match score, and an error column for failed rows.

    When an agent needs to enrich a list of Dutch addresses, this is the one-shot command — no per-row scripting, with cached re-runs and a clear error column.

    pdok-location-pp-cli batch geocode incidents.csv --address-col street --out incidents-geocoded.csv
    
  • features search — Search across multiple Location API OGC collections (adres, perceel, gebouw, ...) with an optional bounding-box filter, flattened to JSON or CSV.

    When an agent needs a flat CSV of address+parcel matches inside a study area, this is the lightest path from a query to a multi-collection result set.

    pdok-location-pp-cli features search --query damrak --collections adres,perceel --bbox 4.85,52.36,4.92,52.40 --csv
    

Geocoding workflows

  • resolve — Type a partial address, get the canonical match with full GeoJSON geometry — the suggest→lookup chain collapsed into a single command.

    When an agent needs to turn imprecise user text into a canonical address with geometry, this is the cheapest path.

    pdok-location-pp-cli resolve 'Damrak Amsterdam' --geojson
    
  • nearest — From any lat/lon or RD coordinate, return the nearest address, nearest parcel, nearest hectometer marker, and the gemeente/provincie containing the point — all in one call.

    Reverse-geocoding usually needs four separate API calls; this one returns the full picture in one shot, ideal for field-data enrichment pipelines.

    pdok-locatio
    
Полный SKILL.md на GitHub

Установить pp-pdok-location в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260520-150244/browser-sniff-gate.json.manuscripts/20260520-150244/proofs/2026-05-20-150244-fix-pdok-location-pp-cli-acceptance.md.manuscripts/20260520-150244/proofs/2026-05-20-150244-fix-pdok-location-pp-cli-build-log.md.manuscripts/20260520-150244/proofs/2026-05-20-150244-fix-pdok-location-pp-cli-polish.md.manuscripts/20260520-150244/proofs/2026-05-20-150244-fix-pdok-location-pp-cli-shipcheck.md.manuscripts/20260520-150244/proofs/phase5-acceptance.json.manuscripts/20260520-150244/research.json.manuscripts/20260520-150244/research/2026-05-20-150244-feat-pdok-location-pp-cli-absorb-manifest.md.manuscripts/20260520-150244/research/2026-05-20-150244-feat-pdok-location-pp-cli-brief.md.manuscripts/20260520-150244/research/2026-05-20-150244-novel-features-brainstorm.md.manuscripts/20260520-150244/source-priority.json.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json.printing-press-patches/batch-rollback-reports-committed-count.json.printing-press-patches/bq-default-empty.json.printing-press-patches/catalog-go-1264-vuln-floor.json.printing-press-patches/catalog-go-1265-vuln-floor.json.printing-press-patches/doctor-per-source-probes.json.printing-press-patches/geocode-alias.json.printing-press-patches/greptile-coordinate-validation.json.printing-press-patches/hide-broken-pdok-location-search.json.printing-press-patches/mcp-http-transport.json.printing-press-patches/mcp-prune-redundant-tools.json.printing-press-patches/mcp-trim-dutch-descriptions.json.printing-press-patches/novel-features.json.printing-press-patches/perceel-lookup-real-example.json.printing-press-patches/search-fallback-locatieserver.json.printing-press-patches/skill-narrative.json.printing-press-patches/workflow-archive-json-fidelity.json.printing-press-pii-polish.json.printing-press-release.json.printing-press-tools-polish.json.printing-press.jsonAGENTS.mdCHANGELOG.mdLICENSEMakefileNOTICE

FAQ

Что делает скилл pp-pdok-location?

One Go binary for every Dutch location workflow — geocode, reverse-geocode, batch CSVs, full GeoJSON geometries,... Trigger phrases: `geocode a Dutch address`, `find the gemeente for this lat/lon`, `convert RD coordinates to WGS84`, `look up a Dutch postcode`, `batch geocode a CSV of Dutch addresses`, `find the nearest address to this point in the Netherlands`, `use pdok-location`, `run pdok-location`.

Как установить скилл pp-pdok-location?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-pdok-location запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-pdok-location с