Building Web GIS Apps with Java Spring Boot MVC and Leaflet

Building Web GIS Apps with Java Spring Boot MVC and Leaflet

Learn to Build Web GIS Applications with Java.

Welcome to the Building Web GIS Apps with Java Spring Boot MVC and Leaflet course. We’ll be building a Full-stack MVC style Web Application using the Java Spring Tool suite. The purpose of this course and many more to follow, is to learn to create geospatial analytics and convert it into a functional application.

In our use 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 our spatial database. Once we have processed and cleaned the data, we will use it as a data source for building our Java Spring Boot Web Map Application.

We will be powering our application with a PostgreSQL and PostGIS database. In the Front-End we’ll use Thymeleaf, JavaScript, Leaflet and Ajax. On the server side we’ll be using Java Spring Boot MVC and combined with use of libraries like Hibernate-Spatial, commons-csv and JPA for our data transformation and conversion operations. The operating system that we will be working on is Windows 10 and Server 2016.

Some skills that you can expect to derive after completing the course are the following:

  • You will learn how to build a Spatial Database using Postgresql and PostGIS.
  • You will learn how to create charts with Chart.js.
  • You will learn to build Web Maps with Leaflet.js.
  • You will learn how to build REST API Endpoints.
  • You will learn some JavaScript programming.
  • You will learn how to build Web Applications using the Java Spring Boot MVC framework.

What you’ll learn?

  • Be able to create a Full-stack web GIS application from scratch
  • Building Full-stack Java Spring Boot MVC Apps
  • Be able to use a 3rd party JavaScript charting library
  • Building a Java Spring Boot REST API
  • PostGIS for Java and Windows

Who is this course for?

  • Beginner and advanced developers
  • The curious mind

Requirements:

  • A basic knowledge of Java, Javascript, and GIS
  • A Windows operating system
  • Some coding experience
Course content
1. Introduction
—————
2. Setup and Installations
1. Installing PostgreSQL and PostGIS on Windows
—————
2. Creating a Spatial Database
—————
3. Installing OSGeo4w
—————
3. Building a Java Spring Boot MVC Application
1. Installing Java JDK
—————
2. Installing Apache Maven
—————
3. Installing the Spring Tool Suite (STS) IDE
—————
4. Creating a Java Spring Starter Project
—————
5. Modifying the pom.xml File
—————
6. Modifying the Application Properties
—————
4. Writing the Back-End Code
1. Creating the Model Class
—————
2. Creating the Model Repository Interface
—————
3. Creating the Utility Class
—————
4. Creating the Service Interface
—————
5. Creating the Service Implementation Class
—————
5. Building the Java Spring REST API Service
1. Downloading the Sample Dataset
—————
2. Extract Transform and Load Data into our Spatial Table
—————
3. Creating the REST Controller Class
—————
6. Building the Front-End Using Thymleaf and Leaflet.js
1. Adding the Front-End Static Files
—————
2. Creating the Layout Page
—————
3. Creating the Index Page
—————
4. Creating our First Leaflet Map
—————
5. Creating Multiple Basemaps
—————
6. Displaying Data on the Map
—————
7. Classifying Data on the Map
—————
8. Creating the Legend
—————
9. Creating the Bar Chart Legend
—————
10. Creating the Bar Chart
7. Project Source Code