Summary
Django, with its batteries-included philosophy, creates complete applications with very few outside libraries required. This application performs data management and data analysis using only the Django built-in tools and the GDAL/OGR library. Enabling the GeoDjango functionality is a relatively seamless experience because it is an integral part of the Django project.
Creating web applications with Django allows for a lot of instant functionality, including the administrative panel. The LayerMapping
makes it easy to import data from shapefiles. The ORM model makes it easy to perform geospatial filters or queries. The templating system makes it easy to add web maps as well as location intelligence to a website.
In the next chapter, we will use a Python web framework to create a geospatial REST API. This API will accept requests and return JSON encoded data representing geospatial features.