Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
GeoServer: Step-By-Step Tutorial
Rating: 3.7 out of 5(64 ratings)
383 students

GeoServer: Step-By-Step Tutorial

A fast-paced guide to put your Geoserver-based web application into fast, user-friendly, and secure production
Last updated 1/2019
English

What you'll learn

  • Learn about GeoServer Layers and how to add information to your map.
  • Understand about the deployment of a spatial database and loading geospatial data into PostGIS.
  • Create an application that provides feature-level read and writes access involving a spatial database.
  • Leverage the OpenLayers API, Bootstrap, and jQuery to create a mobile/responsive user interface on top of GeoServer.
  • Develop a WPS processing service to allow web-based geospatial data processing.
  • Find out which GeoServer settings resolve bottlenecks.
  • Develop an algorithm by chaining geospatial analysis processes together.
  • Understand how to develop an effective tile cache-supported web service.
  • Get to know techniques that ensure resilient server deployment.

Course content

2 sections49 lectures3h 55m total length
  • The Course Overview2:23

    This video provides an overview of the entire course. 

  • WMS and Its Capabilities4:29

    To start this section, we’ll explore WMS and its capabilities

    • Web and Map Services Specifics of the WMS standard

    • The Layer Preview app

    • WMS HTTP requests

     

  • Geoserver Layers3:32

    Create your first layer from a data Store and view it in OpenLayers

    • Publish Layer Configure Layer

    • View OpenLayers

    • Layer Preview

     

  • Style Your Map4:10

    Cartographically enhance Geoserver’s map services with Styles.

    • SLD Syntax for rendering maps

    • Adding a new Style

    • Applying Style to a Layer

     

  • Styling with CSS4:18

    Learn about Geoserver CSS, and how to apply a CSS style to a Geoserver Layer.

    • Geoserver CSS Extension

    • Geoserver CSS Syntax

    • Apply CSS to Layer and Preview

     

  • Labeling Your Data4:45

    Learn how to add labels to your maps, to make them even more informative for your end user.

    • Labeling example with SLD

    • Labeling fundamentals

    • Apply labeling to a layer with Geoserver CSS

     

  • Customizing Your App for Scale2:56

    Learn how to use scale dependency rules to make your maps more legible for your end user.

    • Scale dependency introduction

    • Scale dependency example

    • Apply scale dependency

     

  • Create an Interactive Site Map4:16

    Integrate what you’ve learned in this section – enhancing Geoserver WMS and OpenLayers API – into an improved web mapping app

    • Create a Layer Group

    • Add Layer Group references to OL WMS Example

    • Add code from OL Popup Example

     

  • Introducing CQL2:09

    CQL is used to subset data based on criteria supplied in the query – in other words, filtering. Filtering allows an end-user to focus in on the data that is useful to them.

    • The CQL Syntax

    • Learn to use CQL in an OpenLayers Layer Preview app

    • Test out CQL via a Web Service Request

     

  • Enhanced CSS with CQL and Legends3:36

    CQL is used to enhance the styles provided by CSS, along with symbols. Legends are also generated with CSS, and can be retrieved by WMS.

    • Enhance CSS with CQL and symbols

    • Producing legends with WMS and CSS

    • View the result

     

  • Adding CQL to Your OpenLayers App UI2:58

    To enable CQL filtering in an app the UI must be adapted, along with event handlers, in Javascript.

    • Use CQL via Geoserver/OpenLayers Layer Preview

    • Adapt an OpenLayers example with the Layer Preview to enable CQL filtering on your own layer

    • See CQL UI in action

     

  • Printing UI Capability with jsPDF6:28

    One option for printing from OpenLayers is by exporting a PDF using the jsPDF library. This reqiures that the front-end code be developed and that Cross-Origin Resource Sharing (CORS) be enabled in Geoserver.

    • Import and customize front end code for supporting export to PDF for printing

    • Learn to configure Geoserver to allow front-end communication via Cross-Origin Resource Sharing (CORS)

    • Use the app to output custom PDFs for printing

     

  • Introducing PostGIS4:03

    Learn about the capabilities of PostgreSQL – a popular Open Source relational database management system – and its PostGIS extension, which provides spatial database capabilities.

    • What is PostgreSQL and how to access it

    • The basics of the SQL syntax

    • What PostGIS does and how to access it with software and SQL

     

  • PostgreSQL and PostGIS Installation4:03

    Install the PostGIS platform.

    • Install with the EnterpriseDB Postgres Installer

    • Start the service

    • Complete the installation of PostGIS and other extensions with Stackbuilder

     

  • Database Access Through pgAdmin and Command Line5:29

    Learn interfaces for working with Postgres: the command line exectuable and shell interface: psql and the GUI pgAdmin management package.

    • Explore and use the command line interface

    • Learn about command and query syntax and syntax reference

    • Meet pgAdmin and try its use

     

  • Setup and Get to Know Your Database3:23

    Setup a new PostGIS database with pgAdmin and learn about what it contains.

    • Create and configure a new user role

    • Create the new database from a template

    • Learn about some of the objects in the new database like tables, functions, types and triggers

     

  • Loading Tabular and Geospatial Data5:32

    Load data into the database, for access on Geoserver.

    • Import geospatial data in Shapefile format with PostGIS Shapefile Import/Export Manager

    • Load tabular data in DBF file format

    • Load tabular data from a plaintext comma delimited CSV file with pgAdmin

     

  • Start using PostGIS on Geoserver2:38

    Add a PostGIS data store and layer to start using PostGIS on Geoserver

    • Configure and add the PostGIS data store

    • Select a table from the data you've loaded and publish this as a Geoserver Layer

    • View the result in the Layer Preview section

     

  • Creating SQL View Layers in Geoserver4:24

    Begin to leverage the database by creating an SQL View layer in Geoserver.

    • Develop an SQL query in pgAdmin

    • Create and configure the SQL view in Geoserver

    • Preview the published layer

     

  • Capabilities of WFS3:21

    WFS is an open standards web service, comparable to WMS. Let’s explore this topic in detail and learn the basics of WFS syntax and requests.

    • Learn about the differences of WFS when compared to WMS

    • Learn about the differences of WFS when compared to WMS

    • Explore an example of WFS in an OpenLayers web app

     

  • WFS Output Formats3:34

    Learn about WFS output, which is much different than the kind of output we’ve come to expect with WMS services.

    • Explore a polygon layer and how features are reproduced in the default WFS text-based output – GML

    • Learn about JSON output

    • View shapefile output

     

  • WFS with OpenLayers1:46

    WFS output, unlike WMS, is in machine-readable text or file format, rather than map images. In this video you’ll learn to customize OpenLayers to display WFS GeoJSON on a map.

    • Explore an OpenLayers example that uses WFS – focusing on the source code

    • Customize the code so we can use it for our own Geoserver WFS

    • View the result

     

  • Updating Asset Records with WFS Transactions5:47

    So far, the result has not been much different to what you’ve already learned to do with WMS. In this video you will learn to update a record using a WFS transaction.

    • Make changes to the database to allow Geoserver to change a table

    • Enable anonymous write permissions to the table via Geoserver

    • Run the WFS Transaction request through the Geoserver Demo interface and view the result

     

  • Geolocation4:42

    To make the map more relevant to the end user: add their location to the map.

    • Learn about the fundamentals of Geolocation and methods for doing it

    • Learn about challenges for Geolocation and strategies for success

    • View an OpenLayers example

     

  • Geolocation for Mobile3:53

    Adapt the Geolocation example for a mobile geolocation app on our local filesystem.

    • Look at the original geolocation code, noting where changes may be made

    • Edit the code, to include UI and event handler additions and changes, as well as removal of code that’s no longer needed

    • View the result in the browser

     

  • A Responsive Mapping App3:57

    Use two popular libraries to improve our web mapping app UI: Bootstrap and jQuery.

    • Learn about Bootstrap and jQuery

    • Use these libraries to develop an OL app based on Geoserver services

    • View the result in the browser

     

  • Mobile WFS-T App5:44

    Pull in our work with WFS-T from the last section into this responsive app, for feature editing in a mobile-friendly user interface.

    • Add references to the WFS service to the app

    • Create the event handlers and make these compatible with Bootstrap and jQuery

    • View the result in the browser

     

  • Test Your Knowledge

Requirements

  • Basic knowledge of Development

Description

GeoServer is an open source  server-side software written in Java that allows users to share and edit  geospatial data. It also provides great flexibility in map creation and  data sharing.With this fast-paced, hands-on guide, you'll start with  various GeoServer Layers & adding information on the map using  different styles. Then you'll learn to deploy a spatial database,  PostGIS, in tandem with GeoServer.  Next, you’ll dive into an important  technique to improve the speed of your web map application. Moving  further you’ll enable authentication on the front and back ends to  protect sensitive map data, and how to deliver sensitive data to your  end user. Finally, you’ll put your web application into production &  look at the hosting of the OpenLayers, GeoServer, and data aspects of  your application. 

Who this course is for:

  • This course is aimed at GIC analyst, web & mobile app developers that will help them serve their geospatial data, maps, and algorithms for consumption on the web, mobile, and desktop apps.