Learn how to build a Python web GIS application from scratch using Django and Leaflet.
Course Description
In our case we will be working with residential water consumption data and we will be applying data processing techniques to extract, transform, and load the data into out spatial database. Once we have processed and cleaned the data, we will use it as a data source for building our GeoDjango Web Map Application.
We will be powering our application with a PostgreSQL and PostGIS database. In the front-end we will use Bootstrap, JavaScript, Leaflet and Ajax. On the server side we will be using Python and Django combined with scientific libraries like pandas, for our data transformation and conversion operations. The operating system the we will be working on is Windows 10 and Server 2016.
Course curriculum
-
02
-
Installing Python
-
Installing PostgreSQL and PostGIS
-
Creating a SpatialDB using pgAdmin
-
-
03
-
Creating a Virtual Environment
-
Installing GeoDjango Part 1
-
Installing GeoDjango Part 2
-
Installing Visual Studio Code
-
Creating a Django Base Application
-
Testing Django Installation
-
Connecting Spatial Database to the Django Application
-
-
04
-
Creating Django Admin User
-
Creating the Application Model
-
Downloading Dataset
-
Registering model in the admin.py file
-
-
05
-
Configuring Leaflet
-
Downloading Base User Interface Templates
-
Creating Templates Folder
-
Creating the Layout Page
-
Creating the Index Page
-
Creating the Index View
-
Adding the CSS Styling and Sidebars
-
-
06
-
Creating Dataset
-
Displaying the Data on the Map
-
Creating a Legend
-
Creating a Bar Chart Legend
-
Creating the Bar Chart
-
-
07
-
Source Code
-
What will you learn?
-
How to build Spatial Database using PostgreSQL and PostGIS.
-
How to create charts with Chart.js.
-
How to build web maps with Leaflet.js.
-
How to build REST API endpoints.
-
Some skills in JavaScript programming.
-
How to build web applications using the Django MVC framework.
Student profile?
-
Undergraduate students
-
Master students and PhD candidates
-
Researchers and Academics
-
Professionals and Companies