umartin commented on PR #773:
URL: https://github.com/apache/sedona/pull/773#issuecomment-1440570307

   Thank you @jiayuasu !
   
   1. Yes! Now we should be able to implement all the raster functions in 
Postgis.
   2. I think we can adapt the GeoTiff writer to work with rasters as well as 
the current double arrays. We just need to figure out exactly how that would 
work from a user perspective. I'll start a discussion on the mailing list about 
that.
   3. I think that the raster functions in this PR and the current ones, that 
operate on bands, are complementary. We just need to implement a few function 
bridging the two. If we can extract bands from rasters and also create rasters 
from bands the old and new functions will work well together. There are many 
examples in Postgis we could use as inspiration: 
https://postgis.net/docs/RT_ST_AsRaster.html 
https://postgis.net/docs/RT_ST_AddBand.html 
https://postgis.net/docs/RT_ST_DumpValues.html 
https://postgis.net/docs/RT_ST_DumpValues.html


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