JimShady opened a new issue, #1054: URL: https://github.com/apache/sedona/issues/1054
I followed the Databricks installation method here: https://sedona.apache.org/1.5.0/setup/databricks/#install-sedona-via-init-script-for-dbrs-73 And then ran this code inside the notebook: ``` %python ## Register Sedona Spark cluster from sedona.register.geo_registrator import SedonaRegistrator SedonaRegistrator.registerAll(spark) ## Set spark config spark.conf.set("sedona.global.index","true") spark.conf.set("sedona.global.indextype","quadtree") spark.conf.set("sedona.join.gridtype","kdbtree") spark.conf.set("spark.databricks.io.cache.enabled","true") ``` But I got this deprecation error. I think I need to make changes to the above but I'm unsure how? ``` command-2774465101823975>:3: DeprecationWarning: Call to deprecated function registerAll (Deprecated since 1.4.1, use SedonaContext.create() instead.). SedonaRegistrator.registerAll(spark) /local_disk0/.ephemeral_nfs/cluster_libraries/python/lib/python3.9/site-packages/sedona/register/geo_registrator.py:45: DeprecationWarning: Call to deprecated function register (Deprecated since 1.4.1, use SedonaContext.create() instead.). cls.register(spark) ``` I also then try to read in a file like so: ``` %python raster1 = spark.read.format("geotiff").load("/tmp/AU_202105_FLRF_U_RD_30m_4326") ``` But get this error: ``` org.apache.spark.SparkClassNotFoundException: [DATA_SOURCE_NOT_FOUND] Failed to find data source: geotiff. Please find packages at `https://spark.apache.org/third-party-projects.html ``` -- 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: dev-unsubscr...@sedona.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org