nz-arcgis
Discover and query allowlisted New Zealand public-sector and utility ArcGIS services and layers, including Auckland, Christchurch, Dunedin and Hamilton…
от thecolab-ai★ 41 звезда на GitHub
Установить nz-arcgis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NZ ArcGIS
Use scripts/cli.py to discover public ArcGIS REST services from verified New Zealand publishers, inspect layers and extract bounded spatial records. Python 3.10+, stdlib only; keyless and read-only.
Workflow
Run
orgsto select a publisher and inspect its verified roots.Use
services ORGthenlayers ORG SERVICEto discover layer URLs. A service name includes its server type, such asPJ_Roadworks_MS/FeatureServer. Enterprise services on another root use their full allowlisted HTTPS URL.For Auckland hackathon data, use
layers --curated akl --problem F1or read references/layers-auckland.md. Names, A/B grades, problem tags, licences and caveats are machine-readable in references/layers-auckland.json. Uselayers --curated nz --publisher dccfor the wider selection; references/layers-nz.md and references/layers-nz.json document the additional council layers, Flooded NZ and PC120 services.--publisherfilters either curated selection by organisation code.Run
describe LAYER_URLbefore choosing fields or an attribute filter; it includes fields, geometry type, record count and the upstream editing timestamp when published. Problem tags: F1 flooding/flow paths; T1 congestion; T2 near-miss safety; T3 incidents/roadworks; W1 construction and demolition materials; W2 reuse/repair/recycling; W3 illegal dumping.Use
countto size a selection, thenquerywith a WGS84 bbox and small limit. Preserve the layer caveats when interpreting an extract.
Commands
python3 skills/nz-arcgis/scripts/cli.py orgs --json
python3 skills/nz-arcgis/scripts/cli.py services at --json
python3 skills/nz-arcgis/scripts/cli.py layers at PJ_Roadworks_MS/FeatureServer --json
python3 skills/nz-arcgis/scripts/cli.py layers --curated akl --problem F1 --json
python3 skills/nz-arcgis/scripts/cli.py layers --curated nz --publisher ccc --json
python3 skills/nz-arcgis/scripts/cli.py services hcc --root 0 --max-requests 1 --json
python3 skills/nz-arcgis/scripts/cli.py count https://apps.dunedin.govt.nz/arcgis/rest/services/Public/Search/FeatureServer/0 --json
python3 skills/nz-arcgis/scripts/cli.py describe https://tiles.arcgis.com/tiles/n4yPwebTjJCmXB6W/arcgis/rest/services/PC120Revised_PROD_Precincts/MapServer --json
python3 skills/nz-arcgis/scripts/cli.py query https://gis.ccc.govt.nz/server/rest/services/OpenData/Structure/FeatureServer/2 --bbox 172.635,-43.535,172.64,-43.53 --fields FenceID,Height --limit 5 --format geojson
python3 skills/nz-arcgis/scripts/cli.py query https://services-ap1.arcgis.com/eqbFSejuTufXDr0E/arcgis/rest/services/flooded_nz_gdb_v2_202603181308/FeatureServer/0 --fields objectid,obs_date,impact,obs_depth,obs_depth_v2,historic --limit 5 --json
python3 skills/nz-arcgis/scripts/cli.py search stormwater --org akl --root 0 --max-services 20 --json
python3 skills/nz-arcgis/scripts/cli.py describe https://services2.arcgis.com/JkPEgZJGxhSjYOo0/arcgis/rest/services/PJ_Roadworks_MS/FeatureServer/0 --json
python3 skills/nz-arcgis/scripts/cli.py count https://services2.arcgis.com/JkPEgZJGxhSjYOo0/arcgis/rest/services/PJ_Roadworks_MS/FeatureServer/0 --json
python3 skills/nz-arcgis/scripts/cli.py query https://services2.arcgis.com/JkPEgZJGxhSjYOo0/arcgis/rest/services/PJ_Roadworks_MS/FeatureServer/0 --bbox 174.738,-36.895,174.741,-36.888 --limit 5 --format geojson --json
python3 skills/nz-arcgis/scripts/cli.py query https://services1.arcgis.com/n4yPwebTjJCmXB6W/arcgis/rest/services/Stormwater_Pipe/FeatureServer/0 --bbox 174.919,-37.024,174.922,-37.021 --fields OBJECTID --limit 5 --format csv
- Every command accepts
--json:{"meta": {...}, "results": [...]}. GeoJSON has ametaforeign member. Provenance includes source URL, publisher, UTC retrieval time, licence when known andlatest_datawhen editingInfo.lastEditDate exists. Cached catalogue timestamps are retained. Unknown licence notes are separate from reuse terms. Errors use stdout with empty results and standard error code/type/message; human errors use stderr. queryaccepts--where(default1=1),--fields(default*for unrestricted organisations), WGS84--bbox,--limit(default 100, maximum 10,000) and--format json|geojson|csv. Flooded NZ defaults toobjectid,obs_date,impact,impact_items,obs_depth,obs_depth_v2,historic,status;*and fields outside that allowlist exit 2 before connecting. Its--where(forqueryandcount) may reference only those fields, with literals, comparison operators, parentheses andAND/OR/NOT/IN/IS/NULL/LIKE/BETWEEN/DATE/TIMESTAMP; other identifiers, functions, subqueries, quoted identifiers, comments or unparseable filters exit 2 before connecting. Itsdescribeoutput includes only allowlisted fields. Geometry uses WGS84; bbox filtering uses upstream intersects. Tables reject--bbox; use--wherefor a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/curation-exclusions.json
- references/layers-auckland.json
- references/layers-auckland.md
- references/layers-nz.json
- references/layers-nz.md
- references/more-layer-exclusions.json
- references/orgs.json
- references/source-notes.md
- references/verification.json
- scripts/cli.py
- scripts/curate_layers.py
- scripts/curate_more_layers.py
- scripts/fixture_checks.py
- scripts/more_fixture_checks.py
- scripts/more_smoke_checks.py
- scripts/provenance.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл nz-arcgis?
Discover and query allowlisted New Zealand public-sector and utility ArcGIS services and layers, including Auckland, Christchurch, Dunedin and Hamilton assets, hazards and transport data. Use for service/layer metadata, counts and bounded WGS84 spatial extracts as JSON, GeoJSON or CSV, including PC120 map metadata.
Как установить скилл nz-arcgis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nz-arcgis запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…