You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
float: convert to floating point type
divide: pixelwise division of images (divide(40.0) implicitly generates constant image of value 40.0)
select: takes bands from an image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A spark UDAF for aggregating 3d indices into a map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We want to use RasterFrames (RF), with JTS frames (thanks, GeoMesa), to produce a polygonal summary. In usual terms, this means that each polygon is going to be compared to some base raster that the polygon covers. The raster cells contained in the geometry (either entirely or partially, depending on application), will be visited and accumulated according to some operation. The challenge, of course, is that a geometry might span multiple cells. This is a fairly easy problem to solve with RF, but will require some UDF work.
To get an environment to play with, start up spark shell with
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters