Skip to content

Commit fb86b35

Browse files
committed
Upgraded to GeoMesa 2.0.0-rc.1
Signed-off-by: Simeon H.K. Fitch <[email protected]>
1 parent 76e2241 commit fb86b35

File tree

5 files changed

+13
-46
lines changed

5 files changed

+13
-46
lines changed

core/build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ moduleName := "rasterframes"
44

55
libraryDependencies ++= Seq(
66
"com.chuusai" %% "shapeless" % "2.3.2",
7-
"org.locationtech.geomesa" %% "geomesa-z3" % "1.3.5",
8-
"org.locationtech.geomesa" %% "geomesa-spark-jts" % "2.0.0-astraea.1" exclude("jgridshift", "jgridshift"),
7+
"org.locationtech.geomesa" %% "geomesa-z3" % rfGeoMesaVersion.value,
8+
"org.locationtech.geomesa" %% "geomesa-spark-jts" % rfGeoMesaVersion.value exclude("jgridshift", "jgridshift"),
99
spark("core").value % Provided,
1010
spark("mllib").value % Provided,
1111
spark("sql").value % Provided,
@@ -19,7 +19,7 @@ libraryDependencies ++= Seq(
1919
)
2020

2121
buildInfoKeys ++= Seq[BuildInfoKey](
22-
name, version, scalaVersion, sbtVersion, rfGeotrellisVersion, rfSparkVersion
22+
name, version, scalaVersion, sbtVersion, rfGeoTrellisVersion, rfGeoMesaVersion, rfSparkVersion
2323
)
2424

2525
buildInfoPackage := "astraea.spark.rasterframes"

core/src/main/scala/astraea/spark/rasterframes/jts/Implicits.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@ import geotrellis.vector.{Point ⇒ gtPoint}
2929
import org.apache.spark.sql.TypedColumn
3030
import org.apache.spark.sql.functions._
3131
import org.apache.spark.sql.rf.CanBeColumn
32+
import org.locationtech.geomesa.spark.jts.DataFrameFunctions.SpatialConstructors
3233

3334
/**
3435
* Extension methods on typed columns allowing for DSL-like queries over JTS types.
3536
* @since 1/10/18
3637
*/
37-
trait Implicits extends SpatialFunctions {
38+
trait Implicits extends SpatialConstructors {
3839
import astraea.spark.rasterframes.encoders.SparkDefaultEncoders._
3940

4041
implicit class ExtentColumnMethods[T <: Geometry](val self: TypedColumn[Any, T])

core/src/main/scala/astraea/spark/rasterframes/jts/SpatialFunctions.scala

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/src/main/tut/release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### 0.6.2
66

7+
* Updated to GeoMesa version 2.0.0-rc.1.
78
* Added for for writing GeoTIFFs from RasterFrames via with DataFrameWriter.
89
* Added `spark.read.geotrellis.withNumPartitions(Int)` for setting the initial number of partitions to use when reading a layer.
910
* Added `spark.read.geotrellis.withTileSubdivisions(Int)` for evenly subdividing tiles before they become rows in a RasterFrame.

project/ProjectPlugin.scala

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ object ProjectPlugin extends AutoPlugin {
3131
cancelable in Global := true,
3232
resolvers ++= Seq(
3333
"locationtech-releases" at "https://repo.locationtech.org/content/groups/releases",
34-
"boundless-releases" at "https://repo.boundlessgeo.com/main/",
35-
// "osgeo-releases" at "http://download.osgeo.org/webdav/geotools/",
36-
Resolver.bintrayRepo("s22s", "maven")
34+
"boundless-releases" at "https://repo.boundlessgeo.com/main/"
3735
),
36+
3837
rfSparkVersion in ThisBuild := "2.2.1" ,
39-
rfGeotrellisVersion in ThisBuild := "1.2.0",
38+
rfGeoTrellisVersion in ThisBuild := "1.2.0",
39+
rfGeoMesaVersion in ThisBuild := "2.0.0-rc.1",
4040

4141
publishTo := sonatypePublishTo.value,
4242
publishMavenStyle := true,
@@ -69,10 +69,11 @@ object ProjectPlugin extends AutoPlugin {
6969

7070
object autoImport {
7171
val rfSparkVersion = settingKey[String]("Apache Spark version")
72-
val rfGeotrellisVersion = settingKey[String]("GeoTrellis version")
72+
val rfGeoTrellisVersion = settingKey[String]("GeoTrellis version")
73+
val rfGeoMesaVersion = settingKey[String]("GeoMesa version")
7374

7475
def geotrellis(module: String) = Def.setting {
75-
"org.locationtech.geotrellis" %% s"geotrellis-$module" % rfGeotrellisVersion.value
76+
"org.locationtech.geotrellis" %% s"geotrellis-$module" % rfGeoTrellisVersion.value
7677
}
7778
def spark(module: String) = Def.setting {
7879
"org.apache.spark" %% s"spark-$module" % rfSparkVersion.value

0 commit comments

Comments
 (0)