Closed lsix closed 7 years ago
Interesting, thanks for pointing that out. Ideally the process_quadrant
method would be turned into a standalone task, so that the quadrant parsing would continue to be parallelized. However, that would require some larger restructuring of the parser. I think your solution works until that happens, so yes if you open a pull request, I'll merge it in.
Yes, my initial plan was to make the method a separate task, but I’ll need to get into the codebase first to do it properly (hopefully, I’ll have time soon).
I have openned the PR #17 to include the “quick-fix” until a proper replacement is implemented.
Solved with https://github.com/geodesign/django-raster/commit/948864d97b789b0d12e505ed50816a0f76b92d2f thanks @Isix
Django-raster is not compatible with upstream version of celery.
The changelog of the 4.0 release states:
I am planning to drop the use of celery to parallelize import of tiles as follows (this passes all the test suite locally) since I do the map imports in an async celery task anyway.
Would a PR with such change make it to master?