Back to Browse

Display Spatial data using Leaflet and GeoDjango

20.0K views
Jul 21, 2016
35:49

This tutorial demonstrates the ways of loading spatial data from GeoDjango models into a Leaflet map and also writing custom templates. It also uses the leaflet libraries that exist in Django-leaflet (Leaflet and GeoDjango) module to render and display maps on a template in Django. Using GeoJSONLayerView, data is loaded from a model and mapped to a URL which is then used in leaflet to load the data into the map. This method is used for all the three types of GIS data (Point, Line and Polygons)

Download

0 formats

No download links available.

Display Spatial data using Leaflet and GeoDjango | NatokHD