Setup for Raster Processing in AWS Databricks#

The BDT raster processors require additional libararies not included with the BDT jar. This guide describes how to pull these libraries into your environment.

In databricks, the three libraries required for raster processing can be added in cluster configuration.

  1. Open your cluster and go to the libraries tab.

  2. Select “Install new”

Setup raster in databricks

  1. Select Maven as the library source.

  2. Enter org.geotools:gt-main:24.6 into the coordinates field.

  3. Enter https://repo.osgeo.org/repository/release as the repository.

  4. Enter org.scala-lang:scala-reflect,com.fasterxml.jackson.core:jackson-core into the exclusions field.

image1

  1. Select install.

  2. Repeat steps 2-7 for org.geotools:gt-geotiff:24.6 and org.geotools:gt-epsg-hsql:24.6 as the coordinates.

You should now see the three additional libraries required for raster processing:

image2