EodataInfra
Home › Technical Guides › Metadata & Discovery
Metadata & Discovery

Designing STAC Catalogs for Multi-Sensor Satellite Data Discovery

Architectural patterns for indexing optical, SAR, and derived Earth Observation products under a unified STAC API.

Static Catalogs vs. Dynamic STAC APIs

A static STAC catalog consists of linked JSON files hosted directly on object storage, requiring zero database servers and minimal operational overhead. It works well for fixed benchmark datasets, open data releases, and versioned archive snapshots.

Operational multi-constellation platforms require a dynamic STAC API conforming to OGC API - Features. Backed by PostgreSQL/PostGIS or Elasticsearch, dynamic endpoints support bounding-box intersections, datetime range filters, cloud-cover thresholds, and CQL2 property queries in milliseconds.

  • Static STAC: zero compute cost, immutable snapshots, ideal for batch crawling.
  • Dynamic STAC API: sub-second spatial-temporal filtering and pagination.
  • Hybrid pattern: publish static Parquet/JSON dumps alongside a live search API.

Collection Granularity and Extension Governance

Collection design determines query clarity across heterogeneous sensors. Grouping incompatible sensors into one flat collection forces clients to parse inconsistent asset keys, whereas creating separate collections per sensor and processing level preserves predictable schemas.

Official STAC extensions—including Electro-Optical (eo), SAR (sar), Projection (proj), and Processing (processing)—standardize critical fields such as gsds, incidence angles, and polarization modes across providers.

  • Separate collections by constellation, sensor family, and processing level (L1C vs. L2A).
  • Enforce uniform asset keys (e.g., red, nir, vv, vh, visual, thumbnail).
  • Validate every ingested STAC Item against JSON Schema before committing.

Spatial Partitioning and Indexing at Scale

Once an Earth Observation catalog surpasses tens of millions of scenes, naive spatial indexes degrade under dense overlapping footprints near polar orbits or long coastal swaths. Partitioning collection tables by acquisition month and geohash or H3 grid cell keeps B-tree and GiST indexes resident in memory.

Precomputing simplified polygon hulls for complex swath geometries prevents expensive vertex-by-vertex intersection checks during API search requests.

Federating Commercial and Public Catalogs

Enterprise EO teams rarely rely on a single satellite operator. A federated STAC layer translates uniform user queries into upstream provider schemas—normalizing disparate band names, datetime formats, and licensing tiers into one consistent API response.

Caching public catalog indexes locally while proxying commercial preview searches reduces upstream API latency and preserves consistent SLA behavior across applications.

STAC Deployment Pattern Comparison

ArchitectureBacking StoreQuery LatencyBest Operational Fit
Static STAC JSONObject Storage (S3/GCS)Crawl-based (Batch)Fixed releases, open benchmarks, cold archives
pgSTAC + FastAPIPostgreSQL + PostGIS15-80 msRelational integrity, CQL2 queries, mid-to-large catalogs
OpenSearch STACDistributed Search Cluster10-50 msHigh-concurrency faceted search across 100M+ items
STAC-GeoParquetDuckDB / Arrow / S3200-1500 msServerless bulk analytics and ML training exports
Federated ProxyAggregator + Cache100-400 msUnified multi-provider search and marketplace discovery

Latency figures reflect typical indexed bbox + datetime queries over properly partitioned collections.

Worked Illustration: Sizing a 25-Million-Item STAC Index

Consider an infrastructure team indexing 25 million multi-sensor satellite scenes into a dynamic pgSTAC database with geometry, timestamp, and extension properties.

  1. Average compressed JSONB STAC Item footprint in PostgreSQL: ~2.8 KB per item, totaling ~70 GB of base table storage.
  2. Adding GiST spatial index, timestamp B-tree, and composite collection/cloud-cover indexes adds ~35 GB of index footprint (~105 GB total).
  3. Partitioning into monthly partitions (~60 months = ~416,000 items per partition) reduces active hot index working set to ~1.8 GB per recent month.
  4. With 32 GB database RAM, recent-year partitions and spatial indexes remain 100% cached in shared buffers.

Key Takeaway: Temporal partitioning cuts active index RAM requirements by >90%, sustaining predictable sub-50 ms search responses as historical archives grow.

STAC Catalog Implementation Checklist

  • Validate all Collections and Items using stac-validator against STAC v1.0+ schemas.
  • Include proj:epsg, proj:geometry, and proj:bbox on every raster asset item.
  • Configure CQL2-JSON filter support for cloud cover, incidence angle, and band availability.
  • Partition high-volume collections by acquisition date before reaching 5 million items.
  • Standardize asset hrefs using either signed HTTPS URLs or documented s3:// URI conventions.
  • Implement idempotent upsert pipelines keyed on provider collection + scene ID.

Frequently Asked Questions

Should STAC assets use pre-signed HTTPS URLs or static S3 paths?

Expose canonical object URIs internally for compute workers in the same VPC, and dynamically sign HTTPS URLs at API response time for external browser or GIS clients.

How do you handle scenes that cross the antimeridian (180 degrees longitude)?

Split the GeoJSON geometry into valid MultiPolygon rings along -180 and +180 degrees per RFC 7946 so PostGIS and client renderers do not draw horizontal wrap-around artifacts.

Is STAC suitable for non-imagery geospatial datasets?

Yes. STAC supports point clouds, vector footprints, DEMs, SAR coherence grids, and derived ML analytics layers as long as each item has spatial extent and temporal metadata.

How often should STAC metadata be updated after initial ingestion?

Ingest near-real-time L1 metadata immediately on downlink, then publish a versioned update or linked derived Collection when radiometric calibration or cloud masks refine.

Primary Standards & References

  • SpatioTemporal Asset Catalog (STAC) — STAC API Specification & OGC API - Features Alignment
  • Open Geospatial Consortium (OGC) — OGC API - Features Part 3: Filtering and the Common Query Language (CQL2)
  • ISO 19115-1:2014 — Geographic Information Metadata Fundamentals

Related EO Infrastructure Guides