Skip to content

Commit dd496ab

Browse files
committed
Merge branch 'develop' into docs/sql-support
* develop: Shapely spelling fix. Tweaked ordering of scheme table. # Conflicts: # core/src/test/scala/org/locationtech/rasterframes/ExtensionMethodSpec.scala
2 parents 9ac2819 + 8c64109 commit dd496ab

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

core/src/test/scala/org/locationtech/rasterframes/ExtensionMethodSpec.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import geotrellis.proj4.LatLng
2525
import geotrellis.raster.{ByteCellType, GridBounds, TileLayout}
2626
import geotrellis.spark.tiling.{CRSWorldExtent, LayoutDefinition}
2727
import geotrellis.spark.{KeyBounds, SpatialKey, TileLayerMetadata}
28-
import org.apache.spark.sql.Encoders
28+
import org.apache.spark.sql.{Encoder, Encoders}
2929
import org.locationtech.rasterframes.util.SubdivideSupport
3030

3131
/**
@@ -57,23 +57,27 @@ class ExtensionMethodSpec extends TestEnvironment with TestData with SubdivideSu
5757
}
5858
describe("Miscellaneous extensions") {
5959
import spark.implicits._
60+
6061
it("should find multiple extent columns") {
6162
val df = Seq((extent, "fred", extent, 34.0)).toDF("e1", "s", "e2", "n")
6263
df.extentColumns.size should be(2)
6364
}
65+
6466
it("should find multiple crs columns") {
6567
// Not sure why implicit resolution isn't handling this properly.
6668
implicit val enc = Encoders.tuple(crsEncoder, Encoders.STRING, crsEncoder, Encoders.scalaDouble)
6769
val df = Seq((pe.crs, "fred", pe.crs, 34.0)).toDF("c1", "s", "c2", "n")
6870
df.crsColumns.size should be (2)
6971
}
72+
7073
it("should split TileLayout") {
7174
val tl1 = TileLayout(2, 3, 10, 10)
7275
assert(tl1.subdivide(0) === tl1)
7376
assert(tl1.subdivide(1) === tl1)
7477
assert(tl1.subdivide(2) === TileLayout(4, 6, 5, 5))
7578
assertThrows[IllegalArgumentException](tl1.subdivide(-1))
7679
}
80+
7781
it("should split KeyBounds[SpatialKey]") {
7882
val grid = GridBounds(0, 0, 9, 9)
7983
val kb = KeyBounds(grid)

pyrasterframes/src/main/python/docs/raster-read.pymd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ RasterFrames relies on three different IO drivers, selected based on a combinati
6161
| `http://` | ✔︎ | ✔︎ | - |
6262
| `https://` | ✔︎ | ✔︎ | - |
6363
| `ftp://` | `/vsicurl/` | ✔ | - |
64-
| `s3://` | `/vsis3/` ︎ | ✔︎ | - |
6564
| `hdfs://` | `/vsihdfs/` ︎| - | ✔︎ |
66-
| `s3n://` | - ︎ | - | ✔︎ |
67-
| `s3a://` | - ︎ | - | ✔︎ |
65+
| `s3://` | `/vsis3/` ︎ | ✔︎ | - |
66+
| `s3n://` | - ︎ | - | ✔︎ |
67+
| `s3a://` | - ︎ | - | ✔︎ |
6868
| `wasb://` | `/vsiaz/` ︎ | - | ✔︎ |
6969
| `wasbs://` | - ︎ | - | ✔︎ |
7070

0 commit comments

Comments
 (0)