Skip to content

Commit

Permalink
Cleanup. #177
Browse files Browse the repository at this point in the history
  • Loading branch information
EmileSonneveld committed Aug 7, 2023
1 parent e3ada2d commit 2cea959
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package org.openeo.geotrellis.layers

import geotrellis.raster.SourcePath

/**
* SourcePath is a trait, so we need to subclass it to instantiate.
*/
case class OpenEoSourcePath(value: String) extends SourcePath
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ package org.openeo.geotrellis.layers

import geotrellis.proj4.CRS
import geotrellis.raster.io.geotiff.OverviewStrategy
import geotrellis.raster.{CellSize, CellType, FloatConstantNoDataCellType, FloatConstantTile, GridBounds, GridExtent, MultibandTile, Raster, RasterMetadata, RasterSource, ResampleMethod, ResampleTarget, SourceName, SourcePath, TargetCellType}
import geotrellis.raster.{CellSize, CellType, FloatConstantNoDataCellType, FloatConstantTile, GridBounds, GridExtent, MultibandTile, Raster, RasterMetadata, RasterSource, ResampleMethod, ResampleTarget, SourceName, TargetCellType}
import geotrellis.vector.Extent
import org.openeo.opensearch.OpenSearchResponses.CreoFeatureCollection

import java.net.URL
import scala.xml.XML

object SentinelXMLMetadataRasterSource {
Expand Down Expand Up @@ -38,9 +37,6 @@ object SentinelXMLMetadataRasterSource {
}
}

// SourcePath is a trait, so we need to subclass it to instantiate.
case class OpenEoSourcePath(value: String) extends SourcePath

class SentinelXMLMetadataRasterSource(value: Float,
theCrs: CRS,
theGridExtent: GridExtent[Long],
Expand Down

0 comments on commit 2cea959

Please sign in to comment.