geodjango raster field display on leaflet

16 views
Skip to first unread message

Xristos Xristoou

unread,
Jul 25, 2018, 6:43:54 PM7/25/18
to Django users

in the new django version support raster field and i follow this manual for geodjango raster field and this questions for add raster i have build a simple demo.

here the code :

settings.py

postgis database backend

'django.contrib.gis.db.backends.postgis'

models.py

from django.db import models
from django.contrib.gis.db import models

class Elevation(models.Model):
    name = models.CharField(max_length=100)
    rast = models.RasterField()

all works fine without error.

but i have one BIG question where i dont know how to complete it.

how to display this raster in some web map like leaflet ? any idea how ?some tutorial to help me ?

thank you 

Reply all
Reply to author
Forward
0 new messages