You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as range and entries are only added if colormap exists in the first place.
After removing else and unindending range and entries part, raster layer looks as expected:
The text was updated successfully, but these errors were encountered:
Default colormap (if not setting up a legend) is not working properly (no range attribute set).
![grafik](https://user-images.githubusercontent.com/17476051/133428268-66be7a06-0c88-4479-8ccd-7a309522d013.png)
This leads to color artefacts like this:
This is related to code in
django-raster/raster/views.py
Lines 82 to 100 in 34fffe3
as range and entries are only added if colormap exists in the first place.
After removing
else
and unindending range and entries part, raster layer looks as expected:The text was updated successfully, but these errors were encountered: