Cloud-Native Geospatial Tutorial Roadmap
This document outlines the long-term vision for this tutorial, including the core curriculum and the "Scout" capstone project.
Phase 1: Core Curriculum (Modules 01-13)
Status: Partially complete — Modules 01-05 done, 06-13 content written, exercises planned.
- 01 Introduction: Project structure and UV setup.
- 02 STAC: Spatiotemporal Asset Catalogs and data discovery.
- 03 COG: Cloud Optimized GeoTIFFs, tiling, and range requests.
- 04 Zarr: N-dimensional arrays for weather and climate data.
- 05 Vector Formats: GeoParquet and FlatGeobuf.
- 06 Apache Iceberg: Modern table formats for data lakes.
- 07 Datacubes:
stackstacand alignments. - 08 Cloud Storage: S3 patterns, Requester Pays, Signed URLs.
- 09 AI & ML: Data preparation and inference pipelines.
- 10 Scaling: Distributed compute with Dask and Ray.
- 11 Data Commons: Overture Maps, Planetary Computer — content complete, exercises planned.
- 12 Modern Analytics Viz: GPU-accelerated visualization with lonboard and TiTiler.
- 13 Geo Foundation Models: The future of spatial AI.
Phase 2: Performance & Product Patterns (Modules 14-21)
These modules focus on optimizing for infrastructure cost, data integrity, and discoverability in enterprise-scale systems.
- 14: Fast Legacy Hybrid: High-speed ingestion of enterprise formats (FileGDB, GeoPackage).
- 15: Geospatial Integrity & Observability: Automated topology and validation checks.
- 16: Spatial Data Warehousing: Hybrid cloud architectures and external tables (Snowflake/BigQuery).
- 17: Multidimensional Mastery: Handling climate and time-series data at scale with Zarr.
- 18: Catalog Management: Building discoverable data assets with STAC.
- 19: Serverless Infrastructure: Eliminating tile servers with PMTiles.
- 20: Global Grid Systems: Indexing and real-time supply/demand matching with H3.
- 21: Client-Side Engine: Full-stack geospatial without a backend (Introduction to DuckDB-Wasm).
Elective Applied Projects (Mastery Tracks)
Standalone projects designed to demonstrate platform-specific mastery and modern architectural patterns.
- Applied: Urban Heat Island Monitor: Automated Overture Maps processing with Wherobots (Sedona) and visualization in Felt.
- Applied: "Ghost Map": Real-time collaborative mapping using Elixir/Phoenix WebSockets to simulate Felt's architecture.
Phase 3: "Scout" Capstone Project (Modules 22-25)
Status: ✅ Complete — develop branch
Scout is a "Chat-to-Map" application: the user types a natural language question and gets an instant interactive map answer with zero backend servers or databases.
| Layer | Technology | Purpose |
|---|---|---|
| Data | Overture Maps → GeoParquet on S3 | Spatially partitioned, queryable by range request |
| Semantic | Next.js API Route + LLM | Translate natural language → DuckDB SQL |
| Compute | DuckDB-Wasm in browser | Query GeoParquet files directly from S3, no server needed |
| Visualization | MapLibre GL JS + Deck.gl | Basemap + data overlay, zero-copy via Apache Arrow |
- Module 22: Scout Intro & Architecture
- Module 23: Phase 1 — ETL Pipeline
— DuckDB + Overture Maps, Hilbert sort, GeoParquet ETL. Bonus:
04_ibis_exploration.ipynb— Ibis API over DuckDB. - Module 24: Phase 2 — Semantic Backend — STAC-informed prompts, swappable LLM API route.
- Module 25: Phase 3 — Interactive Web App — MapLibre GL JS, DuckDB-Wasm, Deck.gl.
Elective Extended Modules (26-35)
Complete Modules 22-25 (the Scout build) before these. They extend Scout's architecture toward larger-scale, research-grade patterns.
| Module | Title | Status |
|---|---|---|
| 26 | Vector Search & Schema RAG | 🔲 Planned |
| 27 | Agentic Geospatial Queries | 🔲 Planned |
| 28 | Open Problems at the Geospatial AI Frontier | ✅ Complete (reading module) |
| 29 | Industry Analysis | ✅ Complete (reading module) |
| 30 | Prototyping Agentic GIS (CARTO/Google Style) | ✅ Complete |
| 31 | Prototyping NL-to-SQL Web GIS (Felt Style) | 🔲 Planned |
| 32 | Prototyping EO Feature Extraction (Esri Style) | 🔲 Planned |
| 33 | Where do LLMs think neighborhoods are? | ✅ Complete (ongoing experiments) |
| 34 | GeoPandas Fundamentals | ✅ Complete |
| 35 | Spatial SQL Deep Dive | 🔲 Planned |
Module Summaries
- Module 26: When prompt stuffing breaks — embedding STAC catalog metadata into a vector store (ChromaDB, Qdrant, pgvector) for hybrid spatial + semantic retrieval.
- Module 27: Beyond single-turn NL-to-SQL: LLM tool-calling
(
search_datasets,execute_sql,get_map_extent), self-correcting SQL, observability. - Module 28: Open problems survey — OGC standards gap, geospatial semantic similarity, hallucinated geographies, CRS heterogeneity, temporal geospatial semantics.
- Module 29: GeoAI landscape — Google, CARTO, Felt, Esri, Mapbox, Planet mapped against frontier open problems.
- Module 30: MCP server exposing four geospatial tools + LangGraph TypeScript agent with multi-step tool chaining. ✅ Complete.
- Module 31: Chat interface directly attached to MapLibre GL JS — natural language → DuckDB-Wasm spatial SQL in the browser.
- Module 32: Streaming COGs + vision-language model to extract building footprints into a STAC catalog.
- Module 33: LLM geographic knowledge eval — bounding box + polygon accuracy across SF neighborhoods, IoU metrics, model comparison. Issue #39 / #40 track ongoing polygon expansion work.
- Module 34: GeoPandas fundamentals — loading, CRS, spatial joins, geometry operations, choropleth mapping. Matt Forester's 6-notebook tutorial series with NYC open data. ✅ Complete.
- Module 35 (planned): Spatial SQL deep dive — raw DuckDB spatial
extension (
ST_Within,ST_Buffer,ST_DWithin), point-in-polygon joins, spatial aggregations. Reuses Module 34's NYC datasets.
Project Structure Reference
src/ ├── app/ │ ├── cng-modules/ # CNG module list + individual module pages │ ├── scout/ # Scout capstone web app (Phase 3) │ └── api/ │ ├── readme/ # Serves exercise README files to the UI │ └── scout/query/ # Scout NL-to-SQL API endpoint (Phase 2) │ ├── content/ │ ├── cng-modules/ # Markdown content for CNG modules 01-32 │ └── applied/ # Markdown content for elective applied projects │ ├── exercises/ # Hands-on code for CNG modules │ ├── 02-stac/ … 21-browser-engine/ │ ├── 23-scout-etl/ # ETL + Ibis exploration │ ├── 30-agentic-gis/ # MCP server + LangGraph agent │ ├── 33-spatial-eval/ # LLM eval Streamlit app │ └── 34-geopandas/ # GeoPandas tutorial notebooks + NYC data │ └── scout/