Book Image

Python Geospatial Analysis Cookbook

Book Image

Python Geospatial Analysis Cookbook

Overview of this book

Table of Contents (20 chapters)
Python Geospatial Analysis Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Other Geospatial Python Libraries
Mapping Icon Libraries
Index

Introduction


Our final chapter is all about extending our analysis into a web application using the Django web framework. One of the standard Django contributed packages is known as GeoDjango and is found in the django/contrib/gis package. This is a feature-packed GIS toolset for geospatial web application development. The spatial libraries used here depend on the spatial database backend that you choose. For PostgreSQL the library requirements include GEOS, PROJ.4, and PostGIS.

Django is known for its good documentation and the gis contrib package installation is no exception, having its own set of instructions for you to follow at https://docs.djangoproject.com/en/dev/ref/contrib/gis/.

Since GeoDjango is part of the standard Django installation, you will see that your first step is to install the Django framework. For any reference on installing GeoDjango, PostgreSQL, and PostGIS, take a look at Chapter 1, Setting Up Your Geospatial Python Environment.