Repository navigation
Build a raster from its pixels and its grid on the Flink SQL surface - #92
Merged
estebanzimanyi merged 1 commit intoOct 25, 2026
Conversation
GeneratedSqlSurfaceTest.aRasterIsBuiltFromItsPixelsAndItsGrid builds a 2x2 16BSI raster with raster(pixels, width, height, upperleftx, upperlefty, scalex, scaley, skewx, skewy, srid, pixeltype, nodataval) and reads back its pixels, its pixel type int16, its nodata value and its SRID, and the raster rebuilt from those reads, its nodata value included, has its WKB.It rebuilds the depth raster of aRasterDerivedByArithmeticIsReadAlongATrip, which states no nodata value, from rasterPixels and its other accessors, and its WKB is the depth raster's. A 4BUI band, which stores a byte per pixel, reads as uint8 and is rebuilt as an 8BUI band of the same bytes.makeEmptyRaster followed by addBand of an initial value answers a band of that value, addBand of another raster's band answers a raster of two bands, and addBand with a nodata value states it. Witness: MobilityDB master dd8679e776 and MEOS-API master 71c23da with JMEOS main a0dc2a06, whose generator registers raster and addBand with and without the nodata value since JMEOS #192.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GeneratedSqlSurfaceTest.aRasterIsBuiltFromItsPixelsAndItsGrid builds a 2x2 16BSI raster with raster(pixels, width, height, upperleftx, upperlefty, scalex, scaley, skewx, skewy, srid, pixeltype, nodataval) and reads back its pixels, its pixel type int16, its nodata value and its SRID, and the raster rebuilt from those reads, its nodata value included, has its WKB.It rebuilds the depth raster of aRasterDerivedByArithmeticIsReadAlongATrip, which states no nodata value, from rasterPixels and its other accessors, and its WKB is the depth raster's. A 4BUI band, which stores a byte per pixel, reads as uint8 and is rebuilt as an 8BUI band of the same bytes.makeEmptyRaster followed by addBand of an initial value answers a band of that value, addBand of another raster's band answers a raster of two bands, and addBand with a nodata value states it.
Witness: MobilityDB master dd8679e776 and MEOS-API master 71c23da with JMEOS main a0dc2a06, whose generator registers raster and addBand with and without the nodata value since JMEOS #192.