Individual skill
portaljs-add-geo
Auto-ingest a geospatial file (GeoJSON, Shapefile, GeoPackage, KML/KMZ, FlatGeobuf, CSV-with-geometry) into a PortalJS portal on the user's own machine, with no server. Normalizes CRS to EPSG:4326, derives a PMTiles render tier and a GeoParquet query tier, pushes all three artifacts to Cloudflare R2 via Git LFS, and appends one dual-tier datasets.json entry the showcase auto-renders. Use when the source is a vector geo format that needs a map or spatial-query view.
skills/portaljs-add-geo/SKILL.md
Source commit fc7ccd651459549a962c8b7aa08f60f8849fd9a5
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,370
- Repository last updated
- Oct 28, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- data-portal Repository topic
- ckan Repository topic
- nextjs Repository topic
- open-data-portal Repository topic
- data-mesh Repository topic
- datahub Repository topic
- open-data Repository topic
- openmetadata Repository topic
- dataverse Repository topic
- dkan Repository topic
- portaljs Declared skill tag
- data-portal Declared skill tag
- geospatial Declared skill tag
- pmtiles Declared skill tag
- geoparquet Declared skill tag
- duckdb Declared skill tag
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 6,928 bytesSKILL.mdcore · 6,928 bytesSKILL.mdcore · 6,928 bytesSKILL.mdcore · 6,928 bytesreferences/reference.mddoc · 5,069 bytes
Read excerpt
# PortalJS — Add Geo
## Overview
Turn one geospatial upload into a **dual-tier** PortalJS dataset entirely on the user's
machine — **no server-side container compute**, keeping the zero-backend bet end-to-end.
From a single source the skill derives two serverless tiers plus the preserved original:
- **PMTiles** (render tier) — a vector-tile archive `<MapPreview>` renders with MapLibre GL
over HTTP range requests; any dataset size pans and zooms with no tile server.
- **GeoParquet** (query tier) — a GeoParquet 1.1 file (covering `bbox` column, Hilbert-sorted)
`<GeoQuery>` runs spatial SQL over in place via DuckDB-Wasm.
- **Original** — the untouched upload in its native CRS, kept downloadable.