This 3-part mini-course is my attempt to explain the basic concepts of working with PostGIS data from within the Leaflet.js mapping API. Technically this is not Leaflet programming. In this scenario Leaflet.js simply becomes the canvas on which your geospatial data is displayed on a web map. All of the interaction with the geospatial data occur through very common and standard methods of working with enterprise level databases, but with a geospatial twist. Continue reading “Working with PostGIS data from within Leaflet.js (or any other client side mapping API)”
All of my courses are available on the Udemy platform. This means that
- They are self-paced. Start when you want and take as long as you want to finish
- They are available 24-7 on-line
- They can be downloaded to a mobile device and watched off-line
- They have life-time access
- The price is $20 each for readers of this blog.
All of my courses use open source software and simple, standard methods that have stood the test of time. They can be implemented without spending anything on licensing, subscriptions, or per-user fees. Many of the concepts you will learn can be applied to commercial software as well but I think you will be impressed with the power and ease of the open source ecosystem, especially for multi-user geospatial applications.
Web Programming courses for Geospatial
- Introduction to web programming for GIS applications – This course is the foundation on which all my other web programming courses are based on. Its purpose is to provide the background necessary to understand the big picture of how various technologies, from basic HTML to PostGIS databases, work together to form a web GIS application. This course is intended to be watched with the intention of understanding the big picture. It is not intended to be followed along step by step, although several people have been able to do so. (13 hours) AVAILABLE NOW. *** BESTSELLER ***
- Display and analyze your GIS data on the web with Leaflet – This course builds on the first half of the previous course and provides much more detail on the Leaflet.js API and the Turf.js API for spatial analysis. Students are expected to follow along on their own computers and build a web map from start to finish. This course only covers client-side technologies, i.e. displaying and analyzing static data. It does not cover creating and/or editing data via the web although that subject is introduced in the introductory course. (13 hours) AVAILABLE NOW. *** BESTSELLER ***
- Mobile GIS and mapping applications with Leaflet – This course builds on the previous two to cover issues specific to mobile devices, This includes dealing with small screens, touch screens, accessing the devices sensors, and working off-line. (4 hours) AVAILABLE NOW
- PHP registration, login, and content management system – One of the most frequent questions that I get is “How do I control access to my web pages and content?”. This course attempts to answer that question by providing step-by-step instructions for developing a user registration, login, and content management system that you can use for your own projects as-is or modify to suit your purpose. (9 hours) AVAILABLE NOW
- Server based web gis applications with Leaflet and PostGIS – This course will build on the introductory course to provide much more detail on integrating Leaflet web maps with a spatial database. It covers server-side programming with PHP, AJAX, and SQL. This is necessary for applications where the user is allowed to create and/or edit data via the web. Although I use Leaflet and postGIS as examples in this book the concepts are easily transferable to any client side web mapping API that can display GeoJSON and any server-side database. (16.5 hours) AVAILABLE NOW.
- Mobile data collection applications with Leaflet and PostGIS – This course will build on the previous course and show how to develop applications for collecting data in the field using the devices GPS sensor. AVAILABLE NOW
QGIS and PostGIS courses
- QGIS 3.0 for GIS Professionals – This course is projected to be available concurrently with the release of QGIS 3.0 It will provide an overview of QGIS specifically for GIS users who are already trained in the use of commercial GIS software. Over 10 hours of content. AVAILABLE NOW!!! *** BESTSELLER ***
- Spatial databases with QGIS and PostGIS – This course is intended to provide an introduction in using spatial databases (based on PostGIS) for storing and analyzing geospatial data through SQL commands Over 10 hours of content. Available NOW!!! *** HIGHEST RATED ***
Python programming courses for geospatial
- Survey of python for GIS applications – This course will provide a review of the python language and the python ecosystem for data analysis and geospatial applications. This course teaches PYTHON, not a particular library such as ArcPy or PyQGIS, but I think you will be impressed with what you can do with pure python not tied to a particular desktop GIS software and if you do decide you really want to work with ArcPy or PyQGIS you will have a strong basis for learning those libraries. Available Now
Subscribe to my YouTube channel and/or join the Open Source Web GIS group on linked in to stay updated with the latest info.
Mobile GIS and Mapping Applications with Leaflet
This course is available now on Udemy.com. It will show you how to create a mobile specific mapping application using Leaflet.js including
- Formatting your web application for mobile device screens
- Understanding touch screens and adapting your web app for them
- Making your web app look and feel like a native application
- Detecting if the user is using a mobile device
- Detecting if the user is online or not
- Getting the most out of geolocation
- Adding simple charts to your application
- Using web storage to save the state of your application
- Using web storage to store local versions of vector data
- Using the Application Cache API to load a local version of your application for off-line use
- Creating custom base maps with QGIS and QTiles
- Adding custom base maps to the application cache for offline use
Over the past several years my work has been focusing more and more on web GIS applications and I have chosen to use open source technologies rather than commercial applications for several reasons. Continue reading “Five reasons QGIS should be the backbone of your open source web GIS project”
I’ve just added a bonus lecture to my course on client side programming with Leaflet. I had a student ask about creating legends for Leaflet maps and I agreed that this was an important missing piece that I had neglected in the main part of the course. I want this course to be comprehensive and so my intention is to continue adding and updating content as needed to provide the best value for my students. Continue reading “Adding Legends to your Leaflet Web Map”
In this video I demonstrate how to use Turf.js to return the intersection of lines and polygons. There is not a straightforward way to perform this analysis in Turf.js but Turf.js is better thought of as a toolbox than a packaged solution. And turf.js does provide a number of tools that can be used in conjunction to perform this analysis. Continue reading “Spatial analysis in Leaflet with Turf.js (Part 3 – Line intersection)”
In this video I demonstrate how to use Turf.js to summarize the characteristics of the points inside a polygon using the turf collect method and discuss a couple other relevant methods in turf for dealing with point in polygon type analyses. Continue reading “Spatial Analysis in Leaflet using Turf.js (Part 2)”
The motivation for this software came several years ago when I responded to a request on the Society for Conservation GIS list serve. The issue was the difficulty in summarizing the diversity of a set of species locations as point data over a set of study area polygons. Continue reading “Diversity Calculator”
Display and analyze GIS data on the web with Leaflet.js. For FREE!!!!
This course is available now on Udemy.com. It will show you how to add a web map to a web page using Leaflet.js including
- Geolocation methods
- Native and plugin map controls
- Base maps
- Adding raster data
- Vector layers
- Group layers
- Native leaflet styling options
- Plugin styling options
- Loading GeoJSON files
- Nearest feature
- Geoprocessing with Turf.js
This includes very useful basemaps, showing streets, topography, cities, borders, aerial imagery, etc. that you can overlay your data on.
There are also a number of fun and artistic basemaps available, such as the heavy metal themed Spinal Map, artistic water color maps, old-timey pioneer themed maps, and others.
You can see a live version of about 20 of these basemaps at https://millermountain.com/basemap/.