Skip to content

Commit fc9a391

Browse files
authored
Merge pull request #386 from s22s/feature/cull-tiff-collection
Removed `GeoTiffCollectionRelation`
2 parents 040fca2 + e8119d5 commit fc9a391

File tree

4 files changed

+2
-136
lines changed

4 files changed

+2
-136
lines changed

datasource/src/main/scala/org/locationtech/rasterframes/datasource/geotiff/GeoTiffCollectionRelation.scala

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

datasource/src/main/scala/org/locationtech/rasterframes/datasource/geotiff/GeoTiffDataSource.scala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ class GeoTiffDataSource
5454
sqlContext.withRasterFrames
5555

5656
val p = parameters.path.get
57-
58-
if (p.getPath.contains("*")) {
59-
val bandCount = parameters.get(GeoTiffDataSource.BAND_COUNT_PARAM).map(_.toInt).getOrElse(1)
60-
GeoTiffCollectionRelation(sqlContext, p, bandCount)
61-
} else GeoTiffRelation(sqlContext, p)
57+
GeoTiffRelation(sqlContext, p)
6258
}
6359

6460
override def createRelation(sqlContext: SQLContext, mode: SaveMode, parameters: Map[String, String], df: DataFrame): BaseRelation = {

datasource/src/test/scala/org/locationtech/rasterframes/datasource/geotiff/GeoTiffCollectionDataSourceSpec.scala

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

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

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

55
### 0.8.4
66

7+
* _Breaking_ (potentially): removed `GeoTiffCollectionRelation` due to usage limitation and overlap with `RasterSourceDataSource` functionality.
78
* Upgraded to Spark 2.4.4
89

910
### 0.8.3

0 commit comments

Comments
 (0)