Skip to main content

Other GDAL drivers as provided

No GeoBrix reader, writer or function uses these drivers. They handle neither rasters nor vectors. Open them directly with GDAL's Python API, from osgeo import gdal, which the env wheel ships. They run under the same driver policy, as plain GDAL on the driver, not as a distributed GeoBrix call.

See the legend and how to read the tables on the parent page, and the opt-in drivers section below for the drivers GeoBrix turns off.

Other drivers​

DriverDescriptionCan
CPHDCompensated Phase History Data Readerread
GNMDatabaseGeographic Network generic DB based modelread · write
GNMFileGeographic Network generic file based modelread · write

GeoBrix Opt-In Drivers​

These drivers are off by default. You can opt in to them, and then you own the risk. GeoBrix keeps each one off because it reaches a network service, runs a stored pipeline, or acts on what a file names. A file that another principal wrote can then make your cluster send requests or run a pipeline.

What the policy does​

  • It covers the whole Python process. It is not limited to GeoBrix functions. It adds these drivers to GDAL_SKIP and removes them from each GDAL that the process has loaded. A direct from osgeo import gdal in the same process therefore lacks them too.
  • It starts when GeoBrix is imported. The import adds the drivers to GDAL_SKIP, and sets the two VRT settings. The first GeoBrix use of GDAL completes it. The env wheel's startup file only prepares the native libraries. The call register(spark) does not start the policy itself, because the import has done it.
  • To opt in, set GBX_GDAL_DRIVER_POLICY=off before import databricks.labs.gbx. A value set after the import has no effect. GeoBrix has already added the drivers to GDAL_SKIP.
  • Set it where each process can read it. The driver and every executor read the variable in their own Python process. Set it in the cluster's environment variables, or the job cluster's, to reach all of them. A notebook assignment of os.environ before the import reaches the driver only. A worker still applies the policy. On the JVM, set spark.databricks.labs.gbx.gdal.driver_policy=off in the Spark config, or the same variable in the cluster's environment.
  • Off removes the whole defence for that process. The VRT raw-band and Python settings stay as GDAL has them. Prefer a separate process or job for work on data you trust and that needs one of these drivers.
  • The live view changes too. gbx_drivers() lists these drivers only when the policy is off.

See The policy covers the whole process on the Security page.

DriverDescriptionKindWhy it is off by defaultIn the shipped build
CSWOGC CSW (Catalog Service for the Web)vectorremote API. Fetches from an OGC catalog service.✓
DAASAirbus DS Intelligence Data As A Service driverrasterremote API. Calls the Airbus Data As A Service API.✓
EEDAEarth Engine Data APIvectorremote API. Calls the Earth Engine data API.✓
EEDAIEarth Engine Data API Imagerasterremote API. Calls the Earth Engine image API.✓
ESRICEsri Compact Cacherasteracts on what a file names. Fetches a coordinate reference system that the conf.xml gives as a URL.✓
GDALGGDAL Streamed Algorithm driverraster and vectorstored pipeline. Runs a pipeline that the file stores.✓
GTIGDAL Raster Tile Indexrastertile index or catalog. Opens the rasters that a tile index names.✓
HTTPHTTP Fetching Wrapperraster and vectornetwork service. Fetches a file over HTTP.✓
KMLSUPEROVERLAYKml Super Overlayrasteracts on what a file names. Fetches the NetworkLink or Icon href of a file over HTTP.✓
MRFMeta Raster Formatrasteracts on what a file names. Opens a source its file names, and writes cache files at paths its file names.✓
NGWNextGIS Webraster and vectorremote API. Calls a NextGIS Web server.✓
OGCAPIOGCAPIraster and vectornetwork service. Fetches from an OGC API server.✓
PLMOSAICPlanet Labs Mosaics APIrasterremote API. Calls the Planet Labs mosaics API.✓
PLSCENESPlanet Labs Scenes APIraster and vectorremote API. Calls the Planet Labs scenes API.✓
STACITSpatio-Temporal Asset Catalog Itemsrastertile index or catalog. Opens the items that a STAC document names.✓
STACTASpatio-Temporal Asset Catalog Tiled Assetsrastertile index or catalog. Opens the tiled assets that a STAC document names.✓
WCSOGC Web Coverage Servicerasternetwork service. Fetches from an OGC web coverage service.✓
WFSOGC WFS (Web Feature Service)vectorremote API. Fetches from an OGC web feature service.✓
WMSOGC Web Map Servicerasternetwork service. Fetches from an OGC web map service.✓
WMTSOGC Web Map Tile Servicerasternetwork service. Fetches from an OGC web map tile service.✓