Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seems Django-Raster now supports python 3.8 with 0.8.1 ? #60

Open
justRishi opened this issue May 20, 2021 · 3 comments
Open

Seems Django-Raster now supports python 3.8 with 0.8.1 ? #60

justRishi opened this issue May 20, 2021 · 3 comments

Comments

@justRishi
Copy link

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

@yellowcap
Copy link
Member

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.

@justRishi justRishi changed the title Seem Django-Raster now support python 3.8 with 0.8.1 Seems Django-Raster now support python 3.8 with 0.8.1 May 20, 2021
@justRishi justRishi changed the title Seems Django-Raster now support python 3.8 with 0.8.1 Seems Django-Raster now supports python 3.8 with 0.8.1 ? May 20, 2021
@justRishi
Copy link
Author

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

@justRishi
Copy link
Author

justRishi commented Jun 2, 2021

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 ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants