jesspav commented on code in PR #300:
URL: https://github.com/apache/sedona-db/pull/300#discussion_r2527931582


##########
rust/sedona-testing/src/rasters.rs:
##########
@@ -68,6 +69,287 @@ pub fn generate_test_rasters(
     builder.finish()
 }
 
+/// Generates a set of tiled rasters arranged in a grid
+/// - Each raster tile has specified dimensions and random pixel values
+/// - Each raster has 3 bands which can be interpreted as RGB values
+///   and the result can be visualized as a mosaic of tiles.
+/// - There are nodata values at the 4 corners of the overall mosaic.
+/// - Note that this function is NOT being careful about ensuring that the
+///   tile widths and heights align perfectly with the provided raster size.
+pub fn generate_tiled_rasters(
+    raster_size: (usize, usize),
+    tile_size: (usize, usize),
+    data_type: BandDataType,
+) -> Result<StructArray, ArrowError> {

Review Comment:
   thanks. fixed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to