GeoTrellis is a geographic data processing engine for high performance applications.
pomadchin on master
Bump dependencies versions up (… (compare)
import geotrellis.spark._
in the call scope. If you have it and function still doesnt work try to use withGetBoundsMethod(rdd).getGridBounds
in your code, this at least will give you a readble compile time error.
case
here is always true and the second is never evaluated?
NoData Value=255
It would be awesome if you could sign an ECA https://github.com/locationtech/geotrellis/blob/master/docs/CONTRIBUTING.rst#eclipse-contributor-agreement-eca
after that commit changes via git commit -s -m “commit message”
command
typeSizeInBits
is passed
@metasim we didnt resolve that; imagine the case that you have multiple RasterSources
you want to figure out how to tile them to some layout in some projection…
it would mean that you probably need to collect metadata in some CRS or reprojet it into some CRS to have some idea of the entire rasters list extent
@pomadchin
yeh, sorry. Say you want to write out a bunch of DL chips as geotiffs, organized via some arbitrary partitioning scheme. Maybe some json sidecars for metadata (or not).
Another way of looking at it (from a RasterFrames perspective) is how might I write out unstructured tiles in a form that's not, say Parquet or ORC... some form that could be slurped up by other tooing.
I'm trying to render a GeoTIFF as PNG, but don't know a priori if it is single or multi band. Getting an assertion failure on color when I attempt renderPng if I don't do the following:
val gt = GeoTiffReader.readMultiband("my.tif")
gt.bandCount match {
case 1 => gt.tile.band(0).renderPng.write("my.png")
case i if i > 1 => gt.tile.renderPng.write("my.png")
}
I'm a GT newbie, so I'm sure overlooking something obvious, but is there not a single mechanism through the API to render an n-band GeoTIFF?