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


##########
rust/sedona-testing/src/rasters.rs:
##########
@@ -65,7 +66,317 @@ pub fn generate_test_rasters(
         builder.finish_raster()?;
     }
 
-    builder.finish()
+    Ok(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.
+pub fn generate_tiled_rasters(
+    tile_size: (usize, usize),
+    number_of_tiles: (usize, usize),
+    data_type: BandDataType,
+) -> Result<StructArray> {

Review Comment:
   good point. added it.



-- 
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