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

   To add a geotiff saved from a sedona raster to a Leafmap map, xarray, 
rioxarray and localtileserver are the packages referenced in the Leafmap 
documentation.   These packages conflict with the Pandas 1.5.3 and gdal 3.4.1 
packages installed in the sedona:latest Docker image
   
   An older version of Xarray, 2024.03.0, supports Pandas 1.5.3, and can 
possibly be used.
   
   However, both of the latest versions of localtileserver and rioxarray 
install rasterio 1.4.3 which doesn't support gdal 3.4.1.  I'm unsure if I can 
get either to work with an earlier version of rasterio that will support gdal 
3.4.1. When I tried to update gdal to 3.5 to support rasterio, a long error 
message ending in 
   ```
         error: command '/usr/bin/aarch64-linux-gnu-g++' failed with exit code 1
         [end of output]
     
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for gdal
     Running setup.py clean for gdal
   Failed to build gdal
   
   [notice] A new release of pip is available: 25.2 -> 25.3
   [notice] To update, run: python3 -m pip install --upgrade pip
   error: failed-wheel-build-for-install
   
   × Failed to build installable wheels for some pyproject.toml based projects
   ╰─> gdal
   ```
   is returned.
   
   I think it would be easier to build a Docker image from scratch than to fix 
all the dependency issues.  For this reason, and as recommended in the discord 
channel, I'm submitting this issue to update packages and create a new 
sedona:latest Docker image.  This will at a minimum, make it easier to display 
raster images using the Leafmap package..


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