King County, WA 47.6062° N · 122.3321° W EPSG:4326
Spatial RAG · Now in private beta

Query Earth
in plain English.

TerraQuerry is the natural-language interface for your geospatial data. Connect PostGIS, Esri, or raw GeoTIFFs — then ask the questions you've always wanted to ask of your maps.

Building with teams at
cedar-river · 100yr flood
Live
0 2km 4km N
flood_zones_2024vector
watershedsvector
parcels_king_covector
elevation_demraster
Reading flood_zones_2024 & parcels_king_co
Computing intersection within 2 km of Cedar River
TerraQuerry · answered in 1.4s · confidence 0.94

I found 1,247 parcels intersecting the 100-year flood zone within 2 km of the Cedar River — about 412 acres totaling $890M in assessed value. Highest concentration sits along the river's northern bend (outlined orange).

[1] flood_zones_2024.shp [2] parcels_king_co.gpkg [3] cedar_river.geojson
How it works

Spatial RAG, end‑to‑end.

Most LLMs hallucinate when you ask them spatial questions. TerraQuerry doesn't, because it never guesses — it indexes your data, plans a spatial query, executes it on a real engine, and grounds every answer in the geometry it touched.

01
parcels.shp flood.geojson dem.tiff roads.gpkg

Ingest

Connect PostGIS, ArcGIS, S3, or upload Shapefiles, GeoJSON, GeoTIFF, KML. Schemas, projections, and CRS are auto-detected.

Vector Raster Tabular
02
R-TREE · H3 · EMBEDDINGS

Index

Geometry goes into spatial indices (R-tree, H3). Metadata, attributes, and column semantics are vectorized into a retrieval store the planner can search.

R-tree H3 Embeddings
03
"parcels in flood zone…"

Query

You ask in English. The planner decomposes your question into spatial primitives (intersect, buffer, nearest), runs them, and returns geometry — not just text.

NL → SQL PostGIS exec Cited answer
YOUR QUERY "Parcels in 100-year flood zone within 2km of Cedar River."
PLANNER OUTPUT SELECT p.* FROM parcels p
JOIN flood_100yr f ON ST_Intersects(p.geom, f.geom)
WHERE ST_DWithin(p.geom, cedar_river, 2000);
RESULT 1,247 features · GeoJSON + map + cited rows
Try a query

Pick a question. See it answered on the map.

Each example runs against a sample dataset of 1.4M parcels, 28k flood polygons, and 9 years of NDVI rasters covering the King County region.

EXAMPLE QUERIES
King County, WA · 47.5° N, 122.3° W
Live
05km10km
TerraQuerry · answered in 1.4s · confidence 0.94

I found 1,247 parcels intersecting the 100-year flood zone within 2km of the Cedar River — about 412 acres totaling $890M in assessed value. The highest concentration sits along the river's northern bend (outlined in orange); 38% are residential and 11 are critical facilities.

[1] flood_zones_2024.shp [2] parcels_king_co.gpkg [3] cedar_river.geojson
Plan parcels ⨝ flood_100yr · ST_DWithin(cedar_river, 2km)
Result 1,247 parcels · 412 ac · $890M aev
Use cases

Built for teams that
think in coordinates.

Urban planning

Zoning impact, parcel rollups, transit accessibility — query millions of parcels without writing a single ST_* function.

  • Parcel-level zoning analysis
  • 15-min city accessibility scoring
  • Permit clustering & trend detection

Disaster response

When the wildfire perimeter shifts, ask: "Which substations are inside the 6hr forecast cone?" — in seconds, not GIS days.

  • Real-time perimeter intersections
  • Evac-zone population estimates
  • Critical-asset proximity ranking

Defense & intel

Air-gapped. SCIF-friendly. On-prem deployment that keeps your tasking, telemetry, and trajectories on your network — never ours.

  • Multi-INT track fusion
  • Pattern-of-life analysis
  • Geofence & AOI alerting

Logistics & supply

Optimize routes, depot placement, and last-mile zones with constraint-aware queries. Ask "what if?" instead of waiting for a model run.

  • Isochrone-based catchments
  • Depot-network optimization
  • Last-mile zone simulation
Features

The full GIS workbench, behind a single text box.

Spatial reasoning

The planner understands buffer, intersect, contains, nearest, isochrone, viewshed, and 40+ other primitives.

Raster + vector

Mix GeoTIFF, NetCDF, Zarr, COG with vector layers in the same query. NDVI math, zonal stats, hillshade — all callable.

Time-aware

"How did this change between 2019 and now?" Temporal queries are first-class. Snapshot diffing, trend detection, and back-fill.

CRS-aware

Reprojects between EPSGs on the fly. Datum shifts, geographic vs projected, geocentric XYZ — sorted, not your problem.

Cited answers

Every result includes the rows, polygons, and rasters it touched. Drill into the geometry behind any number.

API + notebooks

Python, JS, REST. Drop in a Jupyter cell, embed in your dashboard, or build agents on top. GeoJSON in, GeoJSON out.

On-prem ready

Deploy in your VPC, your data center, or a SCIF. Zero egress. Air-gapped install. Models you control.

Open formats

GeoJSON, GeoParquet, FlatGeobuf, MVT, COG, STAC. No proprietary lock-in. Pull your data and your indices any time.

Data sources

Plug into the data you already have.

Live connectors to the tools your team already runs. No re-tiling, no migration. Read straight from source.

PostGISjdbc · 3.4+
ArcGISREST · OGC
Mapboxvector tiles
Snowflakegeography
BigQuery GISgeography
Sentinel-2stac · cog
Landsat 9usgs · cog
Earth Engineapi · proxy
OpenStreetMapoverpass
Planetstac · skysat
S3 / GCS / Azureparquet · cog
QGISplugin
Shapefile.shp · upload
GeoJSONnative
KML / KMZimport
+ Customsdk · adapter
Security & sovereignty

Your map data,
your perimeter.

We built TerraQuerry for organizations that can't send their geospatial data over the public internet. On-premise, air-gapped, classified — the same product, on your hardware, with your models.

  • Zero data egress Your geometry never leaves your tenancy. Indices, embeddings, and prompts stay on your hardware.
  • Air-gapped install Bring-your-own LLM. Run on Llama, Mistral, or your in-house model — no calls home, no telemetry.
  • Auditable plans Every query, plan, SQL execution, and row touched is logged. Replay any answer at any time.
SOC 2 Type II
ISO 27001 Certified
FedRAMP Moderate · in process
IL5 Roadmap
GDPR Compliant
CMMC 2.0 L2 ready
N 47°36'24" W 122°19'48" ELEV 56m ZOOM 14

Stop writing
ST_Intersects() by hand.

Private beta is open to GIS, intel, and infrastructure teams. Bring a dataset, leave with a working agent on top of it.