Nowadays, maps are ubiquitous, and for good reason. Maps allow us to convey all manner of data visually and, quite often, beautifully. Understanding how to create your own custom maps from base geospatial data is an excellent skill for both designer and developer alike. In this course, Creating Geospatial Maps with MapServer and GDAL, you'll begin by installing MapServer and GDAL quickly and easily. You'll then create your first map using freely available data and learn how to apply custom styles to make the map your own. Next, you'll move on to more advanced concepts such as creating maps programmatically using MapScript, inspecting and modifying data using the GDAL suite, and querying data. When you've finished with this course you'll have your own WMS and WFS standards compliant server ready to go and start sharing your own amazing maps with others across the web.
Jon Oxtoby has spent the majority of his career on developing web and desktop applications related to the analysis and display of weather and other geospatial data. He is currently a senior software engineer with AvMet Applications.
Course Overview Hi everyone. My name is Jon Oxtoby and welcome to my course Creating Geospatial Maps with MapServer and GDAL. I'm a meteorological software engineer with AvMet Applications. This course is designed to get you up and running quickly, creating your own custom maps using MapServer. Some of the major topics that we will cover include MapServer installation and configuration, creating maps from freely available data, styling maps to make them your own, inspecting and manipulating data using GDAL and controller MapServer programmatically via map script. By the end of this course you'll know everything you need to create colorful, informant, beautiful maps and you'll have your own fully functional web map server ready to share your maps with the world across the web. Basic knowledge of PHP or Python will be useful for this course, but it's not required, nor is any prior knowledge of creating maps. So I hope you'll join me on this journey to learn web mapping with creating geospatial maps with MapServer and GDAL course at Pluralsight.
MapScript In this module we're going to be looking at MapScript, the MapServer API. Now MapScript comes in four different flavors, we have PHP, Python, Java, and C#. For this module I'm just going to be using examples in PHP and Python. If you're more of a Java or a C# person, you shouldn't have any trouble following along with the examples. So the first thing we need to do is make sure our environment is set up and ready to go to use PHP and Python MapScript. So we're going to do that in the next lesson. And after that we'll jump right in and start using MapScript to control MapServer programmatically.
Introducing the GDAL Suite In this module we're going to take a look at the GDAL Suite. Now as I mentioned in the first lesson, the GDAL Suite is pretty much like a Swiss army knife when it comes to geospatial data. There are an awful lot of things you can do with it. You can inspect the data, convert it from one format to another, reproject it, reformat it, slice it, all kinds of stuff. The GDAL Suite is comprised of both an API, which includes bindings for a lot of the more popular languages, and also a collection of utilities and those utilities are what we're going to look at in this module. Now there are an awful lot of utilities for GDAL, but for this module we're just going to look at four, ogrinfo and ogr2ogr are both for working with vector data, and then we have gdalinfo and gdal_translate, which are used for working with the raster data. So in the next few lessons I'm going to go through each one of these and show you some examples of how to work with it. For more information you can visit the GDAL website and go to /org_utilities for a list of all the vector utilities and /gdal_utilities for a list of all the raster utilities. So with that brief introduction, let's jump right into ogrinfo in the next lesson.
Sharing Your Maps and Geospatial Data Using WMS & WFS In this final module we're going to look at sharing your maps and geospatial data using WMS and WFS. WMS stands for Web Map Service and it's a standard way of publishing maps to the web. WFS stands for Web Feature Service and it's a standard way of publishing feature-level geospatial data to the web. Both WMS and WFS are both upon a set of standards and the idea is that any client that implements these same standards will know how to work directly with WMS or WFS server. So in this module our goal is going to be implementing those same standards in MapServer. We're first going to set up MapServer as a WMS server. We're then going to demonstrate a simple WMS request and then we're going to take it one step further and use OpenLayers, which is a WMS client, to work with our MapServer maps and interact with them. Then we'll set up MapServer to also work as a WFS server. And then we'll demonstrate a simple WFS request. And finally we're going to wrap up the course. So let's get started.