Skip to content

Commit 8dd1732

Browse files
committed
Removed GeoTiffCollectionRelation due to usage limitation and overlap with RasterSourceDataSource functionality.
1 parent 9ad38ec commit 8dd1732

File tree

4 files changed

+5
-136
lines changed

4 files changed

+5
-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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## 0.8.x
44

5+
### 0.8.4
6+
7+
* _Breaking_ (potentially): removed `GeoTiffCollectionRelation` due to usage limitation and overlap with `RasterSourceDataSource` functionality.
8+
59
### 0.8.3
610

711
* Updated to GeoTrellis 2.3.3 and Proj4j 1.1.0.

0 commit comments

Comments
 (0)