james-willis commented on code in PR #974:
URL: https://github.com/apache/sedona-db/pull/974#discussion_r3469870191
##########
python/sedonadb/tests/functions/test_raster_functions.py:
##########
@@ -98,3 +98,36 @@ def test_rs_ensureloaded(con, sedona_testing):
assert arr.shape == (512, 512)
assert arr.dtype == "uint16"
assert arr[0, 0] == 2324
+
+
+# Point sampling. RS_Example fills band `b` with the constant value `b`, except
+# the top-left pixel which is set to the nodata value (127). (74.58, 110.57) is
+# the centroid of pixel (10, 10) (0-based) in the raster's OGC:CRS84 space; the
+# point and raster share a CRS so no reprojection happens. A point far outside
+# the footprint yields NULL. (The `needs_pixels` -> RS_EnsureLoaded planner
path
+# is covered against a real OutDb raster by `test_rs_ensureloaded`.)
[email protected](
Review Comment:
done
--
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]