case class GeoTrellisPath(value: String, layerName: String, zoomLevel: Int, bandCount: Option[Int]) extends SourcePath with Product with Serializable
Represents a path that points to a GeoTrellis layer saved in a catalog.
- value
Path to the layer. This can be either an Avro or COG layer. The given path needs to be in a
URI
format that include the following query parameters:- layer: The name of the layer.
- zoom: The zoom level to be read.
- band_count: The number of bands of each Tile in the layer. Optional.
If a scheme is not provided,
file
is assumed. Both relative and absolute file paths are supported. In addition, this path can be prefixed with, gt+ to signify that the target path is to be read in only by GeotrellisRasterSource.
"s3://bucket/catalog?layer=name&zoom=10"
, "hdfs://data-folder/catalog?layer=name&zoom=12&band_count=5"
, "gt+file:///tmp/catalog?layer=name&zoom=5"
, "/tmp/catalog?layer=name&zoom=5"
- Note
The order of the query parameters does not matter.
- Alphabetic
- By Inheritance
- GeoTrellisPath
- Product
- Equals
- SourcePath
- SourceName
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
GeoTrellisPath(value: String, layerName: String, zoomLevel: Int, bandCount: Option[Int])
- value
Path to the layer. This can be either an Avro or COG layer. The given path needs to be in a
URI
format that include the following query parameters:- layer: The name of the layer.
- zoom: The zoom level to be read.
- band_count: The number of bands of each Tile in the layer. Optional.
If a scheme is not provided,
file
is assumed. Both relative and absolute file paths are supported. In addition, this path can be prefixed with, gt+ to signify that the target path is to be read in only by GeotrellisRasterSource.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bandCount: Option[Int]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def layerId: LayerId
- val layerName: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- SourcePath → AnyRef → Any
-
def
toURI: URI
- Definition Classes
- SourcePath
-
val
value: String
The given path to the data.
The given path to the data. This can be formatted in a number of different ways depending on which RasterSource is to be used. For more information on the different ways of formatting this string, see the docs on the DataPath for that given soure.
- Definition Classes
- GeoTrellisPath → SourcePath
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val zoomLevel: Int