add-ogc-hook

Official

Add a robust OGC API hook for React.

Authorogc-maps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a stable, reusable React hook to fetch data from any OGC API endpoint, abstracting away endpoint details and enabling components to react to loading and errors without embedding fetch logic.

Core Features & Use Cases

  • Supports standard OGC API endpoints (collections, features, tiles, coverages, maps, and records) with a single hook interface
  • Ensures consistent result shape: data, loading, error, and optional pagination or metadata flags
  • Enables backend-agnostic data access across tipg, pygeoapi, or any compliant server, facilitating easy swapping of backends

Quick Start

Call the hook with a baseUrl and collection to fetch OGC API data and render the results.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-ogc-hook
Download link: https://github.com/ogc-maps/storybook-components/archive/main.zip#add-ogc-hook

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.