Imbruced opened a new issue, #2407:
URL: https://github.com/apache/sedona/issues/2407

   calling 
   
   ```python
   class SedonaUtils:
       @classmethod
       def display_image(cls, df):
           from IPython.display import HTML, display
   
           pdf = SedonaMapUtils.__convert_to_gdf_or_pdf__(df, rename=False)
           display(HTML(pdf.to_html(escape=False)))
   ```
   
   In the jupyter notebook on the raster DataFrame, running the `display_image` 
is not finishing for a raster 1400x800
   
   replacing this with 
   
   ```python
   from IPython.display import Image, display
   
   png_frame = raster \
       .selectExpr("RS_AsPNG(rast)")
   
   image_data = png_frame.head()[0]
   
   display(Image(image_data))
   ```
   
   We could call the `RS_AsPNG` and the Image function or utilize arrow on bytes
   
   
   cc: @jiayuasu 


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