JHEBentley opened a new issue, #1064: URL: https://github.com/apache/sedona/issues/1064
## Expected behavior I am reading in sample raster data provided for the [rasters demo notebooks](https://hub.ovh2.mybinder.org/user/apache-sedona-onwfnq1p/notebooks/binder/ApacheSedonaRaster.ipynb) using the method outlined in the [docs](https://sedona.apache.org/1.5.0/api/sql/Raster-loader/#rs_fromgeotiff). I expected to extract raster geometry. ## Actual behavior Getting error `java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D` when executing `RS_FromGeoTiff(content)`. I originally thought this could be related to my original raster data using a custom crs, however this error is the outcome regardless of the source data (either my own data or the demo data provided in the Sedona examples). ## Steps to reproduce the problem ``` %python rawDf = sedona.read.format("binaryFile").load("<path>/T21HUB_4704_4736_8224_8256.tif") rawDf.createOrReplaceTempView("rawdf") rawDf.show() \\SUCCESS ``` ``` %sql SELECT RS_FromGeoTiff(content) AS rast, modificationTime, length, path FROM rawdf java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D Py4JJavaError: An error occurred while calling o348.sql. : java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D ``` Likewise when running: ``` df = sedona.read.format("binaryFile").load("/some/path/T21HUB_4704_4736_8224_8256.tif") df = df.withColumn("raster", f.expr("RS_FromGeoTiff(content)")) java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D Py4JJavaError: An error occurred while calling o1016.withColumn. : java.lang.NoClassDefFoundError: org/geotools/coverage/grid/GridCoverage2D ``` ## Settings Sedona version = 1.5.0 Apache Spark version = 3.3.2 API type = Python Scala version = 2.12 Environment = Databricks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
