SATeo
Home › Educational Guides › Scale & Automation
Scale & Automation

Batch Processing Architectures for Broad-Area Satellite Mosaics

Orchestrate asynchronous tile grids, object storage outputs, and cost-controlled processing pipelines across country-scale geometries.

When to Move from Synchronous API Calls to Batch Processing

Synchronous HTTP Processing API requests excel at interactive map tiles, small regional clips, and responsive dashboards returning within seconds. However, once a workflow expands to cover entire river basins, provinces, or national forest inventories at 10-meter resolution, single synchronous HTTP requests hit memory limits, payload caps, and gateway timeouts.

Asynchronous Batch Processing solves broad-area scale by decoupling job submission from execution. The client submits an Area of Interest, tiling grid specification, evalscript, and destination cloud bucket; the cloud engine partitions the footprint into hundreds of parallel tiles, schedules worker nodes, and writes GeoTIFF outputs directly to object storage.

  • Eliminates HTTP timeouts for multi-thousand-square-kilometer processing jobs
  • Partitions huge footprints into standard UTM or Web Mercator grid tiles automatically
  • Streams outputs directly to S3-compatible object storage with COG-ready structure
  • Reduces processing unit overhead per square kilometer compared to repeated small requests

Selecting Tiling Grids and Resolution Trade-Offs

Choosing an appropriate tiling grid keeps downstream GIS ingestion manageable. Standard 10 km x 10 km or 20 km x 20 km UTM tiles at 10-meter resolution produce 1000x1000 or 2000x2000 pixel GeoTIFFs—small enough to inspect individually while assembling cleanly into Virtual Raster (VRT) mosaics or STAC catalogs.

Teams should also evaluate whether full 10-meter resolution is strictly required for every band. Producing regional drought or land-surface baselines at 20 meters cuts total pixel volume by seventy-five percent, accelerating job completion and trimming cloud storage budgets.

Managing Processing Units, Retries, and Job States

Production batch pipelines follow a clean state machine: CREATED, ANALYSING, PROCESSING, DONE, or FAILED. During the initial ANALYSING phase, the engine estimates total processing units based on area, band count, and temporal depth, allowing automated budget guards to verify quotas before committing compute.

If an individual tile encounters transient upstream storage latency, mature batch runners support partial tile retries rather than restarting the entire national job from zero. Logging job IDs alongside exact evalscript hashes guarantees full reproducibility.

  • Run a dry-run analysis check on a 100 sq km pilot tile before launching national scale
  • Monitor job status via polling intervals (30–60 seconds) rather than tight loops
  • Store output tiles alongside a STAC item index or GDAL VRT for instant QGIS loading

Post-Job Verification and Mosaic Assembly

Once a batch job transitions to DONE, automated validation scripts should verify expected tile counts against the planned UTM grid, inspect sample GeoTIFF headers for valid CRS EPSG codes, nodata tags, and byte compression, and build internal overview pyramids if not already generated. Catching a single corrupt or truncated edge tile immediately prevents silent gaps in downstream land-cover products.

Assembling output tiles via a lightweight GDAL Virtual Raster (VRT) file or a static STAC catalog lets desktop GIS analysts and Python pipelines mount an entire country mosaic seamlessly without duplicating gigabytes of raster storage. Teams serving finished mosaics to web applications can subsequently register the cloud bucket directly as a Bring-Your-Own-Data collection for instant WMS and WMTS streaming.

  • Validate actual tile count and bounding-box coverage against the initial grid manifest
  • Build a GDAL VRT or STAC item index so QGIS opens hundreds of tiles as one unified layer
  • Verify DEFLATE or ZSTD compression and internal tiling before archiving to cold storage

Synchronous vs. Batch Processing Scaling Comparison

DimensionSynchronous Processing APIBatch Processing APIEngineering Trade-Off
Max FootprintUp to ~2500 x 2500 px/callCountry to continental scaleBatch splits AOI into parallel worker grid tiles
Latency Pattern1–10 seconds inline HTTPMinutes to hours asyncRequires job polling or completion webhook
Output DeliveryDirect HTTP response bodyCloud object storage bucketAvoids local server memory bottlenecks
Cost EfficiencyStandard per-request rateBatch-optimized unit pricingSubstantial savings for large static archives
Best Use CaseOn-demand app clips & tilesAnnual LULC maps & ML datasetsUse sync for UI interactivity, batch for bulk ETL

Exact pixel caps and storage destinations depend on account plan tier and grid configuration.

Worked Illustration: Sizing a Provincial 10 m Batch Tiling Grid

This worked illustration calculates tile count, pixel volume, and output GeoTIFF sizing for a 20,000 sq km provincial seasonal composite.

  1. Define a 20,000 sq km provincial footprint and adopt a 20 km x 20 km (400 sq km) UTM tiling grid.
  2. Calculate grid tile count: 20,000 / 400 = 50 regular square tiles covering the province.
  3. Compute pixels per tile at 10 m spacing: 2,000 x 2,000 = 4,000,000 pixels per tile (200 million pixels total).
  4. Estimate uncompressed 4-band FLOAT32 size per tile: 4M x 4 bands x 4 bytes = 64 MB raw (~22 MB after DEFLATE compression), totaling ~1.1 GB across 50 tiles.

Worked Illustration Summary: Partitioning 20,000 sq km into fifty 20 km x 20 km tiles yields predictable ~22 MB compressed GeoTIFFs that process in parallel and mount instantly via VRT.

Batch Satellite Processing Verification Checklist

  • Test the evalscript on a single pilot tile via synchronous API before submitting the full batch
  • Validate AOI geometry simplification so vertex-heavy boundaries do not stall tile intersection
  • Select an equal-area or local UTM tiling grid for consistent meter-based pixel areas
  • Verify bucket write permissions and target prefix paths prior to starting the job
  • Check estimated processing units during the ANALYSING stage against monthly plan quotas
  • Generate a GDAL VRT or STAC collection over completed tiles for seamless GIS consumption

Frequently Asked Questions

Can I update an evalscript after a batch job enters PROCESSING?

No. Job parameters and evalscripts are locked once execution starts. Cancel the running job if an error is spotted and submit a corrected job ID.

What file format should batch jobs write for fastest cloud GIS reads?

Write internally tiled, DEFLATE- or ZSTD-compressed GeoTIFFs (or Cloud-Optimized GeoTIFFs with overviews) so downstream viewers can stream byte ranges without reading full files.

How do I handle AOIs that cross two UTM zones?

Either split the AOI into one batch job per UTM zone for strict local area accuracy, or use a unified continental equal-area projection such as ETRS89-LAEA (EPSG:3035) in Europe.

Why do edge tiles sometimes contain mostly nodata pixels?

Irregular administrative borders rarely align cleanly with rectangular grid cells. Pre-filtering empty grid tiles that do not intersect the polygon saves wasted output files.

Primary Standards & Technical References

  • STAC (SpatioTemporal Asset Catalog) Specification v1.0.0 — Tiled Asset Organization
  • OGC Cloud Optimized GeoTIFF (COG) Standard 1.0 (OGC 21-026, Open Geospatial Consortium)
  • GDAL Virtual Format (VRT) Driver & Multi-Tile Mosaic Documentation

Related Earth Observation Guides