geotrellis.raster.io.ascii.AsciiReader.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotrellis-raster_2.11 Show documentation
Show all versions of geotrellis-raster_2.11 Show documentation
GeoTrellis is an open source geographic data processing engine for high performance applications.
The newest version!
package geotrellis.raster.io.ascii
import geotrellis.raster._
import geotrellis.raster.io._
class AsciiReader(path: String, noDataValue: Int) extends FileReader(path) {
def readStateFromPath(cellType: CellType,
rasterExtent: RasterExtent,
targetExtent: RasterExtent): ReadState = {
new AsciiReadState(path, rasterExtent, targetExtent, noDataValue)
}
def readStateFromCache(b: Array[Byte],
cellType: CellType,
rasterExtent: RasterExtent,
targetExtent: RasterExtent) =
sys.error("caching ascii grid is not supported")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy