geodesign / django-raster

Django-raster allows you to create tiled map services (TMS) and raster map algebra end points for web maps. It is Python-based, and requires GeoDjango with a PostGIS backend.
BSD 3-Clause "New" or "Revised" License
96 stars 39 forks source link

Raster fields require backends with raster support #44

Closed vedmed85 closed 4 years ago

vedmed85 commented 4 years ago

Hi i faced with problem of installation and using(i installed all dependencies) after executing python3 manage.py migrate i receive error django.core.exceptions.ImproperlyConfigured: Raster fields require backends with raster support.

can somebody help me?

yellowcap commented 4 years ago

Django-raster only supports postgis as the DB backend. Are you using postgis?

https://docs.djangoproject.com/en/2.2/ref/contrib/gis/db-api/

vedmed85 commented 4 years ago

Screenshot from 2019-10-24 17-23-01 Yes, i installed postgis before migrate, and after this i receive error

yellowcap commented 4 years ago

Please confirm that you have specified 'django.contrib.gis.db.backends.postgis' as your db engine in the settings.

https://docs.djangoproject.com/en/2.2/ref/contrib/gis/tutorial/#configure-settings-py

yellowcap commented 4 years ago

Closed due to inactivity. Please re-open if still relevant.