django-raster icon indicating copy to clipboard operation
django-raster copied to clipboard

Seems Django-Raster now supports python 3.8 with 0.8.1 ?

Open justRishi opened this issue 4 years ago • 3 comments

Can it be that the latest update also added support for python 3.8? Before I was not able to parse raster with 3.8 and had to downgrade to 3.6. But then again I am also using now latest gdal docker image(osgeo/gdal:ubuntu-small-latest) .

justRishi avatar May 20 '21 15:05 justRishi

Yes I think so. The test build in from the github actions uses python 3.8 so it should work. I will add a build matrix at some point to test different python versions.

yellowcap avatar May 20 '21 16:05 yellowcap

Thanks, you might want to update then https://pypi.org/project/django-raster/ python version supported.

justRishi avatar May 24 '21 09:05 justRishi

I accidentally used again previous version of Django-Raster(0.8) with python 3.8 and got Raster algebra errors. When upgrading again to 0.81 the problem was solved again.

I got an error with previous version(0.8) in combination with python 3.8 when using an url like:

return /raster/tiles/${this.id}/{z}/{x}/{y}.png?colormap=${this.getFilteredColorMap()};

but not when using a url like:

``/raster/algebra/{z}/{x}/{y}.png?layers=r:0=${this.id},g:1=${this.id},b:2=${this.id}&alpha ;

justRishi avatar Jun 02 '21 13:06 justRishi