Skip to main content

Installation

GeoBrix installs as one Python wheel per runtime family, the env wheel. The env wheel runs every GeoBrix function, and carries its own GDAL, PROJ and GEOS. For most users, the env wheel is the whole install.

The env wheel includes the JAR

The GeoBrix env wheels and the JAR are not on PyPI or Maven. They are assets of the GitHub releases. The most common install downloads the env wheel once and stages it on a Volume (install 1). You can also install directly from GitHub if your network permissions allow (Install from the GitHub release).

Every env wheel ships the GeoBrix JAR inside it, so you do not need to download the JAR on its own. GeoBrix never loads it by itself. The JAR speeds up some functions at the JVM level in two places:

  • as a cluster library on a dedicated cluster (install 2);
  • in the Unity Catalog install folder (install 3).

To stage on a Volume, gbx.stage_jar copies the matching JAR, which gbx.register(spark) then checks. gbx.stage_deps stages the wheel's pinned dependencies, so an install never calls PyPI (Install without PyPI access).

How GeoBrix registers its functions​

GeoBrix functions reach you in one of two ways. You can use both.

Session registrationUnity Catalog functions
Howgbx.register(spark), once in each sessiongbx.uc.install(...), once, by a schema owner
Where the functions liveThe Spark session: SQL (gbx_*), the Python API and the *_gbx readers and writersA Unity Catalog schema: <catalog>.<schema>.gbx_*
Who can call themCode in that sessionAnyone granted access, on any compute that reads Unity Catalog, including SQL warehouses
Which functionsAll of themA subset (see Unity Catalog functions)
What runs themThe Python level. With the JAR as a cluster library on a dedicated cluster, also the JVM level where it is fasterPython, or SQL where that is faster. JVM-boosted functions too, when the JAR is in the install folder

Choose an install​

InstallRuns onYou installThen
1. Session: the env wheel (most common)Serverless, standard and dedicated clusters, Lakeflow declarative pipelinesThe env wheelgbx.register(spark)
2. Session: the env wheel and the JARClusters in dedicated access mode onlyThe env wheel and the JAR, as cluster libraries (or a GeoBrix container image)gbx.register(spark)
3. Unity Catalog functionsSQL warehouses, and any compute that reads Unity CatalogNothing, for callers. A schema owner runs gbx.uc.install onceCall <catalog>.<schema>.gbx_*

Start with install 1. Your code is the same with or without the JAR: gbx.register(spark) picks the faster level the compute offers. Only a dedicated cluster can load the JAR. Serverless and standard access mode run Spark Connect, which gives GeoBrix no JVM, so install 1 is the complete install there.

These docs call the Python level lightweight and the JVM level heavyweight. See Surfaces & Levels.

Pick the env wheel for your runtime​

RuntimeEnv wheel
Serverless environment 6 (recommended), DBR 19, DBR 19 ML, Lakeflow declarative pipelines on the PREVIEW channelgeobrix-<version>+env6-py3-none-any.whl
Serverless environment 5, DBR 17.3, DBR 18, Lakeflow declarative pipelines on the CURRENT channelgeobrix-<version>+env5-py3-none-any.whl

The wheel of the other family refuses to import and names the file to install. The wheels are assets of the GitHub releases, not PyPI packages.

1. Install for a session: the env wheel​

Runs on: Serverless, clusters in standard or dedicated access mode, and Lakeflow declarative pipelines, on x86 and ARM.

  1. Download the env wheel for your runtime from the GeoBrix releases.
  2. Stage it on a Volume your compute can read, for example /Volumes/<catalog>/<schema>/<volume>/geobrix/.
  3. Install it in a notebook cell, then restart Python:
%pip install "geobrix @ file:///Volumes/<catalog>/<schema>/<volume>/geobrix/geobrix-<version>+env6-py3-none-any.whl"
dbutils.library.restartPython()
  1. Register the functions, once per session:
Register GeoBrix
from databricks.labs import gbx

# The gbx_* SQL functions and the *_gbx readers and writers, once per session
gbx.register(spark)
  1. Verify with a raster read and one function. Point the path at a GeoTIFF on your Volume:
Read a raster and apply a RasterX function
# Register, load raster, apply RasterX
from databricks.labs import gbx
from databricks.labs.gbx.rasterx import functions as rx
gbx.register(spark)
rasters = spark.read.format("raster_gbx").load("/Volumes/main/default/geobrix_samples/geobrix-examples/nyc/sentinel2/nyc_sentinel2_red.tif")
rasters.select(rx.rst_boundingbox("tile").alias("bbox"), rx.rst_width("tile"), rx.rst_height("tile")).limit(3).show()

If the query returns the bounding box, width and height, the install is complete. gbx.register(spark) registered every gbx_* SQL function and every *_gbx reader and writer for this session. A %sql cell in the same notebook can call them.

Use the +env5 file on Serverless environment 5, DBR 17.3 and DBR 18. To install for every notebook on a cluster, add the same Volume path as a cluster-scoped library instead of %pip.

Use the quoted named form

Write the requirement as "geobrix @ file:///Volumes/…/geobrix-<version>+env6-py3-none-any.whl", in quotes, as one argument. To add an extra, put it after the name: "geobrix[vizx] @ file:///…". Do not append it to the path ('/Volumes/…/geobrix-<version>+env6-py3-none-any.whl[vizx]'). On Serverless, %pip keeps the quotes in its requirements file, and pip then reads [vizx] as part of the file name. The error is "Expected package name at the start of dependency specifier."

For extras, jobs, pipelines and installs straight from GitHub, see Install options.

2. Install for a session: the env wheel and the JAR​

Runs on: clusters in dedicated access mode only: x86 on DBR 17.3, 18 or 19, or Graviton (arm64) on DBR 19.

Why: some functions run faster at the JVM level. Your code does not change, and every other function still runs in Python. The JVM uses the wheel's GDAL, PROJ and GEOS, so nothing else is installed.

  1. Stage the env wheel on a Volume: +env5 for DBR 17.3 and 18, +env6 for DBR 19.
  2. Stage the JAR from that wheel with gbx.stage_jar. Run it in any notebook that has the same env wheel installed:
Stage the JAR from the env wheel
from databricks.labs import gbx

# Copy the JAR this env wheel carries to a Volume folder (with a .sha256 file beside it)
gbx.stage_jar("/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/jar")
# Then add the printed path as a cluster library on a dedicated cluster and restart the cluster.
  1. Create a cluster in dedicated access mode. Under Libraries, install the wheel (Python whl) and the JAR (JAR) from their Volume paths.
  2. Start the cluster, attach a notebook, and register: gbx.register(spark), the same call as install 1.
  3. Verify the JVM level. Each registered name maps to the level it runs at:
Verify the JVM level
from databricks.labs import gbx

# Register the functions and the lightweight readers
registered = gbx.register(spark)

# Each name maps to the level it runs at
print(len(registered), "functions registered")
print("gbx_rst_boundingbox runs at level", registered["gbx_rst_boundingbox"].level)

# Read the signature of one function
spark.sql("DESCRIBE FUNCTION gbx_rst_boundingbox").show(truncate=False)
Example output
<N> functions registered
gbx_rst_boundingbox runs at level L1
+------------------------------------+
|function_desc |
+------------------------------------+
|Function: gbx_rst_boundingbox |
|... |
+------------------------------------+

If gbx_rst_boundingbox shows a level and a signature, the install is complete. register also prints one line for each function that falls back to Python, with the reason.

What gbx.stage_jar does:

  • It copies the JAR to the folder and writes a .sha256 file beside it.
  • It checks that the JAR matches the wheel's version and the hash in the wheel's RECORD.
  • It refuses a folder that already holds another GeoBrix JAR, because a cluster must load only one.
  • It prints the next step and returns the staged path. Pass overwrite=True to copy the JAR again.

Keep these rules in mind:

  • One JAR runs on DBR 17.3, 18 and 19. Install only one GeoBrix JAR on a cluster.
  • A running cluster cannot load a JAR. Restart the cluster after you add or change the JAR library.
  • gbx.register(spark) checks that the JAR and the wheel are the same build. A mismatched JAR is not used.
  • On DBR 19 you can install the wheel with %pip in the notebook and keep only the JAR as a cluster library.

Or use a container image. A GeoBrix image for Databricks Container Service starts a dedicated DBR 19 cluster. The env6 wheel and the JAR are already in place, so steps 1 to 3 are not needed. There is one image tag for Graviton (arm64) and one for x86 (amd64).

3. Install the Unity Catalog functions​

Runs on: SQL warehouses, and any compute that reads Unity Catalog. Callers install nothing and run no register. They call a function by its three-part name, such as <catalog>.<schema>.gbx_bng_pointascell.

A schema owner installs the functions once:

  1. Stage the env6 wheel on a Volume folder.
  2. Run gbx.uc.install from a notebook on Serverless environment 6 or DBR 19:
Install the Unity Catalog functions
from databricks.labs import gbx

# Once, from a Serverless environment 6 or DBR 19 notebook.
# The folder holds the env 6 wheel of the same version.
gbx.uc.install("<catalog>", "<schema>", "/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6")
  1. Grant callers access to the schema's functions.
  2. Run it again after each GeoBrix upgrade.

The functions run as Python, or as SQL where that is faster. If the install folder also holds the JAR of the same version, the install supplies the JVM-boosted functions as well, with the same answers. They are verified on SQL warehouses only; leave the JAR out of the folder to keep every function in Python. Unity Catalog functions lists the functions and the permissions the owner needs.

Install options​

Supported Databricks Runtimes​

DBRUbuntuSparkPythonScalaJava
17.324.044.0.03.12.32.13.1617
1824.044.1.03.12.32.13.1621
1924.044.2.03.12.32.13.1821

On Serverless, use environment 6: set the environment version to 6 in the Environment side panel, or environment_version: "6" on a job. GeoBrix uses the PySpark that the runtime provides. Installing GeoBrix never downloads PySpark.

Feature extras​

Add extras in brackets after the name, on the same line: "geobrix[stac,vizx] @ file:///Volumes/…/geobrix-<version>+env6-py3-none-any.whl".

ExtraWhat it addsWheels
[stac]The STAC client (pystac-client, planetary-computer)env5, env6
[vizx]Visualization (matplotlib, mapclassify, anywidget, tippecanoe, imageio; the wheel carries geopandas and contextily)env5, env6
[zarr]Zarr transactional stores (zarr, numcodecs, zarrs, tensorstore, obstore)env6
[databricks]The Databricks SDK, for the sample-data uploadsenv5, env6

Overture and NASA Earthdata are not extras. Install their packages as a separate step after the wheel, only if you use them:

  • Overture CLI, the fast path of Overture Maps: %pip install "overturemaps>=1.0.2,<2". It raises click to 8.5 and tqdm to 4.70 or later, and installs PyPI's shapely, which GeoBrix does not use. The Overture downloader also works without the CLI, through the STAC catalog.
  • Earthdata (NASA Earthdata / EMIT): %pip install "earthaccess>=0.11,<1" "botocore<1.44.0". It raises fsspec from 2023.5.0 to a current release.

Install from the GitHub release​

When your compute can reach github.com, you can skip the download and the Volume. Point pip at the release asset, in the same quoted named form:

%pip install "geobrix @ https://github.com/databrickslabs/geobrix/releases/download/v<version>/geobrix-<version>+env6-py3-none-any.whl"
dbutils.library.restartPython()

A workspace that restricts outbound network access (for example, Serverless egress controls) can block GitHub. Install from a Volume in that case.

Serverless jobs and Lakeflow pipelines​

Add the wheel as a dependency line of the job's environment. Write it without spaces around @:

geobrix@https://github.com/databrickslabs/geobrix/releases/download/v<version>/geobrix-<version>+env6-py3-none-any.whl

The environment installs its dependencies with an unquoted %pip install, so a space around @ splits the requirement and the install fails. Use the wheel of the job's environment version: +env5 for 5, +env6 for 6.

A Lakeflow pipeline's dependency lines follow the same rule. A pipeline runs on the Databricks Runtime of its channel, not on a Serverless environment version. Use +env5 on the CURRENT channel (DBR 18) and +env6 on PREVIEW (DBR 19). See Lakeflow SDP.

Register only some functions​

Registering every function takes about 45 seconds on Serverless. To register only the functions you call, pass their names: gbx.register(spark, only=["rst_avg", "bng_cellarea"]). Names may be SQL names or short names. The Python API also registers a function on its first call.

Reinstall the same version on Serverless​

To load fresh wheel bytes of the same version during a session, run this near the top of the notebook:

%pip install --force-reinstall --no-deps "geobrix @ file:///Volumes/<catalog>/<schema>/<volume>/geobrix/geobrix-<version>+env6-py3-none-any.whl"
%pip install "geobrix @ file:///Volumes/<catalog>/<schema>/<volume>/geobrix/geobrix-<version>+env6-py3-none-any.whl"
dbutils.library.restartPython()

Keep --no-deps with --force-reinstall. Without it, pip reinstalls the runtime's preinstalled packages and Serverless fails the cell. The second, plain install adds back any dependency the first one skipped. Put your extras on that second line.

What the install changes on the runtime​

The env wheel keeps the runtime's preinstalled packages, with these exceptions:

  • Every install upgrades idna (the runtime ships 3.7 or 3.11) and adds httpx2 and httpcore2. rio-tiler uses them to read remote rasters, and they need idna 3.18 or later.
  • On Serverless environment 5 and DBR 17.3 / 18, it also upgrades anyio and typing_extensions (rio-tiler 9 needs 4.13 or later).
  • On DBR 17.3, it also upgrades h11 to 0.16 (the fix for CVE-2025-43859), and httpcore from 1.0.2 to 1.0.9, because 1.0.2 does not accept that h11.
  • On those env5 runtimes, [stac] and [vizx] also raise requests from 2.32.3 to the latest 2.32 release, which fixes CVE-2024-47081.

Databricks may show a one-time "a core package changed" notice. It is harmless: the Python restart after the install picks up the new versions.

The wheel also carries rasterio, pyogrio, pyproj, shapely, netCDF4, GDAL's own osgeo and the GeoBrix Rust module, all built against its GDAL. A process runs one GDAL. One wheel covers the whole library: RasterX (databricks.labs.gbx.rasterx), GridX (databricks.labs.gbx.gridx.<grid>), VectorX (databricks.labs.gbx.vectorx) and pmtiles.

JVM settings for install 2​

  • netCDF-4 filters. Reading zstd, blosc or bzip2 netCDF-4 needs HDF5_PLUGIN_PATH in the cluster's environment variables. Without it the result is a silent NULL. The variable also reaches other HDF5 libraries on the cluster. See Compressed netCDF-4 variables.
  • HTTP. Leave GDAL_HTTP_VERSION unset. See Remote reads.
  • Native copy location. On first use, each node copies the wheel's native libraries to local disk, about 130 MB per GeoBrix build. The JVM loads that copy, so a finished notebook's Python environment cannot remove them. The copy goes to /local_disk0/geobrix/native when no other user owns /local_disk0, else to /tmp/geobrix/native. Each candidate needs three times the copy's size free. To use one folder only, set spark.databricks.labs.gbx.native.copy.dir in the cluster's Spark config. An existing folder must belong to the JVM's user, with no access for group or others (mode 0700). Set it to off to load from the wheel.

Install without PyPI access​

Some workspaces cannot reach PyPI, and on some the Unity Catalog sandbox cannot either. An install that needs PyPI then fails. The env wheel lists every wheel it needs, pinned and hashed, for each architecture. Download those wheels once, stage them on a Volume, then install from the Volume.

Download the wheels​

Run the download on any machine with PyPI access and Python 3.12. It needs the env wheel installed, and no GeoBrix checkout:

Download the wheels the env wheel needs
# On a machine with PyPI access and Python 3.12
pip install geobrix-0.6.0+env6-py3-none-any.whl

# The wheels for both architectures, the env wheel beside them, and the Unity Catalog pins
python -m databricks.labs.gbx.stage deps --uc \
--wheel geobrix-0.6.0+env6-py3-none-any.whl --out gbx-wheels

The command does this:

  • It downloads binary wheels only, for x86_64 and aarch64, into <out>/x86_64/ and <out>/aarch64/.
  • It checks each wheel against the sha256 its list pins.
  • It proves for each architecture that the folder covers the install offline (pip install --dry-run --no-index).
  • It copies the env wheel into the folder and writes wheels.txt, the sha256 of each file.

The folder leaves out the packages the runtime already has, such as numpy, pandas, pyarrow and scipy. Options:

  • --arch x86_64 or --arch aarch64 downloads one architecture. The default is both.
  • --extras zarr,vizx adds the wheels of those extras.
  • --uc also checks the Unity Catalog pins, h3 and quadbin.

The same steps run from Python, in databricks.labs.gbx.stage:

  • download_deps(out, arches=None, extras=(), uc=False, wheel=None) downloads and checks the wheels. It returns the path of wheels.txt.
  • check_offline(folder, arch, targets, base) checks that targets install from folder alone. It returns the name==version lines pip would install.
  • dep_pins(arch, extras=()) returns each wheel an install needs on arch, beyond the runtime's own packages. Each maps a name to its version and sha256.
  • uc_pins() returns the pins of the Unity Catalog function environments, h3 and quadbin.
  • read_wheels_txt(folder) returns the sha256 and relative path of each file in wheels.txt.
  • install_lines(vol_dir, wheel, arches, extras=()) returns the install lines gbx.stage_deps prints for a staged folder.

Stage the wheels on a Volume​

gbx.stage_deps copies the folder to a Volume folder:

Stage the wheels with gbx.stage_deps
from databricks.labs import gbx

# Copy the folder to a Volume; each file's sha256 is checked before and after the copy
gbx.stage_deps("/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6", src="gbx-wheels")

On Databricks compute it copies through the Volume's mount. Elsewhere it uses the Databricks SDK with its default authentication. It checks each file's sha256 before and after the copy. It refuses a folder that holds another GeoBrix wheel. It prints the install lines for that folder.

Install from the Volume​

Use the folder of your compute's architecture. A Graviton cluster is aarch64. In a notebook:

Install in a notebook
%pip install --no-index \
--find-links /Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6/x86_64 \
/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6/geobrix-0.6.0+env6-py3-none-any.whl

In a Serverless environment, add these lines to the environment's dependencies, one entry each:

Serverless environment dependencies
--no-index
--find-links=/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6/x86_64
/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6/geobrix-0.6.0+env6-py3-none-any.whl

On a cluster, add requirements-<arch>.txt from the Volume folder as a cluster library. gbx.stage_deps writes one for each architecture.

For the Unity Catalog functions, pass deps="volume":

Install the Unity Catalog functions from a Volume
from databricks.labs import gbx

# The folder holds the env 6 wheel and the x86_64/ and aarch64/ folders gbx.stage_deps made
gbx.uc.install(
"<catalog>",
"<schema>",
"/Volumes/<catalog>/<schema>/<volume>/geobrix/0.6.0/env6",
deps="volume",
)

The functions install from the Volume folders with --no-index. wheels_dir names the folder gbx.stage_deps filled; it defaults to volume_dir. Pass arch="aarch64" or arch="x86_64" to name the sandbox's folder. By default the install lists both, and pip takes the wheels that fit. Before any statement, the install checks that each folder holds every wheel it needs. A missing wheel stops it with a Fix:.

Use bare /Volumes/... paths. A dbfs:/Volumes/... path is refused.

Call GeoBrix from Scala or Java​

Most users can skip this section. It is for code on the JVM, in Scala or Java, that calls GeoBrix functions.

gbx.register(spark) registers the SQL functions from Python, in one Spark session. JVM code on the same session calls them by SQL name. The JAR adds faster implementations for many functions, but it registers no SQL names.

Choose the route by where the code runs:

RouteComputeFunctions
Python entry point, Scala bodyA job task on a dedicated clusterAll of them. A table function cannot go in a select list, as described below.
A notebook that mixes languagesA notebook on dedicated computeAll of them
Unity Catalog functionsAny compute that reads Unity Catalog, including Serverless JAR tasksThe Unity Catalog subset

Python entry point, Scala body​

A job that has no notebook makes its first task a Python task. The task registers the functions, then calls your Scala object with the same session.

  1. Create the job cluster in dedicated access mode.
  2. Install the env wheel, your JAR and the GeoBrix JAR as libraries of the task. The GeoBrix JAR is optional: add it only if you want the JVM implementations.
  3. Write the Python task:
Register in Python, then run Scala on the same session
from databricks.labs import gbx
from pyspark.sql import SparkSession

spark = SparkSession.builder.getOrCreate()

# Register the functions in this session, then run the Scala code on the same session.
gbx.register(spark)
spark._jvm.com.example.geo.JvmJobBody.run(spark._jsparkSession, "main.geobrix.cells")
  1. Write the Scala body. It calls the functions by name and registers nothing. Name the package and object as the Python task calls them:
Call the registered functions from Scala
package docs.tests.scala.api

import org.apache.spark.sql.SparkSession
import org.apache.spark.sql.functions.{call_function, col}

// The Scala body of a job whose entry point is a Python task. The Python task ran
// gbx.register(spark) and passed spark._jsparkSession, so every gbx_ name resolves here.
object JvmJobBody {

def run(spark: SparkSession, cellTable: String): Unit = {
// A scalar, by SQL name
spark.sql("SELECT gbx_bng_cellarea('TQ3080') AS area_m2").show()

// The same function in the DataFrame API
spark.table(cellTable)
.select(call_function("gbx_bng_cellarea", col("cell")).alias("area_m2"))
.show()
}
}

What the Scala code can call, checked on a dedicated cluster on DBR 17.3:

  • A scalar function, with spark.sql, functions.expr or call_function.
  • An aggregate function, in a GROUP BY.
  • A table function, in SELECT * FROM gbx_x(...) and in FROM t, LATERAL gbx_x(...).
  • A *_gbx data source, such as spark.read.format("raster_gbx").

A table function at the Python level does not resolve in a select list: SELECT gbx_x(...) and call_function("gbx_x", ...) fail with UNRESOLVED_ROUTINE. Use the FROM or LATERAL form. See Surfaces & Levels.

Dedicated clusters only

spark._jvm and spark._jsparkSession exist only where Python and the JVM share a process, which is a dedicated cluster. Standard access mode and Serverless run Spark Connect, which gives Python no access to the JVM. Use the Unity Catalog route there.

A notebook that mixes languages​

On dedicated compute, run gbx.register(spark) in a Python cell. Cells in other languages use the same Spark session, so a %sql or %scala cell calls the functions by name.

Serverless notebooks have no Scala cells.

Unity Catalog functions​

Install the functions once with gbx.uc.install, as in install 3. The job then calls a three-level name with spark.sql. This route needs no registration and no Python task.

Call a Unity Catalog function from Scala
// No registration. An admin ran gbx.uc.install("main", "geobrix", ...) once.
// A three-level name always runs the Unity Catalog function.
val ring = spark.sql("SELECT main.geobrix.gbx_bng_kring('TQ3080', 1) AS cells")
ring.show(truncate = false)

The Scala DataFrame API​

The com.databricks.labs.gbx.<package>.functions objects hold Column wrappers, such as rasterx.functions.rst_boundingbox. The packages are rasterx, gridx.bng, gridx.h3, gridx.custom and vectorx.

A wrapper calls the function by its SQL name, so the session must resolve that name. Register in Python first, or put a schema that holds the Unity Catalog functions on the path. See Names and the path.

Call a Column wrapper from Scala
import com.databricks.labs.gbx.rasterx.{functions => rx}
import org.apache.spark.sql.functions._

// The wrapper calls gbx_rst_boundingbox by name. A Python step ran gbx.register(spark)
// in this session, so the name resolves.
val boxes = spark.table("main.geobrix.rasters")
.select(col("path"), rx.rst_boundingbox(col("tile")).alias("bbox"))
boxes.show()

A function whose JVM implementation was removed has no wrapper. Call it with call_function("gbx_<name>", …).

Tasks of a job do not share a session​

Each task of a job has its own session. Functions registered in a Python task are not visible to a later JAR task. Put the Scala call in the same Python task, as above.

Upgrading from GeoBrix 0.5.x​

  • Install lines. 0.5.x installed with a runtime extra: geobrix[light_env6], [light_env5], [light_dbr17], [light_dbr18] or [light_dbr19], or their _all forms. In 0.6.0 those extras are gone: install the env wheel for the runtime, with no runtime extra.
    • Replace "geobrix[light_env6,vizx] @ file:///Volumes/…/geobrix-<version>-py3-none-any.whl" with "geobrix[vizx] @ file:///Volumes/…/geobrix-<version>+env6-py3-none-any.whl".
    • Use +env5 in place of light_env5, light_dbr17 and light_dbr18.
    • An _all form becomes [stac,vizx], or [stac,vizx,zarr] on the env6 wheel.
    • An old install line fails at resolution (pip: ResolutionImpossible) and names the env wheel to install. It never installs something else.
  • GPU extras. The 0.5.x extras photogrammetry_gpu_env5, models_gpu_env5 and gpu_env5_all map to the +env6 wheel, because the UDF workers of the Serverless GPU runtime run environment 6. A driver-only GPU step, such as dense MVS with pycolmap-cuda12, can stay on the +env5 wheel with no extra. Install the GPU packages as a separate step after the wheel.
  • Init script. 0.5.x installed native GDAL with a cluster init script. Remove that init script from the cluster, and do not install the GDAL bundle. A system GDAL beside a 0.6.0 wheel puts two GDAL stacks in one cluster. See Breaking changes in 0.6.0.
  • The JAR. In 0.5.x the JAR was only a separate release asset. In 0.6.0 it also ships inside the env wheel: stage it with gbx.stage_jar (install 2), which checks that it matches the wheel.
  • Registration. The per-package register() functions are removed. gbx.register(spark) replaces them.

See the migration guide for every change.

To stay on 0.5.x, use the assets of the v0.5.2 release. They include the init script, the GDAL bundle and geobrix-docs-0.5.2.zip, the docs for that release.

Next Steps​