
In this lesson, you will learn how to set up a fully functional Django project ready for geospatial web development. This foundational step ensures your development environment is correctly configured so you can focus on building and managing spatial applications efficiently.
Key components of this lesson include:
Installing Python, Django, and necessary dependencies
Setting up a virtual environment for project isolation
Installing and configuring PostGIS for spatial data support
Integrating GeoDjango for geospatial functionality
Initial project verification: running the server and confirming successful setup
By the end of this lesson, learners will have a ready-to-use Django project configured for geospatial development, providing a solid foundation for building spatial models, APIs, and interactive maps.
This lesson introduces spatial databases and guides you through setting up a robust backend capable of storing, managing, and querying geospatial data. You will learn how to prepare your database environment for a Django + GeoDjango project and understand the key concepts behind spatial data storage and operations.
Key topics covered in this lesson include:
Introduction to spatial databases and PostGIS
Installing PostgreSQL and enabling the PostGIS extension
Creating and configuring spatial databases for GeoDjango projects
In this lesson, you will learn how to connect your Django project to a spatially-enabled database, allowing your application to store, manage, and query geospatial data efficiently. This step is essential for integrating GeoDjango with PostGIS and ensuring your models can handle real-world spatial operations.
Key topics covered in this lesson include:
Configuring Django settings to connect to a PostgreSQL/PostGIS database
Creating and managing database users, permissions, and roles
Setting up database connections for development and production environments
Ensuring GeoDjango spatial functionality is correctly integrated
Testing the connection and verifying that spatial queries can be executed
In case Django asks for GDAL_LIBRARY_PATH set the following in settings.py;
GDAL_LIBRARY_PATH = /path-to-your-gdal-/
This lesson guides you through creating the foundation of your geospatial web application by starting a new Django project. It focuses on setting up the project structure, configuring key settings and preparing the environment for spatial development.
Key topics covered in this lesson include:
Creating a new Django project and understanding its folder structure
Setting up Django apps for modular development
Configuring project settings for development
Running the development server and verifying the initial project setup
This lesson teaches how to apply Django migrations to set up and update your database schema, including default models, ensuring that your project is ready to handle data correctly. Running migrations is a critical step in connecting your models to the database and maintaining data integrity as your application evolves.
This lesson guides you through creating a Django superuser account, which provides full administrative access to your project. The superuser allows you to manage models, spatial data, and user accounts via Django’s built-in admin interface.
Key topics covered in this lesson include:
Understanding the purpose and role of a Django superuser
Creating a superuser account using the command line
Configuring the superuser credentials (username, email, password)
Logging into the Django admin panel
This lesson focuses on designing and implementing spatial models in Django using GeoDjango, and registering them with the admin interface for easy management. Spatial models are the backbone of geospatial applications, enabling the storage and manipulation of points, lines, and polygons.
Key topics covered in this lesson include:
Understanding GeoDjango spatial fields: PointField, LineStringField, PolygonField
Designing models for real-world geospatial data (locations, zones, boundaries)
Adding attributes and relationships to spatial models
Creating model classes in Django apps
Registering spatial models with the Django admin interface
This lesson demonstrates how to integrate and configure Leaflet.js within Django’s admin interface to visualize and interact with spatial data. By combining GeoDjango with Leaflet, you can provide a dynamic, interactive map view of your spatial models directly in the admin panel.
Key topics covered in this lesson include:
Understanding the role of Leaflet.js in spatial data visualization
Installing and configuring Leaflet in the Django admin environment
Connecting spatial models to Leaflet map widgets
This lesson covers the process of managing and collecting static files in a Django project, ensuring that CSS, JavaScript, images and other assets are properly organized and served. Proper static file management is essential for both development and production environments, especially when building interactive geospatial applications.
Key topics covered in this lesson include:
Understanding Django’s static files framework
Configuring STATIC_URL and STATIC_ROOT in settings
Organizing static files within apps and project directories
Running the collectstatic command to gather all static files
Verifying that static assets are correctly served in development
Preparing static files for production deployment
This topic demonstrates how to manage and interact with spatial data directly within Django’s admin interface. Leveraging GeoDjango and integrated map widgets, you can add, edit, and visualize geospatial data such as points, lines, and polygons, all without leaving the admin panel.
Key points covered include:
Understanding the capabilities of the Django admin for spatial models
Adding spatial records (locations, boundaries) using the admin interface
Visualizing spatial fields on interactive maps with map widgets
Managing related attributes and metadata alongside spatial data
Best practices for user-friendly and efficient admin workflows
By the end of this topic, learners will be able to confidently add, edit, and manage geospatial data directly in Django Admin, enabling effective data management and visualization for geospatial applications.
This topic demonstrates how to import spatial data directly into your GeoDjango project from external sources. It shows how to manage, visualize, and store geospatial datasets efficiently, making it ideal for quick data management and testing.
You will learn;
Importing spatial data into the PostGIS database using Django management commands
Verifying the imported data via the Django admin or spatial queries
This lesson introduces you to the world of Geospatial APIs, a core component of modern geospatial web applications. You’ll learn how APIs expose geospatial data, how clients consume spatial endpoints and the standards used to structure geographic information on the web.
This lesson guides you through setting up the foundational tools required for building robust geospatial APIs in Django. You will install and configure Django REST Framework (DRF) and DRF-GIS, which provide the essential components for serializing spatial data and building powerful location-based endpoints.
Key topics covered in this lesson include:
Installing Django REST Framework (DRF)
Installing DRF-GIS for geospatial serialization and enhanced spatial fields
Configuring DRF settings in the Django project
This lesson teaches you how to create serializers that convert your Django and GeoDjango models—including spatial fields—into structured formats suitable for APIs. Serializers are the backbone of any REST API, enabling your backend to communicate cleanly and consistently with frontend applications, mobile clients, and third-party systems.
Key topics covered in this lesson include:
Understanding the role of serializers in DRF
Creating basic DRF ModelSerializer classes
Serializing spatial fields using GeoFeatureModelSerializer
Outputting geospatial data as GeoJSON
Customizing serializer fields and handling nested relationships
Adding read-only fields, computed fields, and custom validations
This lesson walks you through building API views that handle requests, process spatial data, and return structured responses. Using Django REST Framework, you will create views and viewsets that expose your geospatial models to the frontend, enabling interactive mapping, queries, and analytics.
Key topics covered include:
Understanding DRF views vs. viewsets
Creating basic API views using APIView
Building CRUD viewsets for spatial models
Returning GeoJSON responses with geospatial fields
Applying filters and query parameters to spatial endpoints
Handling error responses and validations
This lesson covers the essential steps of mapping URLs to your API views and organizing a clean URL structure for your geospatial endpoints. You will set up URL routers for DRF, register viewsets, and expose versioned API endpoints that follow industry standards.
Key topics covered include:
Setting up urls.py for API endpoints
Registering views and mapping them to URL paths
Creating nested or namespaced routes for complex spatial data models
Organizing URLs using versioning (e.g., /api/v1/...)
Structuring endpoints for clarity and scalability
This lesson introduces learners to testing geospatial and non-geospatial API endpoints using Postman, one of the most widely used API testing tools. You will learn how to interact with your Django REST API, validate responses, debug issues, and ensure that your endpoints return correct data including GeoJSON outputs.
Key topics covered in this lesson include:
Introduction to Postman and why it’s essential for API development
Setting up collections and organizing API requests
Sending GET, POST, PUT, PATCH, and DELETE requests
Testing spatial endpoints that return GeoJSON
Adding query parameters and testing filters
This lesson teaches how to implement pagination in your Django REST Framework APIs to efficiently handle large datasets, including geospatial data. Pagination improves performance, reduces payload size, and provides a better user experience for applications that fetch data dynamically, such as interactive maps.
Key topics covered in this lesson include:
Understanding the need for pagination in APIs
Configuring global pagination in DRF settings
Using built-in DRF pagination classes: PageNumberPagination
Paginating geospatial endpoints that return GeoJSON
Customizing pagination size and response structure
Testing paginated responses in Postman or frontend clients
This lesson focuses on enabling filtering and searching capabilities in your Django REST Framework APIs. Learners will see how to query spatial and non-spatial data dynamically, allowing clients to retrieve relevant records based on parameters like location, attributes, or keywords.
Key topics covered in this lesson include:
Overview of filtering and search in DRF
Using django-filter to filter by model fields, including spatial fields
Filtering geospatial data by attributes or location
Implementing search functionality for text-based queries
Combining filters, search, and pagination for optimized responses
Handling query parameters in the API and validating inputs
This lesson provides an overview of user authentication and management within a Django REST Framework (DRF) environment. You will understand the key concepts of user accounts, authentication workflows, and how secure access is handled in modern web applications.
The lesson also introduces the structure of the module and highlights the importance of serializers, API views, and permissions in managing users effectively.
In this lesson, learners will explore Django REST Framework’s permission system, which controls access to API endpoints. You will learn about built-in permission classes such as IsAuthenticated, AllowAny and IsAdminUser, and understand how to apply custom permissions to secure specific resources. By the end, students will know how to restrict access to sensitive API endpoints and enforce role-based access control.
This lesson covers the creation of a serializer for user registration. Learners will see how to validate input data, hash passwords securely, and serialize user objects for API responses.
The lesson also explains handling extra fields, performing custom validations, and preparing the data for API consumption, ensuring a secure and structured user registration process.
In this lesson, you will build a serializer to handle user login. The lesson demonstrates how to validate credentials, authenticate users, and return appropriate responses, including token-based authentication if applicable.
Key concepts include error handling for invalid credentials, ensuring secure authentication, and structuring API responses for frontend consumption.
This lesson focuses on creating the API endpoint for user registration using DRF’s APIView. You will implement logic to accept registration requests, validate incoming data using the registration serializer, and save new user records to the database.
The lesson emphasizes clean, maintainable API design and handling common errors during registration.
This lesson teaches how to test the user registration endpoint to ensure it works correctly. You will use tools like Postman or Django’s test client to simulate API requests, verify proper data validation, and inspect responses.
The lesson also covers edge cases, such as duplicate email registration, missing fields and invalid inputs.
In this lesson, you will create the API endpoint for user login. It covers processing login requests, authenticating credentials, generating tokens or session data, and returning structured responses.
Best practices for error handling, rate-limiting, and security during login are also discussed to prevent unauthorized access.
This lesson focuses on testing the login endpoint to ensure secure and reliable authentication. Learners will perform manual and automated tests using Postman or test scripts, validating both successful and unsuccessful login attempts.
The lesson also covers token retrieval, session verification, and troubleshooting common authentication errors.
This lesson demonstrates how to implement a logout API endpoint. You will see how to invalidate tokens or sessions, securely end user sessions, and return confirmation responses.
The lesson emphasizes security best practices, ensuring that logged-out users can no longer access protected resources, thereby maintaining application integrity.
In this lesson, we will be introduced to the process of designing and implementing the user interface of a web geospatial application. The focus is on translating backend functionality into clean, intuitive, and responsive frontend components that users can interact with comfortably.
You will explore how to structure a frontend project, organize UI elements, and build components for forms, navigation, data displays, and map interfaces. The lesson emphasizes best practices for state management, component communication, styling approaches, and ensuring accessibility and performance.
By the end, you will gain the foundational skills needed to build a professional, user-friendly interface that seamlessly integrates with the APIs built earlier in the course.
This lesson introduces how Django handles the presentation layer through views and URL routing, key components in structuring the LandLoom application's frontend. You will learn how to create views that render templates, pass dynamic geospatial data from the backend, and serve interactive pages that connect seamlessly with the system’s APIs.
The lesson covers configuring Django’s URL patterns to ensure clean, intuitive navigation across the platform, including public pages, dashboards, map interfaces, and user-specific sections. By the end of the session, learners will understand how Django manages the flow from a browser request to the rendered page, enabling you to build a cohesive, organized frontend foundation for the enterprise-grade geospatial platform.
In this lesson, learners will design and implement the public-facing landing page for the LandLoom platform the first touchpoint for users exploring the geospatial application. You will learn how to structure a clean, modern layout using Django templates, integrate static assets such as images, CSS, and JavaScript, and craft a compelling visual narrative that communicates the value of the LandLoom system.
The lesson walks through building a responsive interface, adding sections such as hero banners, feature highlights, and calls to action, and preparing the page for future dynamic integrations. By the end, you will understand how to transform a simple Django view into a professional landing page that establishes trust, clarity, and visual appeal for the entire platform.
In this lesson, you will explore how to visualize spatial data on interactive maps by loading GeoJSON layers into Leaflet. You will learn how Django APIs expose admin boundaries, landmarks,roads, parcels, and other spatial features as GeoJSON, and how Leaflet consumes these endpoints to render polygons, points, and lines dynamically on the frontend.
The lesson covers initializing GeoJSON layers, styling features, binding popups and tooltips, and handling user interactions such as clicking, hovering, and zooming into features. You will also work with multiple layers—such as project boundaries, sample points, and infrastructure data—and understand how to manage them efficiently using LayerGroups and controls. By the end of the lesson, you’ll be able to connect backend spatial APIs to a fully interactive Leaflet map, enabling real-time visual representation of geospatial datasets within the LandLoom platform.
This lesson focuses on transforming raw spatial data into visually intuitive map layers by applying custom styles in Leaflet. You will explore how to define dynamic styling functions for GeoJSON features such as landmarks, parcels, roads, sample points, and administrative boundaries using colors, stroke weights, fill opacity, and conditional styling based on feature attributes.
The lesson demonstrates how to highlight features on hover, differentiate project stages with colour scales, and visually represent data categories with thematic styling.
This lesson focuses on customizing the visual representation of point features on interactive maps using Leaflet. You will explore how to style points such as sample points, landmarks markers, or points of interest based on attributes like category, status, or priority.
The lesson covers customizing marker icons, colors, sizes, and opacity, as well as using different shapes or symbols to convey meaning. You will also learn how to add hover effects, popups, and clustering for dense datasets, ensuring points are both informative and visually distinct.
By the end of this lesson, you will be able to design professional, intuitive point layers that clearly communicate geospatial information within the LandLoom platform.
This lesson teaches learners how to style line features on interactive Leaflet maps, such as roads, rivers, or project boundaries. You will learn how to customize line color, width, opacity, and dash patterns to visually differentiate features and convey important information.
The lesson also covers dynamic styling based on feature attributes, hover effects, and interactive highlighting to improve map readability. By the end, you will be able to create clear, visually distinct line layers that effectively communicate spatial relationships and enhance user understanding in the LandLoom platform.
In this lesson, you will focus on styling polygon features such as administrative areas on Leaflet maps. You will explore how to apply fill colors, border styles, opacity levels, and conditional styling based on attributes or project stages.
The lesson also covers interactive techniques such as highlighting, tooltips, and popups for improved user engagement.
This lesson teaches learners how to add interactive popups to point features on Leaflet maps. Popups provide detailed information about each point, such as sample locations, infrastructure, or points of interest, when a user clicks or hovers over a marker.
You will learn how to bind data attributes from your GeoJSON or API responses to popups, format content using HTML, and include dynamic elements such as links, images, or icons. By the end of this lesson, you will be able to enhance map interactivity by providing meaningful contextual information for each point feature within the LandLoom platform.
In this lesson, you will focus on adding interactive popups to line and polygon features, such as roads and land parcels. You will explore how to bind attribute data to popups, format information in a clear and readable manner, and include interactive elements to support user engagement.
The lesson also covers best practices for displaying multiple attributes, handling complex polygons, and improving user experience when interacting with large datasets. By the end, you will be able to make line and polygon layers informative and interactive, allowing users to gain insights directly from the map interface in the LandLoom platform.
This lesson teaches how to implement dynamic filtering of map layers in Leaflet to display only relevant spatial features based on user input or predefined criteria. You will learn how to filter point, line, and polygon layers using attributes from GeoJSON or API responses, enabling users to focus on specific project zones, statuses, or categories.
The lesson also covers combining filters with interactive controls, updating maps in real-time, and ensuring performance with large datasets. By the end of this lesson, you will be able to provide users with flexible, interactive maps where data is easily filtered and explored within the LandLoom platform.
In this lesson, you will explore how to integrate and configure basemaps in Leaflet to provide context and visual reference for geospatial data. You will learn how to add popular tile layers such as OpenStreetMap, Google Maps, and Mapbox, as well as switch between multiple basemaps for different map views.
The lesson also covers customizing attribution, adjusting map styles, and ensuring seamless integration with project layers.
Access basemaps on the Leaflet-Extras GitHub Preview Page
This lesson teaches how to implement layer controls in Leaflet, allowing users to toggle multiple map layers on and off interactively. You will learn how to group point, line, and polygon layers, manage base maps alongside overlay layers, and ensure that users can selectively view the spatial features that matter most.
By the end of the lesson, you will be able to provide a clean, organized interface for layer management, improving map usability and clarity within the LandLoom platform.
Learn to separate concerns in your project. Let similar logic live together.
In this lesson, you will explore how to enhance map navigation with full-screen mode controls. You will learn how to enable full-screen view for better map visibility. The lesson also covers customizing the appearance and behavior of these controls for improved user experience.
In this lesson, you will explore how to enhance map navigation with map scale controls. You will learn how to integrate dynamic scale bars that help users understand distances and proportions on the map. The lesson also covers customizing the appearance and behavior of these controls for improved user experience.
This lesson focuses on implementing search functionality for map layers in Leaflet, enabling users to quickly locate points, lines, or polygons based on attributes or identifiers. You will learn how to connect search inputs to GeoJSON layers or API-driven data, highlight results on the map, and integrate autocomplete or filter options for efficient navigation.
In this lesson, you will explore how to access and display the user’s current location on a Leaflet map. You will learn how to use the browser’s geolocation API to center the map on the user, add a marker or circle for their location, and handle permissions and errors gracefully. This functionality is essential for location-aware features such as nearby project zones, infrastructure points, or sample sites in the LandLoom platform. By the end of this lesson, you will be able to integrate geolocation capabilities to make your maps interactive and personalized.
This lesson shows you how to add measurement tools to a Leaflet map to calculate distances and areas. You will learn how to measure between points using lines, calculate the area of polygons, and display results dynamically on the map. These measurement features are particularly useful for analyzing project zones, parcels, or spatial planning within the LandLoom platform. By the end of the lesson, you will be able to provide interactive measurement tools that help users gain actionable insights directly from the map.
In this lesson, you will learn how to add informative controls to your Leaflet maps, such as legends. You will explore creating dynamic legends that explain layer styles, colors, and symbols. This helps users interpret complex spatial data and navigate maps efficiently.
By the end of this lesson, you will be able to enhance map usability by providing clear, informative controls that make geospatial data in LandLoom easy to understand.
In this lesson, you will learn how to add informative controls to your Leaflet maps, such as legends. You will explore creating dynamic legends that explain layer styles, colors, and symbols. This helps users interpret complex spatial data and navigate maps efficiently.
By the end of this lesson, you will be able to enhance map usability by providing clear, informative controls that make geospatial data in LandLoom easy to understand.
In this lesson, you will learn how to fetch data from Django APIs and render it dynamically in your frontend templates. You will explore techniques to parse JSON responses, loop through data in templates, and display project zones, parcels, or user-specific information directly on web pages.
This approach allows the LandLoom platform to present real-time data from the backend without hardcoding content, ensuring that the interface stays up-to-date with the latest geospatial information. By the end of the lesson, you will be able to seamlessly connect backend APIs to your frontend templates.
This lesson teaches you how to integrate interactive charts into your frontend to visualize spatial and attribute data effectively. You will learn how to use libraries such as Chart.js to create charts, and other visualizations based on API data.
This enables users to quickly interpret trends, compare project zones, or analyze data points like sample measurements within the LandLoom platform. By the end of this lesson, you will be able to create dynamic, data-driven charts that enhance decision-making and provide visual insights.
This lesson teaches you how to integrate interactive charts into your frontend to visualize spatial and attribute data effectively. You will learn how to use libraries such as Chart.js to create charts, and other visualizations based on API data.
This enables users to quickly interpret trends, compare project zones, or analyze data points like sample measurements within the LandLoom platform. By the end of this lesson, you will be able to create dynamic, data-driven charts that enhance decision-making and provide visual insights.
In this lesson, you will learn how to display API data in structured, interactive tables on your frontend. You will explore using HTML tables or table libraries to sort, search, and paginate data such as project details, parcels, or sample points.
This allows users to view detailed records alongside maps and charts, improving data accessibility and usability. By the end of the lesson, you will be able to create professional, interactive tables that complement the geospatial visualizations in the LandLoom platform.
Most GIS learning stops at creating maps.
But in the real world, maps are only one part of the solution.
Organisations today need systems that can:
Manage spatial data
Track ownership, availability and transactions
Support teams with structured workflows
Provide real-time visibility through maps and data
This course is designed to take you beyond visualisation and into building complete geospatial systems.
What you will build
Throughout the course, you will develop a land and parcel management web application, a practical system used in industries such as real estate, land administration, infrastructure and logistics.
This includes:
A backend system that stores and processes spatial data
APIs that expose geospatial data for applications
An interactive frontend map to visualize and manage parcels
Business logic to handle real-world workflows
How you will build it
You will work with a modern geospatial development stack:
GeoDjango for building geospatial backend systems
PostGIS for managing spatial databases and queries
Django REST Framework for building APIs
Leaflet for interactive maps and frontend visualization
But beyond tools, the course emphasises:
System design - how to structure real-world applications
Data modeling - how to represent spatial data effectively
Workflow thinking - how users interact with systems
Scalability - how to build with production in mind
What makes this course different
This is not a theoretical GIS course. It is also not a collection of isolated tutorials.
Instead, it is a project-driven, system-level course where everything you learn contributes to building a complete application.
You will learn how:
Backend, frontend, and spatial data connect
Real-world geospatial systems are structured
Developers move from maps to full applications
Who this course is for
This course is ideal for:
Developers who want to enter geospatial development
GIS professionals looking to build web applications
Engineers building systems that rely on location data
Anyone interested in creating real-world GIS platforms
By the end of this course
You will not just understand geospatial development. You will be able to:
Build a complete GIS web application from scratch
Work with spatial databases and geospatial APIs
Design systems that handle real-world spatial workflows
Apply geospatial thinking to real products and platforms