AGENT SKILL

geoparquet

Use the GeoParquet specification and bundled inspection helpers to author, validate, distribute, or safely review geospatial Parquet data, including GeoParquet 2.0 vector metadata, external writer choices, and the alpha Parquet Raster proposal.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
geoparquet
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Use the GeoParquet specification and bundled inspection helpers to author, validate, distribute, or safely review geospatial Parquet data, including GeoParquet 2.0 vector metadata, external writer choices, and the alpha Parquet Raster proposal.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

GeoParquet

Use this skill when a task involves GeoParquet, Parquet GEOMETRY/GEOGRAPHY logical types, WKB geometry columns, the Parquet geo metadata key, CRS/PROJJSON, spatial row-group statistics, GeoParquet distribution, STAC publication, or the alpha Parquet Raster proposal.

This repository is a specification and example suite, not an installable Python writer package. Do not tell a user to install geoparquet as if it were a library. For local inspection helpers, install the dependencies appropriate to the task, then run a neutral import check:

python -m pip install "pyarrow>=22" "jsonschema>=4" "geoarrow-pyarrow>=0.2"
python -c "import pyarrow, jsonschema; print(pyarrow.__version__)"

The helper scripts are self-contained and offline by default. They do not fetch PROJJSON schemas, resolve authority registries, install external writers, or contact out-of-database raster URIs. Keep the exact writer/reader versions and raw inspection output with any conformance or publication decision.

Route by task

  • Validate or inspect a vector file: read sub-skills/validate-geoparquet/SKILL.md. Use it for geo JSON, native logical types, WKB layout, CRS, geometry types, bbox, and row-group geospatial statistics. It distinguishes a full 2.0 file from metadata-only or native-type-only Parquet.
  • Plan a distribution or choose a writer: read sub-skills/distribute-geoparquet/SKILL.md. Use it for GDAL/OGR, DuckDB, gpio/geoparquet-io, Sedona, compression, ordering, row groups, spatial partitioning, STAC, and old-reader tradeoffs.
  • Review raster-in-Parquet designs: read sub-skills/parquet-raster/SKILL.md. Treat it as an alpha proposal only; do not transfer vector conformance rules to raster columns.

Shared operating rules

  1. Establish the claimed GeoParquet version, file or dataset scope, writer and reader versions, expected CRS, and compatibility requirements before giving a pass/fail result.
  2. Inspect the Parquet footer, not only the filename or a successful generic Parquet read. GeoParquet 2.0 requires native root-level, non-repeated BYTE_ARRAY geometry columns annotated GEOMETRY or GEOGRAPHY, plus a JSON geo metadata block.
  3. Validate metadata locally, then reconcile metadata with physical schema, WKB representation, native CRS, geometry-type statistics, and row-group extents. Mark unresolved PROJJSON or CRS-equivalence checks as not verified, never as passed.
  4. Choose GeoParquet 2.0 for native geometry types and geospatial statistics when the reader matrix supports them. Choose 1.1 with bbox covering when older readers require it, and label the artifact with its actual version.
  5. Before publication, plan compression, spatial ordering, row groups, partitioning, and STAC separately from logical conformance. A valid bbox or native statistic does not make unsorted data fast.
  6. Never fetch an out-db raster URI during review. Preserve alpha-proposal ambiguities and external dependencies in the result.

Read references/troubleshooting.md for cross-cutting recovery guidance, and read references/repo-provenance.md before deciding whether this graph is stale relative to a repository checkout.

Scope limits

This graph does not implement a general GeoParquet writer, run production-scale conversion or benchmarks, install external tools, resolve every CRS authority, or certify the alpha raster proposal. It does include safe bundled vector metadata/footer helpers; their ownership and usage are described by the validation sub-skill.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351