Creating Smart Maps with Python and Leaflet Windows Version
Introduction
Installing Python on Windows
Installing PostgreSQL and PostGIS on Windows
Creating a Spatial Database
Creating a Python Virtual Environment
Installing and Configuring GeoDjango and GDAL on Windows Part 1
Installing and Configuring GeoDjango and GDAL on Windows Part 2
Installing Visual Studio Code IDE
Creating a Django Base Application
Testing the Django Installation
Adding the settings.py Code
Creating a Django Admin User
Creating the Model
Downloading the Sample Dataset
Creating the GeoAdmin and Testing the Spatial Back-end
Adding the Leaflet Config Code
Adding the Static Files
Creating the Layout Page Part 1
Creating the Layout Page Part 2
Creating the Index Page
Creating the Index View
Modifying and Styling the Index Page
Creating the Dataset API Endpoints
Displaying Data on the Map
Creating the Legend
Creating the Bar Chart Legend
Create the Bar chart
Source Code