August 2026 · Spatial processing

DuckDB spatial engine

Ingest vector GIS on-device, query with CQL2, and serve dynamic Mapbox Vector Tiles to MapLibre — plus a local OGC API Features endpoint.

Convert. Index. Tile.

Native converter ingests ESRI FileGDB, Shapefile, KML/KMZ, GPX, GeoPackage, GeoJSON, FlatGeoBuf, GML, MapInfo, and other GDAL-supported formats. Export to GeoPackage, GeoJSON, or MBTiles with CRS transform to EPSG:4326 or EPSG:3857.

  • Dynamic gzip MVT from local spatial data (R-tree indexed)
  • MBTiles export with TileJSON vector_layers and geographic bounds
  • Tile-count guard — conversions over 100,000 candidate tiles are rejected
  • Local loopback XYZ tile server for MapLibre layers

CQL2 + OGC API Features

OGC CQL2-Text compiles to parameterized DuckDB SQL (equality, comparison, AND/OR/NOT, INTERSECTS / WITHIN). Identifier validation blocks injection. The loopback OGC API Features service lists collections and serves RFC 7946 GeoJSON with pagination, bbox, and CQL2 filters.

Spatial attribute table

Large GIS files page through DuckDB — never fully loaded into memory. Toggle all features vs. current map viewport. Full-text search with debounce.

Related: Vector converter · Attribute Grid · MBTiles vector

This product and website are not affiliated with the U.S. Government (NGA or USGS).