Introduction
GeoBrix is a high-performance Databricks Labs spatial processing library. It has one function set, which you call from SQL, Python, Unity Catalog SQL or Scala. The Python level (lightweight) runs every function with no JAR, on Serverless, standard/shared, Lakeflow, and ARM compute. The env wheel carries its own GDAL, PROJ and GEOS. The JVM level (heavyweight) is Scala/GDAL on Apache Spark, for dedicated clusters. Put the GeoBrix JAR beside the env wheel, or use the GeoBrix DCS image; see Choose an install path. gbx.register(spark) picks the faster level for the compute, so your code does not change. The Python level covers all of RasterX. It covers all of VectorX (MVT, TIN surfaces, legacy-geometry migration). It covers all of GridX (CARTO quadbin, British National Grid (BNG), custom grids, and H3). RasterX at the Python level is, in large part, distributed rasterio: the familiar rasterio/NumPy raster stack run as Spark UDFs across the cluster. See Surfaces & Levels.

GridX's 66 functions break down as BNG (27), Quadbin (17), custom grids (15), and H3 (7).
Supported Databricks Runtimes
GeoBrix supports the following Databricks Runtime releases. A single wheel + single JAR runs on 17.3, 18, and 19. Scala 2.13 minor versions are binary-compatible. The JAR is compiled to Java-17 bytecode so it loads on all three JVMs, and Spark is a provided dependency.
| DBR | Ubuntu | Spark | Python | Scala | Java | GeoBrix |
|---|---|---|---|---|---|---|
| 17.3 | 24.04 | 4.0.0 | 3.12.3 | 2.13.16 | 17 | ✅ Supported |
| 18 | 24.04 | 4.1.0 | 3.12.3 | 2.13.16 | 21 | ✅ Supported |
| 19 | 24.04 | 4.2.0 | 3.12.3 | 2.13.18 | 21 | ✅ Supported |
GeoBrix is Serverless-first. Install the env wheel for your runtime: geobrix-<version>+env6 on Serverless environment v6 (recommended) and DBR 19, geobrix-<version>+env5 on environment 5 and DBR 17.3 / 18. There is no light extra to pick. See Installation for details.
Background
Product built-in Spatial SQL Functions have reached public preview as of DBR17.1. We are now seeking to deliver the next generation of product-augmenting capabilities to help our customers. GeoBrix project is a streamlined iteration to the existing, and quite popular, DBLabs Mosaic project.
Beyond just porting existing Mosaic code, GeoBrix is modernized with expressions designed to work with our Data Intelligence Platform. GeoBrix runs each function at the level that suits the compute: a SQL expression, Python, the JVM (with the JAR) or a Unity Catalog function. It also will focus on techniques to use the Databricks platform more widely.
Why GeoBrix?
Databricks first acquired MosaicML and has now made a product line, Mosaic AI. It has become clear that the DBLabs Mosaic project, which shares the name, needs to be revamped in name. Existing Mosaic capabilities that compete with product investments need to be revamped too.
If this were not the case, we would have simply iterated on DBLabs Mosaic "in-place" keeping the same name for what is now called GeoBrix. The latest/last version of Mosaic targets DBR 13.3 LTS since product introduced ST functions starting with private preview work in DBR 14. As such, Mosaic does not have any awareness of advancements in recent runtimes, including product support for spatial sql and types. It was retired with DBR 13.3 EoS (AUG 2026).

GeoBrix keeps rasters as governed FILE references and reads pixels on demand. See Virtual tiles.

Key Features
- High Performance: Built on Apache Spark for distributed processing
- GDAL-Powered: Leverages GDAL for raster and vector I/O and processing
- Native kernels where measured faster: GDAL, plus Rust for BNG cell encoding and TIN triangulation, in the env wheel
- Databricks Native: Designed specifically for Databricks Runtime
- Multi-Language Support: APIs available in Scala, Python, and SQL
- Comprehensive Readers: Support for various geospatial file formats
- Three Specialized Packages: RasterX, GridX, and VectorX for different spatial needs
What's Next?
- Install GeoBrix on your Databricks cluster
- Follow the Quick Start Guide to get up and running
- Explore the Functions to understand what GeoBrix offers
- Check out the Readers for data ingestion options
- Keep tables in sync with landing folders with Ingestion Pipelines