iGN5117 commented on code in PR #964:
URL: https://github.com/apache/sedona/pull/964#discussion_r1293792006


##########
docs/api/sql/Raster-operators.md:
##########
@@ -692,6 +692,9 @@ In order to remove an existing noDataValue from an existing 
band, pass null as t
 
 Note that: `bandIndex == RS_NumBands(raster) + 1` is an experimental feature 
and might not lead to the loss of raster metadata and properties such as color 
models.
 
+!!!Note
+    RS_BandFromArray typecasts the double band values to the given datatype of 
the raster. This can lead to overflow values if values beyond the range of the 
raster's datatype are provided.

Review Comment:
   Pushed the mistake fix.
   To get the data type for the given band, users can use RS_BandPixelType



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